How to change the cpufreq as User with Gnome Cpu-Frequency-Scaling-Monitor Applet
I like to change my CPU Frequency with the 'CPU Frequency Scaling Monitor' Applet in Gnome. I dont like to do su -c cpufreq-set -g powersave all the time. To do this as User we have to change and to add a little bit.
Applicable to Fedora Versions
- Fedora 8+
Requirements
- AMD Mobile CPU (here it is working with Athlon XP-M 2500)
- The 'CPU Frequency Scaling Monitor' Applet loaded in the Gnome-panel (Right klick -> add to panel)
Doing the Work
You will install Software, check your CPU and do the necessary changes to your System. Open a Terminal and become root (su -)
- Install the package acpitool:
- Check if your CPU will support CPU-Frequency-Scaling:
- Make the cpufreq-selector useable for Users to change the Frequency governor:
- Check what governors are already loaded:
- To get you the same governors on the fly:
- To make the governors loaded at boot add the following to /etc/rc.local :
yum install acpitool
acpitool --cpu
The output should show something like this:
[root@dementia ~]# acpitool --cpu
CPU type : mobile AMD Athlon(tm) XP-M 2500+
Min/Max frequency : 663/1857 MHz
Current frequency : 796 MHz
Frequency governor : ondemand
Freq. scaling driver : powernow-k7
Cache size : 512 KB
Bogomips : 1593.05
Processor ID : 0
Bus mastering control : yes
Power management : yes
Throttling control : no
Limit interface : no
Active C-state : C0
C-states (incl. C0) : 3
Usage of state C1 : 13320324 (15.9 %)
Usage of state C2 : 70321617 (84.1 %)
chmod a+s /usr/bin/cpufreq-selector
lsmod | grep freq
The output here is:
cpufreq_ondemand 10317 1
cpufreq_powersave 5825 0
modprobe cpufreq_ondemandThey will show up immediately on the CPU Frequency Scaling Monitor Applet
modprobe cpufreq_powersave
modprobe cpufreq_powersave
modprobe cpufreq_ondemand
su -c 'cpufreq-set -g powersave' in Terminal.
Troubleshooting
How to test

Disclaimer
We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on irc.freenode.net

