[ltp] Re: tpfand configuration for an X200s

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Sat, 20 Dec 2008 12:30:52 -0200


On Tue, 16 Dec 2008, Christoph Bier wrote:
> > If you "echo level 7 > /proc/acpi/ibm/fan" and then you "cat
> > /proc/acpi/ibm/fan", what happens?
> > 
> > Does the fan turns on?
> 
> No:
> 
> root@skull-tp:~# echo level 7 > /proc/acpi/ibm/fan
> root@skull-tp:~# cat /proc/acpi/ibm/fan
> status:		enabled
> speed:		0
> level:		auto
> commands:	level <level> (<level> is 0-7, auto, disengaged, full-speed)
> commands:	enable, disable
> commands:	watchdog <timeout> (<timeout> is 0 (off), 1-120 (seconds))
> 
> > Or is it on but the tachometer is not working?
> 
> No, the fan isn't turned on.
> 
> > It could be that there is ACPI overrides in the fan control too... hmm...
> > can you check if removing the "fan" module from ACPI makes any difference
> > (when you do so, keep one eye on all thermal sensors, it pays off to be
> > careful with these things.  If they start to climb, reboot immediately).
> 
> root@skull-tp:~# modprobe -r fan
> root@skull-tp:~# echo level 7 > /proc/acpi/ibm/fan
> root@skull-tp:~# cat /proc/acpi/ibm/fan
> status:		enabled
> speed:		0
> level:		auto
> commands:	level <level> (<level> is 0-7, auto, disengaged, full-speed)
> commands:	enable, disable
> commands:	watchdog <timeout> (<timeout> is 0 (off), 1-120 (seconds))
> 
> Do you need more testing with the removed fan module? If yes, which
> kind of tests?

Can you try the same simple "level 7" test using a boot CD of a simple
distro (NOT Ubuntu. Debian would be OK, probably others too), or try
it in a single user mode boot?  To make sure nothing in userspace is
messing with the fan...  There are other ways to do it, but this one
is simpler than asking you to boot with fan_control=0 and issue direct
ecdump commands.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh