Changeset 5489
- Timestamp:
- 12/01/08 15:47:27 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect
r5488 r5489 1118 1118 # * "to-be-written" if it is not yet available 1119 1119 # * "not-a-sensor" if the chip doesn't have hardware monitoring 1120 # capabilities (listing such chips here removes the need of manual1121 # lookup when people report them)1120 # capabilities (listing such chips here removes the need of manual 1121 # lookup when people report them) 1122 1122 # * "via-smbus-only" if this is a Super-I/O chip whose hardware 1123 # monitoring registers can only be accessed via the SMBus1123 # monitoring registers can only be accessed via the SMBus 1124 1124 # devid: The device ID we have to match (base device) 1125 1125 # devid_mask (optional): Bitmask to apply before checking the device ID … … 2195 2195 printf "No known driver for device \%s: \%s\n", 2196 2196 pci_busid($device), $try->{procid}; 2197 } else {2197 } else { 2198 2198 printf "Using driver `\%s' for device \%s: \%s\n", 2199 2199 $try->{driver}, pci_busid($device), … … 2430 2430 # with field 'detected' 2431 2431 # being a reference to a list of 2432 # references to hashes of type 'detect_data';2432 # references to hashes of type 'detect_data'; 2433 2433 2434 2434 # Type detect_data: … … 3408 3408 3409 3409 # Chip to detect: 0 = LM90, 1 = LM89/LM99, 2 = LM86, 3 = ADM1032, 3410 # 4 = MAX6654/MAX6690, 5 = ADT7461,3411 # 6 = MAX6646/MAX6647/MAX6648/MAX6649/MAX6692,3412 # 7 = MAX6680/MAX6681, 8 = W83L771W/G, 9 = TMP401, 10 = TMP4113410 # 4 = MAX6654/MAX6690, 5 = ADT7461, 3411 # 6 = MAX6646/MAX6647/MAX6648/MAX6649/MAX6692, 3412 # 7 = MAX6680/MAX6681, 8 = W83L771W/G, 9 = TMP401, 10 = TMP411 3413 3413 # Registers used: 3414 3414 # 0x03: Configuration … … 3480 3480 return if $rate > 0x09; 3481 3481 return if $mid != 0x5c; # Winbond 3482 return 6 if $cid == 0x00; # W83L771W/G3482 return 6 if $cid == 0x00; # W83L771W/G 3483 3483 } 3484 3484 if ($chip == 9) { … … 3486 3486 return if $rate > 0x0F; 3487 3487 return if $mid != 0x55; # Texas Instruments 3488 return 8 if $cid == 0x11; # TMP4013488 return 8 if $cid == 0x11; # TMP401 3489 3489 } 3490 3490 if ($chip == 10) { … … 3703 3703 3704 3704 # Chip to detect: 0 = ADT7467/ADT7468, 1 = ADT7476, 2 = ADT7462, 3 = ADT7466, 3705 # 4 = ADT74703705 # 4 = ADT7470 3706 3706 # Registers used: 3707 3707 # 0x3d: Chip ID … … 3799 3799 3800 3800 # Chip to detect: 0 = LM85, 1 = LM96000, 2 = ADM1027, 3 = ADT7463, 3801 # 4 = EMC6D100/101, 5 = EMC6D102, 6 = EMC6D1033801 # 4 = EMC6D100/101, 5 = EMC6D102, 6 = EMC6D103 3802 3802 # Registers used: 3803 3803 # 0x3e: Vendor register … … 3871 3871 3872 3872 # Chip to detect: 0 = W83781D, 1 = W83782D, 2 = W83783S, 3 = W83627HF, 3873 # 4 = AS99127F (rev.1), 5 = AS99127F (rev.2), 6 = ASB100,3874 # 7 = W83791D, 8 = W83792D, 9 = W83627EHF, 10 = W83627DHG3873 # 4 = AS99127F (rev.1), 5 = AS99127F (rev.2), 6 = ASB100, 3874 # 7 = W83791D, 8 = W83792D, 9 = W83627EHF, 10 = W83627DHG 3875 3875 # Registers used: 3876 3876 # 0x48: Full I2C Address … … 4125 4125 4126 4126 # Chip to detect: 0 = ADM1021, 1 = ADM1021A/ADM1023, 2 = MAX1617, 3 = MAX1617A, 4127 # 4 = THMC10, 5 = LM84, 6 = GL523, 7 = MC10664127 # 4 = THMC10, 5 = LM84, 6 = GL523, 7 = MC1066 4128 4128 # Registers used: 4129 4129 # 0x04: Company ID (LM84 only) … … 4314 4314 4315 4315 # Chip to detect: 0 = Poseidon I, 1 = Poseidon II, 2 = Scylla, 4316 # 3 = Hermes, 4 = Heimdal, 5 = Heracles4316 # 3 = Hermes, 4 = Heimdal, 5 = Heracles 4317 4317 # Registers used: 4318 4318 # 0x00-0x02: Identification (3 capital ASCII letters) … … 4412 4412 4413 4413 # Chip to detect: 1 = F75111R/RG/N, 2 = F75121R/F75122R/RG, 3 = F75373S/SG, 4414 # 4 = F75375S/SP, 5 = F75387SG/RG, 6 = F75383M/S/F75384M/S,4415 # 7 = custom power control IC4414 # 4 = F75375S/SP, 5 = F75387SG/RG, 6 = F75383M/S/F75384M/S, 4415 # 7 = custom power control IC 4416 4416 # Registers used: 4417 4417 # 0x5A-0x5B: Chip ID … … 4462 4462 4463 4463 # Chip to detect: 0 = W83L784R/AR/G, 1 = W83L785R/G, 2 = W83L786NR/NG/R/G, 4464 # 3 = W83L785TS-S4464 # 3 = W83L785TS-S 4465 4465 # Registers used: 4466 4466 # 0x40: Configuration … … 4596 4596 my $val = inb($addr + 1); 4597 4597 return if inb($addr + 2) != $val or inb($addr + 3) != $val or 4598 inb($addr + 7) != $val;4598 inb($addr + 7) != $val; 4599 4599 4600 4600 $val = inb($addr + 5); … … 4826 4826 exists $detection->{isa_addr} and 4827 4827 $i2c_adapters[$detection->{i2c_devnr}]->{used}) { 4828 push @optionlist, $detection->{i2c_devnr}, 4829 $detection->{i2c_addr}; 4828 push @optionlist, 4829 $detection->{i2c_devnr}, 4830 $detection->{i2c_addr}; 4830 4831 } 4831 4832 }
