Changeset 4410
- Timestamp:
- 05/22/07 13:29:02 (6 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/detect/sensors-detect (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r4408 r4410 23 23 Add /usr/sbin to the PATH (#2199) 24 24 Add ATI SB700 detection 25 Add Maxim MAX6680/MAX6681 detection 25 26 26 27 -
lm-sensors/trunk/prog/detect/sensors-detect
r4408 r4410 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 { … … 3677 3683 # $_[0]: Chip to detect 3678 3684 # (0 = LM90, 1=LM89/LM99, 2=LM86, 3=ADM1032, 4=MAX6657/MAX6658/MAX6659, 3679 # 5 = ADT7461, 6 = MAX6648/MAX6692 )3685 # 5 = ADT7461, 6 = MAX6648/MAX6692, 7 = MAX6680/MAX6681) 3680 3686 # $_[1]: A reference to the file descriptor to access this chip. 3681 3687 # $_[2]: Address 3682 3688 # Returns: undef if not detected, 4, 6 or 8 if detected. 3683 # The Maxim chips have a low confidence value (4)3684 # because they don't have a die revision register.3689 # The Maxim chips MAX6657, MAX6658 and MAX6659 have a low confidence 3690 # value (4) because they don't have a die revision register. 3685 3691 # Registers used: 3686 3692 # 0x03: Configuration … … 3745 3751 return 8; 3746 3752 } 3753 if ($chip == 7) { 3754 return if ($conf & 0x03) != 0; 3755 return if $rate > 0x07; 3756 return if $mid != 0x4d; # Maxim 3757 return if $cid != 0x01; # MAX6680/MAX6681 3758 return 6; 3759 } 3747 3760 return; 3748 3761 }
