how to control cpu freq
Hi!
I wanted to be able to change the cpu frequency and found out, that I have no idea how. :-) Under Suse I just had to enter "powersave" with some options, and it did all I wanted (at least under suse 9.2). Now I wanted to set the same thing up under debian, but don't get it to work correctly. I already installed acpid and cpudynd, but whenever I try to start acpid, it tells me: Code:
acpid: can't open /proc/acpi/event: Device or resource busy Code:
cpudynd version 1.0 Copyright: Ricardo Galli <gallir@uib.es> Code:
powernowd: PowerNow Daemon v0.90, (c) 2003-2004 John Clemens My system is as follows: Notebook: FSC Amilo M 7400 Debian sarge Kernel 2.6.8-2 I hope that is all information that is needed to solve that problem, if not, just ask. Thanks, ruh31 |
Quote:
What kind of processor do you have anyway? |
I think that I have not loaded those modules. I get
Code:
$ lsmod I am using a pentium M 1.7GHz processor (centrino). Hope you can help me! |
Ok, well you have the cpufreq governor loaded there, it looks like you just need the modules for your cpu. I have done a little reading in /usr/src/linux/Documentation/cpu-freq and your processor is supported.
I don't have a centrino, so this is only best guess but it would seem you need to run: "modprobe speedstep-centrino" If this works then cd to /sys/devices/system/cpu/cpu0/cpufreq/ You should see files like: cpuinfo_min_freq cpuinfo_max_freq etc... |
Well, I tried what you said, but I get the following error message:
Code:
# modprobespeedstep-centrino |
I use cpu frequency scaling on my laptop (K6-3 processor).
You can lower cpu clock rate with both "CPU frequency scaling" and from ACPI with "CPU Throttling". I use CPU Frequency scaling. I suggest trying to use APM instead of ACPI... disable/remove the "acpid" and install "apmd". You might have to change BIOS settings also. Anyways, to use "CPU frequency scaling" you need to have "cpufreq-userspace"-module loaded, and also a module specific for your processor: Intel * speedstep-centrino * speedstep-ich (P4 Mobile) * speedstep-smi AMD * powernow-k6 * powernow-k7 * powernow-k8 You can check "cat /proc/cpuinfo" to see which processor you have, and if it supports scaling. You can also see from it if the scaling works (it shows _current_ frequency). You can add appropriate modules to /etc/modules so that the load automatically. You also need the "powernowd"-daemon (which you already had installed). It should work without problems. |
I Google is correct, you should have a Pentium M processor - same as me (I have an IBM R40). What I did to get the frequency scaling to work in Debian was to:
With APM it wouldn't work unless the options above were compiled into the kernel. With APCI it seemed to work even when they were modules. /TLV |
All times are GMT -5. The time now is 07:08 AM. |