Changeset 5983 for lm-sensors/trunk/prog
- Timestamp:
- 07/08/11 16:35:37 (11 months ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r5982 r5983 1056 1056 i2c_detect => sub { lm90_detect(@_, 13); }, 1057 1057 }, { 1058 name => "NXP/Philips SA56004", 1059 driver => "lm90", 1060 i2c_addrs => [0x48..0x4f], 1061 i2c_detect => sub { lm90_detect(@_, 14); }, 1062 }, { 1058 1063 name => "Analog Devices ADT7481", 1059 1064 driver => "to-be-written", … … 4353 4358 # 8 = W83L771W/G, 9 = TMP401, 10 = TMP411, 4354 4359 # 11 = W83L771AWG/ASG, 12 = MAX6690, 4355 # 13 = ADT7461A/NCT1008 4360 # 13 = ADT7461A/NCT1008, 14 = SA56004 4356 4361 # Registers used: 4357 4362 # 0x03: Configuration 4358 4363 # 0x04: Conversion rate 4359 # 0xbf: Configuration 2 (National Semiconductor and Winbondonly)4364 # 0xbf: Configuration 2 (National Semiconductor, Winbond, and Philips only) 4360 4365 # 0xfe: Manufacturer ID 4361 4366 # 0xff: Chip ID / die revision … … 4457 4462 return if $mid != 0x41; # Analog Devices 4458 4463 return 8 if $cid == 0x57; # ADT7461A, NCT1008 4464 } 4465 if ($chip == 14) { 4466 return if ($conf & 0x2a) != 0; 4467 return if ($conf2 & 0xfe) != 0; 4468 return if $rate > 0x09; 4469 return if $mid != 0xa1; # NXP Semiconductor/Philips 4470 return 6 if $cid == 0x00; # SA56004 4459 4471 } 4460 4472 return;
