~ubuntu-branches/ubuntu/lucid/powernowd/lucid

« back to all changes in this revision

Viewing changes to debian/README.Debian

  • Committer: Bazaar Package Importer
  • Author(s): Bdale Garbee
  • Date: 2004-11-29 02:18:06 UTC
  • Revision ID: james.westby@ubuntu.com-20041129021806-dja38tawf5qx5sso
Tags: 0.90-3
* fix a typo in the man page, closes: #270390
* conflict with cpudyn and cpufreqd, closes: #281067
* update README.Debian to reflect current kernel info, closes: #281066

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Some notes on preparing a system for use with powernowd.
 
2
 
 
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").
 
8
 
 
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:
 
12
 
 
13
        CONFIG_CPU_FREQ
 
14
        CONFIG_CPU_FREQ_GOV_USERSPACE
 
15
 
 
16
You also need one of the processor drivers enabled, for my Pentium M notebook
 
17
the right config option is:
 
18
 
 
19
        CONFIG_X86_SPEEDSTEP_CENTRINO
 
20
 
 
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
 
24
kernel.
 
25
 
 
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 
 
29
something like this:
 
30
 
 
31
        sysfs /sys sysfs defaults 0 0
 
32
 
 
33
The entry that must be visible before powernowd can function is:
 
34
 
 
35
        /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
 
36
 
 
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...  
 
39
 
 
40
Hopefully, that's enough information to get you going!
 
41
 
 
42
Bdale Garbee, <bdale@gag.com>, Mon, 29 Nov 2004 02:12:16 -0700
 
43