Installing PHC 0.3.2 and ThinkPad Fan Control (tpfand) 0.9.5 on Debian Squeeze for my intel-based R52 Thinkpad

Flattr this
Tweet this: Installing PHC 0.3.2 and ThinkPad Fan Control (tpfand) 0.9.5 on Debian Squeeze for my intel-based R52 Thinkpad
Dent this: Installing PHC 0.3.2 and ThinkPad Fan Control (tpfand) 0.9.5 on Debian Squeeze for my intel-based R52 Thinkpad
Datum: 28.12.2009 12:59:21

Since I switched from Ubuntu 9.04 to Debian 6.0 Squeeze (testing) a week ago I missed the phc-module for undervolting my intel cpu and tpfand to control the fan-speed based on temperatures of sensors on my thinkpad (R52 - 1846-64G)

On Ubuntu 9.04 I used a ppa-repository from launchpad like it was described here.

Since there was no repository for Debian Squeeze I just build the module with the help of phcs build-script (should support kernel 2.6.27, 2.6.28, 2.6.29, 2.6.30, 2.6.31 and 2.6.32, my squeeze runs 2.6.30-2-686)

Don't forget, changing cpu's core-voltage or changing the fans speed and temperature-control will void your hardware's waranty and can destroy your hardware, so don't do it if you don't know what you are doing!

Download phc 0.3.2-9 for intel from the phc forum

Extract it, open a shell, switch user to root (su / sudo) change to the directory and run:

make prepare
make
make install

if everything went well, unload the old acpi-cpufreq and load the new phc-intel:

modprobe -r acpi_cpufreq
modprobe phc-intel

The changes to /etc/modprobe.d/ are automatically in phc-intel.conf.

If you don't have a config yet and want a gui you can try PHCTool 0.5.2-2, which allows setting values and reading them too (needs kernel module msr to be loaded)

PHCTool 5.2-2

My current config (.phcstore.phc) for my pentium 4 mobile 1.73 ghz is:

R=VT
0: V=23 18 8 1 T=0

But it is important to test what your cpu is capable of running stable at.


For tpfand i used the tpfand - 0.95-ubuntu1 deb for ubuntu jaunty and the tpfand-admin 0.95 from the tpfand-page which can be build easily (ubuntu-debs of the admin didn't work because of the missing dependency python-gnome2-desktop >= 2.22):
But package python-gnome2-desktop-dev needs to be installed on debian
Download tpfan-admin.0.95.tar.gz
Extract it, open a shell, switch user to root (su / sudo) change to the directory and run:

make install

then you can start it with

tpfan-admin

Since my config is still on the backup-drive i created one fast setting fan off below 50°C to 15 % if any sensor is above 50°C and wents back to hardware-control if hotter than 60°C:

enabled = True
override_profile = True

0. Sensor 0 = 0:0 50:2 60:255
1. Sensor 1 = 0:0 50:2 60:255
2. Sensor 2 = 0:0 50:2 60:255
3. Sensor 3 = 0:0 50:2 60:255
4. Sensor 4 = 0:0 50:2 60:255
5. Sensor 5 = 0:255
6. Sensor 6 = 0:0 50:2 60:255
7. Sensor 7 = 0:255
8. Sensor 8 = 0:0 50:2 60:255
9. Sensor 9 = 0:0 50:2 60:255
10. Sensor 10 = 0:0 50:2 60:255
11. Sensor 11 = 0:255
12. Sensor 12 = 0:255
13. Sensor 13 = 0:255
14. Sensor 14 = 0:255
15. Sensor 15 = 0:255

hysteresis = 2
interval_speed = 2
interval_duration = 500.000000
interval_delay = 5000.000000

My thinkpad is now running 10+ degrees cooler, fan has less to work and the battery lasts about an hour longer again. Now I am happy again :)


Trackbacks (0)

Trackbackurl: http://www.robo47.net/trackback/blogentry/189

Es sind keine Trackbacks vorhanden.


Kommentare (0)

Es sind noch keine Kommentare vorhanden.

Die Kommentare zu diesem Beitrag sind gesperrt.

You liked it ? Link it on your homepage or blog: