Changeset 604 for lm-sensors/trunk/prog/detect/sensors-detect
- Timestamp:
- 10/20/99 04:13:51 (14 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r603 r604 1439 1439 # Returns: undef if not detected, (6) or (3) if detected. 1440 1440 # Registers used: 1441 # 0x04: Company ID (LM84 only) 1441 1442 # 0xfe: Company ID 1443 # 0xff: Revision (Maxim only) 1442 1444 # 0x02: Status 1443 1445 # Note: Especially the Maxim has very bad detection; we give it a low … … 1449 1451 return if $chip == 0 and i2c_smbus_read_byte_data($file,0xfe) != 0x41; 1450 1452 return if $chip == 3 and i2c_smbus_read_byte_data($file,0xfe) != 0x49; 1451 return if $chip == 4 and i2c_smbus_read_byte_data($file,0x fe) != 0x00;1453 return if $chip == 4 and i2c_smbus_read_byte_data($file,0x04) != 0x00; 1452 1454 return if $chip == 5 and i2c_smbus_read_byte_data($file,0xfe) != 0x23; 1453 1455 return if $chip == 2 and i2c_smbus_read_byte_data($file,0xfe) != 0x4d and
