* Sensors broke between 2.6.16.16 and 2.6.16.17
@ 2006-08-12 17:20 Jani Aho
2006-08-12 21:58 ` Jiri Slaby
0 siblings, 1 reply; 3+ messages in thread
From: Jani Aho @ 2006-08-12 17:20 UTC (permalink / raw)
To: linux-kernel
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:
--- i2c.bad 2006-08-12 18:42:57.000000000 +0200
+++ i2c.good 2006-08-12 18:50:44.000000000 +0200
@@ -37,9 +37,15 @@
/sys/module/i2c_core/sections/.text
/sys/module/i2c_core/refcnt
/sys/class/i2c-adapter
+/sys/class/i2c-adapter/i2c-0
+/sys/class/i2c-adapter/i2c-0/device
+/sys/class/i2c-adapter/i2c-0/uevent
/sys/bus/i2c
/sys/bus/i2c/drivers
/sys/bus/i2c/drivers/asb100
+/sys/bus/i2c/drivers/asb100/0-0048
+/sys/bus/i2c/drivers/asb100/0-0049
+/sys/bus/i2c/drivers/asb100/0-002d
/sys/bus/i2c/drivers/asb100/bind
/sys/bus/i2c/drivers/asb100/unbind
/sys/bus/i2c/drivers/asb100/module
@@ -48,3 +54,85 @@
/sys/bus/i2c/drivers/i2c_adapter/unbind
/sys/bus/i2c/drivers/i2c_adapter/module
/sys/bus/i2c/devices
+/sys/bus/i2c/devices/0-0048
+/sys/bus/i2c/devices/0-0049
+/sys/bus/i2c/devices/0-002d
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/name
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/bus
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/driver
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/power
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/power/wakeup
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/power/state
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/uevent
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/name
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/bus
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/driver
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/power
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/power/wakeup
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/power/state
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/uevent
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/pwm1_enable
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/pwm1
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/alarms
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/vrm
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/cpu0_vid
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp4_max_hyst
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp4_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp4_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp3_max_hyst
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp3_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp3_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp2_max_hyst
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp2_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp2_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp1_max_hyst
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp1_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp1_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan3_div
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan3_min
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan3_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan2_div
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan2_min
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan2_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan1_div
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan1_min
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan1_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in6_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in6_min
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in6_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in5_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in5_min
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in5_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in4_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in4_min
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in4_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in3_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in3_min
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in3_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in2_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in2_min
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in2_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in1_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in1_min
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in1_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in0_max
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in0_min
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in0_input
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/hwmon:hwmon0
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/name
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/bus
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/driver
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/power
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/power/wakeup
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/power/state
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/uevent
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/i2c-adapter:i2c-0
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/name
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/power
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/power/wakeup
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/power/state
+/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/uevent
I run an updated Debian Sid distro.
Thanks,
Jani
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Sensors broke between 2.6.16.16 and 2.6.16.17
2006-08-12 17:20 Sensors broke between 2.6.16.16 and 2.6.16.17 Jani Aho
@ 2006-08-12 21:58 ` Jiri Slaby
2006-08-13 6:47 ` Sensors broke between 2.6.16.16 and 2.6.16.17 - SOLVED Jani Aho
0 siblings, 1 reply; 3+ messages in thread
From: Jiri Slaby @ 2006-08-12 21:58 UTC (permalink / raw)
To: Jani Aho; +Cc: linux-kernel, stable, i2c
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?
> --- i2c.bad 2006-08-12 18:42:57.000000000 +0200
> +++ i2c.good 2006-08-12 18:50:44.000000000 +0200
> @@ -37,9 +37,15 @@
> /sys/module/i2c_core/sections/.text
> /sys/module/i2c_core/refcnt
> /sys/class/i2c-adapter
> +/sys/class/i2c-adapter/i2c-0
> +/sys/class/i2c-adapter/i2c-0/device
> +/sys/class/i2c-adapter/i2c-0/uevent
> /sys/bus/i2c
> /sys/bus/i2c/drivers
> /sys/bus/i2c/drivers/asb100
> +/sys/bus/i2c/drivers/asb100/0-0048
> +/sys/bus/i2c/drivers/asb100/0-0049
> +/sys/bus/i2c/drivers/asb100/0-002d
> /sys/bus/i2c/drivers/asb100/bind
> /sys/bus/i2c/drivers/asb100/unbind
> /sys/bus/i2c/drivers/asb100/module
> @@ -48,3 +54,85 @@
> /sys/bus/i2c/drivers/i2c_adapter/unbind
> /sys/bus/i2c/drivers/i2c_adapter/module
> /sys/bus/i2c/devices
> +/sys/bus/i2c/devices/0-0048
> +/sys/bus/i2c/devices/0-0049
> +/sys/bus/i2c/devices/0-002d
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/name
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/bus
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/driver
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/power
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/power/wakeup
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/power/state
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0048/uevent
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/name
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/bus
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/driver
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/power
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/power/wakeup
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/power/state
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-0049/uevent
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/pwm1_enable
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/pwm1
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/alarms
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/vrm
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/cpu0_vid
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp4_max_hyst
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp4_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp4_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp3_max_hyst
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp3_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp3_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp2_max_hyst
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp2_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp2_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp1_max_hyst
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp1_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/temp1_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan3_div
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan3_min
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan3_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan2_div
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan2_min
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan2_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan1_div
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan1_min
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/fan1_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in6_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in6_min
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in6_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in5_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in5_min
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in5_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in4_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in4_min
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in4_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in3_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in3_min
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in3_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in2_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in2_min
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in2_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in1_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in1_min
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in1_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in0_max
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in0_min
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/in0_input
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/hwmon:hwmon0
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/name
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/bus
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/driver
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/power
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/power/wakeup
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/power/state
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002d/uevent
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/i2c-adapter:i2c-0
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/name
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/power
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/power/wakeup
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/power/state
> +/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/uevent
>
> I run an updated Debian Sid distro.
regards,
--
<a href="http://www.fi.muni.cz/~xslaby/">Jiri Slaby</a>
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Sensors broke between 2.6.16.16 and 2.6.16.17 - SOLVED
2006-08-12 21:58 ` Jiri Slaby
@ 2006-08-13 6:47 ` Jani Aho
0 siblings, 0 replies; 3+ messages in thread
From: Jani Aho @ 2006-08-13 6:47 UTC (permalink / raw)
To: Jiri Slaby; +Cc: linux-kernel, stable, i2c
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@gmx.net>
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-13 6:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-12 17:20 Sensors broke between 2.6.16.16 and 2.6.16.17 Jani Aho
2006-08-12 21:58 ` Jiri Slaby
2006-08-13 6:47 ` Sensors broke between 2.6.16.16 and 2.6.16.17 - SOLVED Jani Aho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox