## see which module it is you need (so choose accordingly in some steps further below)
lsmod | grep speedstep_centrino
lsmod | grep acpi_cpufreq
Wenn speedstep, dann /etc/modules editieren und reboot
(da speedstep-centrino nicht mehr unterstützt wird mit dem Kernel 2.6.24):
Code:
## my modules for undervolting
acpi_cpufreq
msr
thinkpad_acpi hotkey=enable,0xffffffff experimental=1 fan_control=1
--------------------------
Code:
## install essential compiler tools, svn source control tool
sudo apt-get install build-essential subversion
## check out latest phc development code; I found this necessary to get it working
## properly on my machine
mkdir ~/build
cd ~/build
## check out latest phc code
svn co [url]http://phcpatches.googlecode.com/svn/trunk/[/url] phcpatches
###***
## note: if you already checked out the code and want to see if there are any
##updates to check out, instead of "svn co blah/blah/blah" just:
cd ~/build/phcpatches
## and then:
svn update
###***
## change to root, enter kernel source directory and extract linux source code
sudo bash
cd /usr/src
apt-get source linux-image-$(uname -r)
#(may vary based on kernel version installed)
cd linux-2.6.24
## copy the module patch from your regular user home directory i.e. /home/YOU
#(may vary based on phc version and kernel version installed)
## for acpi-cpufreq
cp /home/YOU/build/phcpatches/acpi-cpufreq/patches/linux-phc-kernel-vanilla-2.6.24-rc1.patch .
#(again, may vary based on phc version and kernel version installed)
## for acpi-cpufreq
patch -p1 < linux-phc-kernel-vanilla-2.6.24-rc1.patch
## build a new kernel module using current kernel settings
## you will see some questions when the old .config is parsed. according to the phc wiki:
### There will be some questions (all SHOULD have something to do with frequency/voltage),
## answer them with YES. ###
cp /boot/config-$(uname -r) .config
make oldconfig
make prepare
make scripts
make M=./arch/x86/kernel/cpu/cpufreq
## backup the existing kernel module and copy the new one over it
## for acpi-cpufreq
cp /lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko ~/
cp arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko /lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq
### !!!OR FOR 64bit systems!!! ###
cp /lib/modules/$(uname -r)/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko ~/
cp arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko /lib/modules/$(uname -r)/kernel/arch/x86_64/kernel/cpufreq/
## (I know this LOOKS WEIRD AND DODGY, but if you check the Makefile for arch/x86_64/kernel/cpufreq
you will see that it simply references the code from arch/i386. all I can say is that it works for me on 64bit kubuntu 7.10...)
exit
reboot
Install PHCTool:
Download newest version at [url]https://www.dedigentoo.org/trac/linux-phc[/url]
and extract to /home/YOU/bin/PHCTool-0.5.2
open terminal and go to the PHCTool-0.5.2 folder:
chmod 755 *.sh
sudo ./install.sh
(answer all questions with YES)
add group "phcusers" to "YOU".
install Tray Icon:
sudo aptitude install python-gnome2-extras
To add the PHCTool tray icon to Gnome autostart function open your session settings.
the Gnome Session
Click "add" to add a new program. As Name you can enter what ever you want (i.e PHCTool-0.5.2).
The command line is the complete patch to PHCTool and the file
name "pgctray.sh"(i.e. /home/YOU/bin/PHCTool-0.5.2/phctray.sh ).
The comment is optional.
Werte eingeben
PHCTool über trayicon öffnen und folgende Werte eingeben:
34 30 21 14 6 3 (sind meine Werte für T40p)
bei Settings "restore VIDs on load" Häkchen machen