[lm-sensors] Problem with it87 module from Linux 2.6.26 onward

Jean Delvare khali at linux-fr.org
Sat Oct 18 21:18:07 CEST 2008


Hallo Johannes,

Adding the lm-sensors list in Cc, as well as Andrew Paprocki who has
been working on the it87 driver lately.

On Sat, 18 Oct 2008 19:18:15 +0200, Johannes Truschnigg wrote:
> Dear Linux kernel module authors,
> 
> I'm the owner of an ASUS M2NPV-VM mainboard which features a chip driven by 
> the it87 module. I used the PWM capabilities of this chip to reduce my 
> system's noise level, by having its fan speeds regulated via `fancontrol` 
> from lm_sensors, as the BIOS-provided PWM regulation isn't good enough (the 
> fans spin at full speed despite CPUtemp being lower than 40°C, etc.).
> However, this mechanism stopped working as soon as I upgraded to the 2.6.26 
> kernel. I was able to dig up a commentary on some mailing list that 
> this "bug" I hit was introduced by choice, and that I could probably work 
> around it by specifying "fix_pwm_polarity=1" as a parameter to the module. I 
> suppose it would work, if the debug ringbuffer wouldn't contain
> 
> ### snip ###
> it87 it87.656: PWM configuration looks sane, won't touch
> ### snip ###
> 
> after loading the module accordingly. Is there a way to _really_ force 
> 2.6.25's behavior in this manner? Or am I doing it wrong, and there's another 
> way I can get what I want, which is PWM working the way I would like it to?

There's no way to force the polarity change, for your own good. If you
did not need to pass fix_pwm_polarity=1 before, then passing it now
will not solve your problem.

> I'd really appreciate getting an answer on that matter - thank you in any way 
> for taking your time!

The it87 driver did not change between kernel 2.6.25 and kernel 2.6.26:
http://www.eu.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fpatch-2.6.26.bz2

So, I have a hard time believing that fan speed control is working with
kernel 2.6.25 and doesn't work with kernel 2.6.26 without any other
change to your system. You'll have to do more tests to figure out what
exactly broke fan speed control on your system.

Please also explain in more details what the actual problem is. "It
stopped working" doesn't tell us much.

-- 
Jean Delvare




More information about the lm-sensors mailing list