You are not logged in.
I'm trying to get speedstep to work 100% before login, and there's only one problem left.
When I try to enable the ondemand governor in rc.local(
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor),
it only loads for cpu1 (core1).
If i run the same command after logging in it works just fine.
Anyone know why this doesn't work via rc.local? I really don't get it.
It's an Intel T7200 (merom) CPU.
Offline
Still a mystery?
Offline
Is your cpu driver module loaded? (i've got a core 2 duo, and i use acpi-cpufreq)
Install cpufrequtils and then run
cpufreq-set -g ondemand
instead of echoing it to the kernel.
btw, "cpufreq-info" to view the results.
Last edited by pelle.k (2007-02-14 16:51:55)
"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."
SETH / Jane Roberts
Offline
It will still only work for one core.
Probably unsupported processor or something then..?
Tried adding:
cpufreq-set -g ondemand -c 0
cpufreq-set -g ondemand -c 1
to rc.local, same error as when I tried echoing the kernel. Core 0 uses the 'powersave' governor.
Strange thing is it works fine if i type the commands after logging in.
Last edited by Goophy (2007-02-14 21:45:14)
Offline
So it might be too early to do this in rc.local? strange...
Maybe you should try cpufreqd instead?
"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."
SETH / Jane Roberts
Offline
Same with cpufreqd too. rc.local runs last, after all the modules, daemons and others are loaded, right?
Last edited by Goophy (2007-02-14 22:20:31)
Offline
try to load it a little bit later by using "sleep". but so you have to load it in the background.
sorry for my bad english
Offline
(sleep 30s;cpufreq-set -g ondemand -c 0;cpufreq-set -g ondemand -c 1)&
Are you sure gnome-powersave or klaptopdaemon isn't messing with your "manual" setup?
Last edited by pelle.k (2007-02-15 18:04:16)
"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."
SETH / Jane Roberts
Offline
That worked!
Thank you both!
Offline