IBM ACPI fan control GUI V 01

Core libraries and systems
Post Reply
Message
Author
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

IBM ACPI fan control GUI V 01

#1 Post by trio »

Inspired by this thread

Background:

I have:
old IBM Thinkpad 570E (PIII 500 Mhz, 256 RAM)
Running puppy 4.x series with acpi=force boot parameter

Its fan will go ON when reaches 70 C, and above 80 C is critical and suddenly it will shutdown, it seems the fan can't catch up with the heat. This happens when using internet for long and big download or playing online (whatever force the cpu to run hard)

Then I found the above thread, and I made up a simple GUI for it, and would like to share it with you.

Install:
Just click the pet package. Don't forget to refresh menus (4.2x) or fixmenus from terminal and restart window manager (4.1x). It comes with a menu entry

How to use:
The GUI will pop up along with a message that tells the status os your ibm acpi fan. Read it, find the line which tells available fan speed level options. In my case only 0 - 7 (0 = off), some models may have disengaged and auto level

Select the speed level from drop down menu and press apply

Once you applied, then everytime your computer start up, it will activate ibm_acpi and activate the fan accordingly (see /root/Startup/ibm_acpi_fan)


That's it, now my computer stays cool on demand. No warranty. Try & you may give feed back.

Regards,

Trio
Attachments
ibmfan.jpg
(10.67 KiB) Downloaded 3477 times
ibm_fan_control-01.pet
(1.36 KiB) Downloaded 1722 times

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#2 Post by trio »

I quote from this site
* ThinkPad A31, A31p (fan levels RPM: 0 = off, 1-2 = ~3280-3380 (!), 3-5 = ~3200, 6-7 = ~3380, "disengaged" = ~4000 (see NOTE above))
* ThinkPad R50 (highest manual level is 3; disengage mode works and reaches much higher RPM)
* ThinkPad R50p (fan levels RPM: 0 = off, 1-2 = ~3200, 3-5 = ~3500-3600, 6-7 = ~3700-3800, disengaged = ~5300)
* ThinkPad R51 (fan levels RPM: 0 = off, 1-2 = ~3150, 3-5 = ~3350, 6 = ~3750, disengaged = ~5100)
* ThinkPad R51e (fan levels RPM: 0 = off, 1-2 = ~3300, 3-5 = ~3800, 6 = ~4150, disengaged = ~5100)
* ThinkPad R52 (fan levels RPM: 0 = off, 1-2 = ~3350, 3-5 = ~3650, 6 = ~4250, disengaged = ~5245)
* ThinkPad R60 (fan levels RPM: 0 = off, 1-1 = ~2650, 3-5 = ~3300, 6-7 = ~3950, disengaged = ~4800)
* ThinkPad R60e
* ThinkPad T22
* ThinkPad T23 (low speed = ~2200, medium and maximum speed = ~4800; disengaged mode works at ~5800)
* ThinkPad T30
* ThinkPad T40 (fan levels RPM: 1-2 = ~2950, 3-5 = ~3600, 6-7 = ~4050; disengaged = ~5400)
* ThinkPad T41, T41p (fan levels RPM: 1-2 = ~2980, 3-5 = ~3500, 6-7 = ~4050; disengaged mode works at ~5100)
* ThinkPad T42, T42p (fan levels RPM: 1-2 = ~2900, 3-5 = ~3700, 6-7 = ~4700; disengaged mode works at ~5200)
* ThinkPad T43, T43p (fan levels RPM: 1-2 = ~3300, 3-5 = ~4100, 6-7 = ~4700; disengaged mode works at ~6450)
* ThinkPad T60 (fan levels RPM: 1-2 = 3000-3100, 3-5 = ~3600, 6-7 = ~4500; disengaged mode works at ~5500)
* ThinkPad W500 (fan levels RPM: 0=off, 1-2 = 1900, 3-5 = ~3000, 6-7 = ~3500; disengaged mode works at ~5100)
* ThinkPad T61 (fan levels RPM: 0 = off, 1-2 = ~2980, 3-5 = ~3330, 6-7 = ~3760; disengaged mode works at ~4500)
* ThinkPad X30 (level 0 = off, low = ~3900, medium = ~4200, maximum = ~4650, disengaged = ~5900)
* ThinkPad X31 (fan levels RPM: 0 = off, 1-2 = ~2850, 3-5 = ~3450, 6 = ~4050, 7 = ~4150; disengaged mode works at ~4975)
* ThinkPad X40
* ThinkPad X41
* ThinkPad X41 Tablet
* ThinkPad X60 (fan levels RPM: 7 = ~3700, disengaged ~4700)
* ThinkPad X61 (fan levels RPM: 1-2 = ~3400, 3-5 = ~3800, 6-7 = ~4500, disengaged = ~6700)
* ThinkPad X61s (fan levels RPM: 0 = off, 1-2 = ~3800, 3-5 = ~4500, 6-7 = ~4800, disengaged = ~4800) (though fancontrol can keep it at 2500rpm...)
* ThinkPad Z60t, Z60m (fan levels RPM: 1-2 = ~1700, 3-5 = ~2800, 6-7 = ~3500)
* ThinkPad Z61m
* Thinkpad Z61p (fan levels 0-7, auto, disengaged; enable, disable; watchdog (untested))

