Changeset 2413
- Timestamp:
- 04/05/04 20:29:27 (9 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r2409 r2413 1307 1307 # driver: The driver name (without .o extension). Put in 1308 1308 # "to-be-written" if it is not yet available. 1309 # addrreg: The address register1310 # datareg: The data register1311 1309 # enter: The password sequence to write to the address register 1312 1310 # devid: The device ID(s) we have to match (base device) 1313 1311 # logdev: The logical device containing the sensors 1314 # exit (optional): Sequence of addr,val pairs which exits config mode 1312 # exit (optional): Sequence to write to the address register to exit config 1313 # mode. If not provided, a default reset operation is performed. 1315 1314 # alias_detect (optional): For chips which can be both on the ISA and the 1316 1315 # I2C bus, a function which detectes whether two entries are the same. … … 1421 1420 }, 1422 1421 { 1422 name => "SMSC 47S42x Super IO Fan Sensors", 1423 driver => "to-be-written", 1424 enter => [0x55], 1425 devid => 0x57, 1426 logdev => 0x0a, 1427 exit => [0xaa], 1428 }, 1429 { 1430 name => "SMSC 47S45x Super IO Fan Sensors", 1431 driver => "to-be-written", 1432 enter => [0x55], 1433 devid => 0x62, 1434 logdev => 0x0a, 1435 exit => [0xaa], 1436 }, 1437 { 1423 1438 name => "VT1211 Super IO Sensors", 1424 1439 driver => "vt1211", … … 1461 1476 }, 1462 1477 { 1463 name => "Winbond W83697 UF Super IO PWM",1478 name => "Winbond W83697SF/UF Super IO PWM", 1464 1479 driver => "to-be-written", 1465 1480 enter => [0x87, 0x87], … … 1669 1684 open INPUTFILE, "/proc/modules" or die "Can't access /proc/modules!"; 1670 1685 while (<INPUTFILE>) { 1686 tr/_/-/; 1671 1687 push @modules_list, /^(\S*)/ ; 1672 1688 } … … 4498 4514 print "\nAs you are not root, we shall skip this step.\n"; 4499 4515 } else { 4500 if (($have_sysconfig and not <STDIN> =~ /^\s*[Nn]/) or <STDIN> =~ /^\s*[Yy]/) { 4516 $_ = <STDIN>; 4517 if (($have_sysconfig and not m/^\s*[Nn]/) or m/^\s*[Yy]/) { 4501 4518 unless ($have_sysconfig) { 4502 4519 mkdir '/etc/sysconfig', 0777
