LinuxVillage
Questions En => Help requests => Discussion démarrée par: patrick013 le 09 février 2013 à 21:48:20
-
Hi,
Need to add cpufreq-set to a start-up script.
Thought rc.local would work, it didn't.
Thought etc/xdg/openbox/autostart would work, it didn't.
etc/init.d/cpufrequtils doesn't work on any distro I've tried.
Usuaslly rc.local works fine, but.........
Where can I add this cpufreq-set command ?
THX
patrick
-
Instead of "cpufreq-set", would you look if you have a "/etc/sysconfig/cpufreq" file ? If so, is this (http://www.pclinuxos.com/forum/index.php/topic,93564.0.html) likely to help you ?
Also translated to French here (http://wiki.pclinuxos-fr.org/doku.php?id=astuces#configurer_cpufreq). :)
-
Instead of "cpufreq-set", would you look if you have a "/etc/sysconfig/cpufreq" file ? If so, is this (http://www.pclinuxos.com/forum/index.php/topic,93564.0.html) likely to help you ?
Also translated to French here (http://wiki.pclinuxos-fr.org/doku.php?id=astuces#configurer_cpufreq). :)
Hi Mel,
The etc/sysconfig/cpufreq doesn't work on my machine and several others.
Putting "cpufreq-set -r -g performance" into etc/rc.local has been the only
way it works. And that upon other advise. The cpufreq program just has
some bugs, you know.
thanks for the response.
patrick
-
Hi,
In some distros, ie : Archlinux and certainly several others cpufreq is purely obsoleted, which leads to this: soon it will be outdated for all distributions. However I have not studied well what is dedicated to replace it.
Maybe would you want to throw a glance at "cpupower" ?
https://launchpad.net/~kamalmostafa/+archive/cpupower
-
In some distros, ie : Archlinux and certainly several others cpufreq is purely obsoleted
Well don't obsolete it yet, no need to run at 800mhz.
There is a line at the end of etc/rc.local reading
"exit 0" Well if I comment that out the cpufreq-set
command runs thru at a reboot. Now both cores are
working full power, performance governor, at 1.6 Ghz.
Fussy rc.local today.
thanks for the response.
Patrick