Probably other models are supported too (please update this page if you confirm this; maintain some ordering too).

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#3 Post by trio »

Note: The usual acpi makes the fan to go on at 70 C point, so to test I apply this fan to go on at 45 C, then force the cpu to work hard until 70C, then let cpu cool down. Suprisingly, the regular acpi still controls the fan, it goes off when temp reached below 70 C. So, be aware.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#4 Post by big_bass »

Hey trio
thanks for digging deeper into this and making a gui

************************************************
I had a report of a problem with the fan in my puplet section
stangly only when a full install was selected which I can't confirm since mine is working correctly and I still haven't been given any detailed information yet so it is listed still as "unconfirmed "
and maybe your GUI is a good solution to this I just need to sort out
for what other versions your GUI could work for also
or be modified to add in more models



************************************************
I attached an info get script here for those having problems with the fan it will provide me with more information about the problem to be correctly identified

click_here
this script is now called info_get_v03.tar.gz
attached


1. download it

2. unzip it

3 click on this script----> info_get_v03

4 this compressed file gets auto built for you info_tarball.tar.gz

5 attach it to your forum post

more people can find what went wrong
fixing problems faster Very Happy


*this will work for any version of puppy*


files that get saved are:

bootkernel.log
cpuinfo.txt
ddcprobe.txt
dmesg.txt
dmidecode.txt
elspci-l.txt
lsmod.txt
meminfo.txt
xerrs.log
Xorg.0.log




if people that have problems with their fan attach the info generated by the attached script


more computers can be added as working

Joe

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#5 Post by trio »

Big Bass,

Good script for catching bugs!

User avatar
grr_argh
Posts: 23
Joined: Wed 01 Aug 2012, 12:40
Location: United Kingdom

#6 Post by grr_argh »

Hi all, sorry to grave dig with this thread...

I've just thrown Puppy a USB stick on a ThinkPad X60, but found its running quite hot. I've tired Trio's control util and installed the pup, but when I select a fan level it's not actually affecting the fans (though it shows no errors).

I've used big_bass's script and the results are here. I'm a total newbie to Linux though (just Atari TOS and Windows for me before today) so could really use some help with this.
Attachments
info_tarball.tar.gz
(28.79 KiB) Downloaded 1069 times

User avatar
grr_argh
Posts: 23
Joined: Wed 01 Aug 2012, 12:40
Location: United Kingdom

#7 Post by grr_argh »

Still got no joy with this.. really frustrating :?

Is anyone else having the same issue with X60 systems?

simes
Posts: 61
Joined: Sat 29 Sep 2007, 09:35
Location: Cheshire, UK

X60 systems

#8 Post by simes »

Hi there, my turn to resurrect an old thread. In answer to your two posts - yes, I have an X60s (lovely machine, almost identical to the X60) and have the heat problem. There are several steps to handling this in my experience.

1. Reduce heat generation... In BIOS, disable every device you don't use. If you have Intel 3945 wireless card (I did), replace it with an alternative (Google for examples - I chose the Atheros one, under £5 on eBay now). If you can afford to, replace the HDD with an SSD (that's on my list for the future).
2. I am sure you have found the program in Puppy, Menu/System/Hardware Information which allows you to read the ThinkPad's sensors and see current fan speed and temperature. The fan is quiet and you may not notice fan speed changes immediately. Also, these systems are designed to run quite hot. Any temperature in 50-60C range is quite OK, though if you have the Intel 3945 wireless card, the palmrest will be too hot by then.
3. You need to modify the acpi_thinkpad module to allow user control of fan speed. Two commands (i) modprobe -r thinkpad-acpi (ii) modprobe thinkpad-acpi fan_control=1
4. Then the IBM FAN 'pet' in the post above works. It does not give automatic fan control but enables you to push up the fan speed when you see a problem of when the sensors indicate one. At fan speed setting of 7 my fan is reported as running at 4250RPM which is about as expected. The auto setting seems to let the fan go too slowly.
5. I have succeeded in getting auto fan control working on Ubuntu/Mint (Google for ThinkPad-Fan-Control, very useful program, or see here http://www.thinkwiki.org/wiki/How_to_co ... an_Control ) but not yet got this working on Puppy.

User avatar
grr_argh
Posts: 23
Joined: Wed 01 Aug 2012, 12:40
Location: United Kingdom

#9 Post by grr_argh »

Just to update this topic:

CONFIRMED TO WORK ON THINKPAD X201 WITH PRECISE PUPPY 5.7.1.

1. Install the PET above
2. Use the text editor to edit ibm_acpi_fan which is in root/startup. Remove the commands already there, and replace with the commands Simes provided above.
3. Reboot and test

Post Reply