Changeset 5250
- Timestamp:
- 05/11/08 23:01:18 (5 months ago)
- Files:
-
- lm-sensors/trunk/CHANGES (modified) (1 diff)
- lm-sensors/trunk/prog/detect/sensors-detect (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/CHANGES
r5248 r5250 21 21 Detect and skip 1-register-only I2C devices 22 22 Avoid SMBus word transactions where possible 23 Add Dallas DS1631 detection 23 24 24 25 2.10.6 "Welcome Home Lina" (20080306) lm-sensors/trunk/prog/detect/sensors-detect
r5248 r5250 911 911 }, 912 912 { 913 name => "Dallas Semiconductor DS1621 ",913 name => "Dallas Semiconductor DS1621/DS1631", 914 914 driver => "ds1621", 915 915 i2c_addrs => [0x48..0x4f], … … 3813 3813 3814 3814 my $temp = i2c_smbus_read_word_data($file,0xAA); 3815 return if $temp < 0 || ($temp & 0x7f00); 3815 return if $temp < 0 || ($temp & 0x0f00); 3816 # On the DS1631, the following two checks are too strict in theory, 3817 # but in practice I very much doubt that anyone will set temperature 3818 # limits not a multiple of 0.5 degrees C. 3816 3819 my $high = i2c_smbus_read_word_data($file,0xA1); 3817 3820 return if $high < 0 || ($high & 0x7f00);
