← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #77857]: CPU freq

 

Question #77857 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/77857

    Status: Open => Answered

Alexander Atanasov proposed the following answer:
Hi,

this file is from kernel configuration, if you want to compile a custom kernel
with the default powersave governor you should read a howto.
But you do not need to compile a kernel. Here is how:

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
conservative ondemand userspace powersave performance
to check if you have powersave governor

then sudo edit  /etc/rc.local and add:
for i in  /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
do
echo powersave > $i
done
save and do not forget to sudo chmod +x /etc/rc.local

Also there is a /etc/init.d/ondemand script which comes from powernowd
package, you may want to disable it.

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.