[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cpufreqd: different config file for kernel 2.4 and 2.6

On Fri, Oct 24, 2003 at 01:30:34PM +0200, Michael Ablassmeier wrote:
> On Fri, Oct 24, 2003 at 01:11:34PM +0200, Mattia Dongili wrote:
> > Now, if I provide percent based cpufreqd.conf it won't be 2.6
> > compatible, but provinding a Hz based config file is meaningless for
> > most systems.
> Hm, is it possible to provide one cpufreqd.conf-2.4 for 2.4.x Kernels
> and one cpufreqd-conf-2.6, which supports 2.6 Kernel Versions?

yes, the problem is still to cover the variety of supported processor
speeds (this problem was missing in my first post). 
Eg.: Speedstep has only 2 frequencies, Enhenced
Speedstep/Powernow/Centrino/etc. support more than 2.
So providing a default configuration is most of the times meaningless by

Perhaps I could provide a very simple 2 state configuration (a full speed
state and a low speed state - using /proc/cpuinfo as suggested by
Wouter) and suggest through debconf a reconfiguration based on user

> Based on the selection, the right configuration file is copied to /etc/
> and the other Configurations are copied to /usr/share/doc/cpufreqd/
> examples/cpufreqd.conf-2.6-example and so on ..

of course I would include various examples to ease the reconfiguration

> I hope i got it ;-)

catched! :)


Reply to: