1
Some notes on preparing a system for use with powernowd.
3
The requirements for powernowd are really minimal. If you use a prebuilt 2.6
4
kernel package, all the required kernel modules are included. You just need
5
to ensure they are loaded (cpufreq_userspace, and on my system also
6
speedstep_centrino). One way to do this is to add them to /etc/modules, which
7
will cause them to load at boot time (see "man 5 modules").
9
If you want to build your own kernel, make sure you include the userspace
10
CPU frequency scaling governor in your config. Any released 2.6 kernel
11
version should work, with the at least the following config options enabled:
14
CONFIG_CPU_FREQ_GOV_USERSPACE
16
You also need one of the processor drivers enabled, for my Pentium M notebook
17
the right config option is:
19
CONFIG_X86_SPEEDSTEP_CENTRINO
21
I have all of these "=y" in my config file so that they are built directly
22
into the kernel. If you decide to build them as modules, it's up to you to
23
make sure they get loaded just as would be necessary with a Debian pre-built
26
You also need to have the sysfs file system mounted, so that the daemon can
27
find the interface to the frequency scaling support in the kernel. If that
28
isn't already done, mkdir /sys and add an entry to /etc/fstab that looks
31
sysfs /sys sysfs defaults 0 0
33
The entry that must be visible before powernowd can function is:
35
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
37
If that file isn't present, then the /etc/init.d/powernowd script will point
38
you to this file instead of trying to launch the daemon...
40
Hopefully, that's enough information to get you going!
42
Bdale Garbee, <bdale@gag.com>, Mon, 29 Nov 2004 02:12:16 -0700