Originally Posted by nephilim
i'm running slackware and need a program to change my clock speeds. Anyone have any suggestions? What does Ubuntu use ( I can install from source...) since they seem to be the king of linux notebooks...
Are you talking about the Intel Speedstep??
If so, this is what i have done, from LinuxQuestions.org:Intel Speedstep
As for the cpufreq settings they obviously differ according to what kind of hardware you have, but you need to compile in[*] CPU frequency scaling at the very least, and I also recommend getting CPU Frequency translation statistics.
As for the governors, I have added powersave, userspace and ondemand. The last one, "ondemand", is the one I use, and with great success I might add.
In order for this to work you also need to include the correct CPUfreq processor driver. I've got a Centrino laptop, and thus I compiled in Intel Enhanced Speedstep.
As for the second part of your question, you need to decide if you want to decide the CPU frequency in userspace or in kernelspace. I (without remembering exactly why) started off with doing it in kernelspace, and since it works well, I've stuck with it. Thus I use the "ondemand" governor as I compiled in above. For future freedom of choice I left the other (userspace and powersave) in.
In order to change scaling governor and other ACPI-related settings (CPU speed etc), go to /sys/devices/system/cpu/cpu0/cpufreq directory and echo -n "ondemand" > scaling_governor.
In my rc.local I have added this to do it automatically when my system boots:
if [ -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ]; then
echo -n "Setting Scaling Governor : "
echo -n ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Alternatively you can do it in userspace, and find a power daemon called powernowd (google is your friend). It's also a great product, but like I said, I came to like the kernel taking care of it and since it works I stick with it.
This controls my CPU frequency and in turn controls the fan, so my system is nice and cool and gets the job done. Hope this helps, even though it might be slightly on the side of your initial problem.
Make sure you have your kernel compiled correctly...........