All pastes #572774 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-06-17 20:55 UTC
rendered paste body
lm90-i2c-4-4c
Adapter: NVIDIA i2c adapter 2 at 1:00.0
M/B Temp:    +52°C  (low  =    +0°C, high =  -126°C)   
CPU Temp:  +71.9°C  (low  =  +5.0°C, high = +114.4°C)   
M/B Crit:   -111°C  (hyst =  -121°C)                   
CPU Crit:   -111°C  (hyst =  -121°C)               



--- ../linux-2.6.22-rc5/drivers/hwmon/lm90.c    2007-06-17 22:40:30.000000000 +0200
+++ lm90.c      2007-06-17 22:52:51.000000000 +0200
@@ -601,6 +601,11 @@
                         && reg_convrate <= 0x07) {
                                kind = max6680;
                        }
+                       if (chip_id == 0x59
+                        && (reg_config1 & 0x03) == 0x00
+                        && reg_convrate <= 0x07) {
+                               kind = lm90;
+                       }
                }
 
                if (kind <= 0) { /* identification failed */