Re: cpufreqd: different config file for kernel 2.4 and 2.6
Op vr 24-10-2003, om 13:11 schreef Mattia Dongili:
> I'm packaging the new upstream version of cpufreqd (1.1-rc1) and I have
> a problem with the default configuration file to provide.
> The story:
> in kernel 2.4 CpuFreq interface (/proc/cpufreq) you can input
> frequencies as percent or Hz values
> in kernel 2.6 (/sys/devices/system/cpu/cpu*/cpufreq/*) you can only use
> Hz values.
> 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.
If you provide it statically, yes. Check out /proc/cpuinfo; especially
look for a line such as this one:
cpu MHz : 2194.424
(you may want to round some numbers, but you get the idea)
Debian GNU/Linux -- http://www.debian.org
Nederlandstalige Linux-documentatie -- http://nl.linux.org
If you're running Microsoft Windows, either scan your computer on
viruses, or stop wasting my bandwith and remove me from your