From df31c021562fd6b80f85e9a08826f4b09d97fd68 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sun, 23 Nov 2008 15:27:00 +0000 Subject: 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 --- CHANGES | 1 + prog/detect/sensors-detect | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index c1c766af..bd8d8c17 100644 --- a/CHANGES +++ b/CHANGES @@ -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 -- cgit v1.2.1