<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Thank you very much Satish.<BR>
This worked like a charm. I have a P4 mobile.<BR>
<BR>
Just a question, do you know why checking out the CPU in ACPI still shows it at full speed?<BR>
<BR>
<FONT COLOR="#0000ff"><TT>[root@insomnia root]# cat /proc/acpi/processor/CPU0/performance<BR>
state count: 6<BR>
active state: P0<BR>
states:</FONT><BR>
<FONT COLOR="#ff0000"> *P0: 2400 MHz, 20000 mW, 250 uS</FONT><BR>
<FONT COLOR="#0000ff"> P1: 2400 MHz, 20000 mW, 250 uS<BR>
P2: 2400 MHz, 20000 mW, 250 uS<BR>
P3: 2400 MHz, 20000 mW, 250 uS<BR>
P4: 2400 MHz, 20000 mW, 250 uS<BR>
P5: 1200 MHz, 15000 mW, 250 uS</TT></FONT><BR>
<BR>
When I check CPUFREQ it appears to be working:<BR>
<BR>
<FONT COLOR="#0000ff"><TT>[root@insomnia root]# cat /proc/cpufreq<BR>
minimum CPU frequency - maximum CPU frequency - policy<BR>
CPU 0 </FONT><FONT COLOR="#339966">1200000 kHz ( 50 %) - 2400000 kHz (100 %)</FONT><FONT COLOR="#0000ff"> - performance<BR>
[root@insomnia root]# echo -n "0:0:0:powersave" > /proc/cpufreq<BR>
[root@insomnia root]# cat /proc/cpufreq<BR>
minimum CPU frequency - maximum CPU frequency - policy<BR>
CPU 0 </FONT><FONT COLOR="#339966">1200000 kHz ( 50 %) - 1200000 kHz ( 50 %)</FONT><FONT COLOR="#0000ff"> - powersave</TT></FONT><BR>
<BR>
<BR>
Is my ACPI just not working properly? I guess I'm just looking for a sure way to make sure my CPU is running at 50% now.<BR>
<BR>
<BR>
I'll have to check out cpudyn now.<BR>
<BR>
<B>thanks again for your help!</B><BR>
<BR>
~ Troy Campano ~<BR>
<BR>
<BR>
On Mon, 2004-01-26 at 15:25, Satish Balay wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>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@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.</FONT>
<A HREF="http://apt.sw.be/redhat/fc1/en/i386/dag/RPMS/cpudyn-0.4.7-0.rhfc1.dag.i386.rpm"><U>http://apt.sw.be/redhat/fc1/en/i386/dag/RPMS/cpudyn-0.4.7-0.rhfc1.dag.i386.rpm</U></A>
<FONT COLOR="#737373">
Satish
</I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>