Changeset 5994

Show
Ignore:
Timestamp:
08/31/11 10:34:15 (3 years ago)
Author:
khali
Message:

Make LM73 detection less problematic.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r5993 r5994  
    77                  Print DMI system/product version if available 
    88                  Fix loading of the cpuid module 
     9                  Make LM73 detection less problematic 
    910 
    10113.3.1 (2011-07-21) 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r5993 r5994  
    40454045        return if ($conf & 0x0c) or ($status & 0x10); 
    40464046 
    4047         return if i2c_smbus_read_word_data($file, 0x07) != 0x9001; 
     4047        # Test with byte read first to avoid confusing other chips 
     4048        return if i2c_smbus_read_byte_data($file, 0x07) != 0x01 
     4049               or i2c_smbus_read_word_data($file, 0x07) != 0x9001; 
    40484050 
    40494051        # Make sure the chip supports SMBus read word transactions