* Praveen C <[EMAIL PROTECTED]> [2005-05-20]: > I have used speedfreq but I did not notice any difference on the cpu > temperature.
How do you check the temperature? If the cpu is really idle, maybe the harddisk is used heavily, I think it can generate quite some heat as well. Or, hmm, maybe it is a newly appeared bug in the kernel, which one are you using, mine is a 2.6.12-rc2. I do not remember if some special kernel features have to be compiled in to make cpu frequency control work... but I do not think so. Probably try to compile with aronchis .conf from http://www.aronchi.org/LinuxOnIBookG4 or use it as a basis for your .conf with make oldconfig, since it is pretty old and a lot of new kernel options have appeared. > I did not know that pbbuttonsd could control cpu frequency. I cannot > find anything in the man pages. You can use pbbuttonsd to trigger changes to the cpu frequency when the power cord is attached or removed using anAC_policy and onBattery_policy in /etc/pbbuttonsd.conf. They are documented in man pbbuttonsd.conf. You will, however, still have to tell pbbuttonsd what you mean with 'powersave' or 'performance'. You can define your policies using the power management scripts in /etc/power. Check out the README in this directory, IIRC it helped me a lot. To shorten things here is an excerpt from my /etc/power/pmcs-pbbuttonsd #------------------------------------------------------------ case "$1" in emergency) shutdown -h now "Low battery - system will go down now!" ;; powersave) speedfreq -p dynamic ;; performance) speedfreq -p performance ;; *) cd `dirname $0` [ -d ${1}.d ] && run-parts --arg="$1" --arg="$2" --arg="$3" ${1}.d run-parts --arg="$1" --arg="$2" --arg="$3" event.d ;; esac #------------------------------------------------------------ I do not remeber whether I told pbbuttonsd to use this script or whether this is the default and will work for you, too. Just try it, disconnect your laptop from the powersupply and check whether the cpu policy has changed using speedfreq -cs. So long. -- [email protected] mailing list
