anyone get cpufreq working

Satish Balay balay at fastmail.fm
Mon Jan 26 20:25:16 UTC 2004


On Sun, 25 Jan 2004, Troy Campano wrote:

> Anyone get CPUFREQ working to change the speed of your CPU?
> 
> When I cat the CPUFREQ file it doesn't really change anything.
> 
> echo -n "0:0:0:powersave" > /proc/cpufreq
> 
> And I get:
> 
> 
> [root at insomnia root]# cat /proc/cpufreq
>           minimum CPU frequency  -  maximum CPU frequency  -  policy
> 
> 
> Do I need to do something else?

Depending upon the mobile chip you have - you will need to load the
correct speedstep kernel module.

Pentium-M         : speedstep-centrino
Pentium-4 Mobile  : speedstep-ich
Pentium-III Mobile: speedstep-lib

I have a Pentium-M and add the following line to  /etc/rc.local 
>>
modprobe speedstep-centrino
>>

Now the following works:
>>>>
[asterix]: lsmod |grep speedstep
speedstep-centrino      3624   0  (unused)
[asterix]: cat /proc/cpufreq 
          minimum CPU frequency  -  maximum CPU frequency  -  policy
CPU  0       600000 kHz ( 37 %)  -    1600000 kHz (100 %)  -  performance
[asterix]: echo -n "0:0:0:powersave" > /proc/cpufreq
[asterix]: cat /proc/cpufreq 
          minimum CPU frequency  -  maximum CPU frequency  -  policy
CPU  0       600000 kHz ( 37 %)  -     600000 kHz ( 37 %)  -  powersave
>>>>>

However I use cpudyn to manage this automatically.
http://apt.sw.be/redhat/fc1/en/i386/dag/RPMS/cpudyn-0.4.7-0.rhfc1.dag.i386.rpm

Satish





More information about the fedora-list mailing list