Debian, cpufreq and Pentium

Here it is how I got (sometimes ago, more or less July 2005) the cpufreq up and running on my Debian Sarge box.

Recompile the kernel with the following options:

$ grep -i sysfs /boot/config-`uname -r` | grep -v #
CONFIG_SYSFS=y

$ grep -i cpu_freq /boot/config-`uname -r` | grep -v #
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_TABLE=y

Install powernowd

#aptitude install powernowd

configure powernowd daemon creating the /etc/default/powernowd file containing

$cat /etc/default/powernowd
OPTIONS="-q -m2"

verify that the process is up and running correctly (after a restart)

$ ps aux | grep powernowd
root 2497 0.0 0.0 1504 496 ? SNs 14:35 0:00 /usr/sbin/powernowd -q -m2

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s