diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-11-23 15:27:00 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2008-11-23 15:27:00 +0000 |
commit | df31c021562fd6b80f85e9a08826f4b09d97fd68 (patch) | |
tree | fdf1688f116eb0d1b193f3ba8c8ca7c5aa4e302e | |
parent | a72bac5eb20b9ebee8747b89de330aa5d225502e (diff) | |
download | lm-sensors-git-df31c021562fd6b80f85e9a08826f4b09d97fd68.tar.gz |
Fix SMBus detection of early W83627EHF and W83627DHG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5406 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r-- | CHANGES | 1 | ||||
-rwxr-xr-x | prog/detect/sensors-detect | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -38,6 +38,7 @@ SVN-HEAD Fix detection of ADT7462 Fix detection of SMSC LPC47M292 Add SMSC LPC47M233 support + Fix SMBus detection of W83627EHF and W83627DHG 2.10.7 (20080701) Library: Don't choke on unrecognized devices, part 2 diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 11091938..7d875d64 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -4482,8 +4482,8 @@ sub w83781d_detect return if $chip == 6 and $reg1 != 0x31; return if $chip == 7 and $reg1 != 0x71; return if $chip == 8 and $reg1 != 0x7a; - return if $chip == 9 and $reg1 != 0xa1; - return if $chip == 10 and $reg1 != 0xa2; + return if $chip == 9 and ($reg1 != 0x88 && $reg1 != 0xa1); + return if $chip == 10 and $reg1 != 0xc1; # Default address is 0x2d @res = ($addr != 0x2d) ? (7) : (8); return @res if $chip >= 9; # No subclients |