Page 1 of 1

fantool does funny things on R40

Posted: Tue Apr 04, 2006 5:22 am
by jerrawa
My thinkpad get really warm and since i started uni i have been using it on my lap alot. I really want to be able to control the fan.

I have Downloaded and tried to use this tool(and the older versions) but it doesnt work properly.

When it starts it only displays the following tempps:CPU 55°C (0x78)
APS 10°C (0x79)
PCM 0°C (0x7a)
GPU 0°C (0x7b)
BAT 0°C (0x7c)
X7D 0°C (0x7d)
BAT 0°C (0x7e)
X7F 0°C (0x7f)
BUS 0°C (0xc0)
PCI 0°C (0xc1)
PWR 0°C (0xc2)
XC3 0°C (0xc3)

and when it runs it starts and stops every 5 seconds and sounds like it doesnt even get fully spinning before it stops and starts again.
the following is a bit from the log file
[4/04/2006 8:09:19 PM] Current Config:
[4/04/2006 8:09:19 PM] Active= 1, Cycle= 5, FanBeep= 1200 30, MaxReadErrors= 10
[4/04/2006 8:09:19 PM] IconLevels= 50 55 60, IgnoreSensors= XXX,YYY,ZZZ
[4/04/2006 8:09:19 PM] Levels= 47°C -> 0, 50°C -> 3, 55°C -> 4, 60°C -> 7, 70°C -> 0x80

[4/04/2006 8:10:26 PM] Fan: 0x00 / Highest: 55°C (55 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:10:26 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:10:35 PM] Fan: 0x00 / Highest: 55°C (55 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:10:35 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:10:40 PM] Fan: 0x00 / Highest: 54°C (54 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:10:40 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:10:45 PM] Fan: 0x00 / Highest: 54°C (54 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:10:45 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:10:50 PM] Fan: 0x00 / Highest: 54°C (54 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:10:50 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:10:55 PM] Fan: 0x00 / Highest: 54°C (54 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:10:55 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:11:00 PM] Fan: 0x00 / Highest: 53°C (53 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:00 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:11:05 PM] Fan: 0x00 / Highest: 53°C (53 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:05 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:11:15 PM] Fan: 0x00 / Highest: 53°C (53 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:15 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:11:17 PM] Fan: 0x00 / Highest: 52°C (52 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:17 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:11:25 PM] Fan: 0x00 / Highest: 52°C (52 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:25 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:11:30 PM] Fan: 0x00 / Highest: 52°C (52 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:30 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:11:37 PM] Fan: 0x00 / Highest: 52°C (52 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:37 PM] Manual: Set fan control to 0x01, Result: OK
[4/04/2006 8:11:41 PM] Fan: 0x00 / Highest: 52°C (52 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:41 PM] Mode switch: Set fan control to 0x80, Result: COULD NOT SET FAN STATE!!!!
[4/04/2006 8:11:43 PM] Fan: 0x00 / Highest: 52°C (52 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:43 PM] Mode switch: Set fan control to 0x80, Result: COULD NOT SET FAN STATE!!!!
[4/04/2006 8:11:45 PM] Fan: 0x00 / Highest: 52°C (52 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:45 PM] Mode switch: Set fan control to 0x80, Result: COULD NOT SET FAN STATE!!!!
[4/04/2006 8:11:47 PM] Fan: 0x00 / Highest: 51°C (51 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 8:11:47 PM] Mode switch: Set fan control to 0x80, Result: COULD NOT SET FAN STATE!!!!


I also got the following errors earlier aswell
[4/04/2006 7:25:12 PM] Manual: Set fan control to 0x04, Result: CMD IGNORED (PASSIVE MODE)
[4/04/2006 7:25:12 PM] Fan: 0x00 / Highest: 53°C (53 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 7:25:12 PM] Manual: Set fan control to 0x04, Result: CMD IGNORED (PASSIVE MODE)
[4/04/2006 7:25:13 PM] Fan: 0x00 / Highest: 53°C (53 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 7:25:13 PM] Manual: Set fan control to 0x04, Result: CMD IGNORED (PASSIVE MODE)
[4/04/2006 7:25:14 PM] Fan: 0x00 / Highest: 53°C (53 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 7:25:14 PM] Manual: Set fan control to 0x04, Result: CMD IGNORED (PASSIVE MODE)
[4/04/2006 7:25:15 PM] Fan: 0x00 / Highest: 53°C (53 10 0 0 0 0 0 0 0 0 0 0)
[4/04/2006 7:25:15 PM] Manual: Set fan control to 0x04, Result: CMD IGNORED (PASSIVE MODE)

I am interested to hear what i could do to fix the problem and get it to work in my R40. perhaps it uses different addresses for the fan control? if so how can i find them for the R40 and change them in the source code.
I am also a budding c++ programmer(2nd year at uni), so if code needs to be changed - it probably best if someone else does that and tells me what was changed so i can learn something

thanks