[ltp] Re: tpfand configuration for an X200s

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


On Sat, 20 Dec 2008, Christoph Bier wrote:
> Henrique de Moraes Holschuh schrieb am 20.12.2008 15:30:
> > 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?
> 
> It works in single user mode! The fan speeds up to 5257 RPM. With
> 'level auto' it stops again, with 'level 1' it starts again and so on.

Very well.  Did you EVER install, or attempt to install, any fan control
utility?  It doesn't have to be a thinkpad's fan control utility, it could
be one based on lm-sensors/hwmon, or a desktop applet, helper, etc.

There IS a sure way to find it out.  Tack a "BUG();" call in thinkpad-acpi,
in the beggining of the fan_set_level() function.  This will *SEGFAULT*
any userspace process trying to do fan control, and log a major nasty
complain in the kernel log.

It should help you find out very quickly what is doing fan control... please
tell us what happens.

-- 
  "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