Changeset 4411
- Timestamp:
- 05/22/07 13:31:51 (6 years ago)
- Location:
- lm-sensors/branches/lm-sensors-3.0.0
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/detect/sensors-detect (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/CHANGES
r4409 r4411 28 28 Add /usr/sbin to the PATH (#2199) 29 29 Add ATI SB700 detection 30 Add Maxim MAX6680/MAX6681 detection 30 31 31 32 -
lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect
r4409 r4411 1260 1260 i2c_addrs => [0x4c], 1261 1261 i2c_detect => sub { lm90_detect(6, @_); }, 1262 }, 1263 { 1264 name => "Maxim MAX6680/MAX6681", 1265 driver => "lm90", 1266 i2c_addrs => [0x18..0x1a, 0x29..0x2b, 0x4c..0x4e], 1267 i2c_detect => sub { lm90_detect(7, @_); }, 1262 1268 }, 1263 1269 { … … 3671 3677 # $_[0]: Chip to detect 3672 3678 # (0 = LM90, 1=LM89/LM99, 2=LM86, 3=ADM1032, 4=MAX6657/MAX6658/MAX6659, 3673 # 5 = ADT7461, 6 = MAX6648/MAX6692 )3679 # 5 = ADT7461, 6 = MAX6648/MAX6692, 7 = MAX6680/MAX6681) 3674 3680 # $_[1]: A reference to the file descriptor to access this chip. 3675 3681 # $_[2]: Address 3676 3682 # Returns: undef if not detected, 4, 6 or 8 if detected. 3677 # The Maxim chips have a low confidence value (4)3678 # because they don't have a die revision register.3683 # The Maxim chips MAX6657, MAX6658 and MAX6659 have a low confidence 3684 # value (4) because they don't have a die revision register. 3679 3685 # Registers used: 3680 3686 # 0x03: Configuration … … 3739 3745 return 8; 3740 3746 } 3747 if ($chip == 7) { 3748 return if ($conf & 0x03) != 0; 3749 return if $rate > 0x07; 3750 return if $mid != 0x4d; # Maxim 3751 return if $cid != 0x01; # MAX6680/MAX6681 3752 return 6; 3753 } 3741 3754 return; 3742 3755 }
