Changeset 5994 for lm-sensors/trunk/prog
- Timestamp:
- 08/31/11 10:34:15 (9 months ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r5993 r5994 4045 4045 return if ($conf & 0x0c) or ($status & 0x10); 4046 4046 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; 4048 4050 4049 4051 # Make sure the chip supports SMBus read word transactions
