diff --git a/CHANGES b/CHANGES index ab7d5f2d..d8742a0f 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,7 @@ SVN-HEAD Add SMSC EMC2700LPC support Add ITE IT8720 support Add Texas Instruments TMP411 support + Prevent misdetection of W83627DHG on I2C as LM78 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 472fcbfe..49f94c19 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -3547,6 +3547,11 @@ sub lm78_detect return unless ($chip == 0 and ($reg == 0x00 or $reg == 0x20)) or ($chip == 1 and $reg == 0x40) or ($chip == 2 and ($reg & 0xfe) == 0xc0); + + # Explicitly prevent misdetection of Winbond chips + $reg = i2c_smbus_read_byte_data($file, 0x4f); + return if $reg == 0xa3 || $reg == 0x5c; + return (6); }