Re: Sensors broke between 2.6.16.16 and 2.6.16.17 - SOLVED

From: Jani Aho
Date: Sun Aug 13 2006 - 02:45:26 EST


Jiri Slaby wrote:
> Jani Aho wrote:
>> Hi
>>
>> The sensors on my motherboard stopped working between 2.6.16.16 and
>> 2.6.16.17. The latest kernel version I have tried is 2.6.17.8 and it
>> still has the same problem.
>>
>> The motherboard is an ASUS P4PE and it uses the asb100 and i2c-i801
>> modules to get sensor information.
>>
>> A diff in /sys between a bad (2.6.17.8) and a good (2.6.16.16) kernel
>> gives:
>
> And is there any diff in dmesgs of those 2 kernels?
>
Problem solved.

The only related message in the dmesg diff was:

--- dmesg.bad 2006-08-13 08:21:21.000000000 +0200
+++ dmesg.good 2006-08-13 08:17:53.000000000 +0200
+PCI: Enabled i801 SMBus device

Looking at the changelog for 2.6.16.17, I found this patch:

commit a9cacd682ed7c031fa05b1d1367a3b3221813932
Author: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@xxxxxxx>
Date: Mon May 15 09:44:33 2006 -0700

[PATCH] smbus unhiding kills thermal management

Do not enable the SMBus device on Asus boards if suspend is used. We do
not reenable the device on resume, leading to all sorts of undesirable
effects, the worst being a total fan failure after resume on Samsung P35
laptop.

This fixes bug #6449 at bugzilla.kernel.org.


For some strange reason I had ACPI Sleep States enabled, so I disabled
it, recompiled the kernel and hey presto, the sensors are back.

Thanks for taking your time on this none problem

Jani
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/