From a1db385f3c91ea9d054ce0cc66813b370a8a3e08 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sun, 23 Nov 2008 15:24:50 +0000 Subject: [PATCH] Fix SMBus detection of early W83627EHF chips. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5405 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + prog/detect/sensors-detect | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 41e6c63f..5c4586c5 100644 --- a/CHANGES +++ b/CHANGES @@ -16,6 +16,7 @@ SVN-HEAD Add SMSC LPC47M233 support Drop support for Linux 2.4 (#2325) Handle special case chips more efficiently + Fix SMBus detection of W83627EHF and W83627DHG 3.0.3 (2008-09-28) libsensors: Avoid namespace pollution diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 6e5c4347..800f9c23 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -4485,7 +4485,7 @@ 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 == 9 and ($reg1 != 0x88 && $reg1 != 0xa1); return if $chip == 10 and $reg1 != 0xc1; # Default address is 0x2d @res = ($addr != 0x2d) ? (7) : (8);