Changeset 4562
- Timestamp:
- 07/06/07 11:54:10 (6 years ago)
- Location:
- lm-sensors/branches/lm-sensors-3.0.0
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/detect/sensors-detect (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/CHANGES
r4539 r4562 49 49 Add SMSC SCH5317 detection 50 50 Drop detection of most non-sensors I2C chips 51 Fix ADM1022 detection 51 52 52 53 -
lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect
r4555 r4562 4470 4470 ($chip == 1 and $reg == 0x49) or 4471 4471 ($chip == 2 and $reg == 0x41); 4472 return unless (i2c_smbus_read_byte_data($file,0x40) & 0x80) == 0x00; 4472 $reg = i2c_smbus_read_byte_data($file,0x40); 4473 return if ($reg & 0x10); # Soft Reset always reads 0 4474 return if ($chip != 0 and ($reg & 0x80)); # Reserved on THMC50 and ADM1028 4473 4475 $reg = i2c_smbus_read_byte_data($file, 0x3f) & 0xf0; 4474 4476 return unless ($chip == 0 and $reg == 0xc0) or
