# ./sensors-detect # sensors-detect revision $Revision$ This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing. We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no): y Probing for PCI bus adapters... Use driver `i2c-nforce2' for device 0000:00:01.1: nVidia Corporation nForce4 SMBus (MCP55) We will now try to load each adapter module in turn. Module `i2c-nforce2' already loaded. If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script. We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case. If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed. Next adapter: SMBus nForce2 adapter at 4400 (i2c-3) Do you want to scan it? (YES/no/selectively): yes Next adapter: SMBus nForce2 adapter at 4440 (i2c-2) Do you want to scan it? (YES/no/selectively): yes Next adapter: SMBus nForce2 adapter at 3400 (i2c-1) Do you want to scan it? (YES/no/selectively): yes Client found at address 0x1f Probing for `Maxim MAX6650/MAX6651'... No Probing for `Philips Semiconductors PCA9556'... No Client found at address 0x2e Probing for `Myson MTP008'... No Probing for `National Semiconductor LM78'... No Probing for `National Semiconductor LM78-J'... No Probing for `National Semiconductor LM79'... No Probing for `National Semiconductor LM80'... No Probing for `National Semiconductor LM85 or LM96000'... No Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... No Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102'... No Probing for `Analog Devices ADT7462'... No Probing for `Analog Devices ADT7467 or ADT7468'... No Probing for `Analog Devices ADT7470'... No Probing for `Analog Devices ADT7473'... No Probing for `Analog Devices ADT7475'... No Probing for `Analog Devices ADT7476'... No Probing for `Andigilog aSC7611'... No Probing for `Andigilog aSC7621'... No Probing for `National Semiconductor LM87'... No Probing for `National Semiconductor LM93'... No Probing for `Winbond W83781D'... No Probing for `Winbond W83782D'... No Probing for `Winbond W83792D'... No Probing for `Winbond W83793R/G'... No Probing for `Winbond W83791SD'... No Probing for `Winbond W83627HF'... No Probing for `Winbond W83627EHF'... No Probing for `Winbond W83627DHG'... No Probing for `Asus AS99127F (rev.1)'... No Probing for `Asus AS99127F (rev.2)'... No Probing for `Asus ASB100 Bach'... No Probing for `Winbond W83L785TS-S'... No Probing for `Analog Devices ADM9240'... No Probing for `Dallas Semiconductor DS1780'... No Probing for `National Semiconductor LM81'... No Probing for `Analog Devices ADM1026'... No Probing for `Analog Devices ADM1025'... No Probing for `Analog Devices ADM1024'... No Probing for `Analog Devices ADM1029'... No Probing for `Analog Devices ADM1030'... No Probing for `Analog Devices ADM1031'... No Probing for `Analog Devices ADM1022'... No Probing for `Texas Instruments THMC50'... No Probing for `Analog Devices ADM1028'... No Probing for `ITE IT8712F'... No Probing for `SMSC DME1737'... No Probing for `Fintek F75373S/SG'... No Probing for `Fintek F75375S/SP'... No Probing for `Fintek F75387SG/RG'... No Probing for `Winbond W83791D'... No Client found at address 0x51 Handled by driver `eeprom' (already loaded), chip type `eeprom' Next adapter: SMBus nForce2 adapter at 3440 (i2c-0) Do you want to scan it? (YES/no/selectively): yes Client found at address 0x52 Handled by driver `eeprom' (already loaded), chip type `eeprom' Client found at address 0x53 Handled by driver `eeprom' (already loaded), chip type `eeprom' Client found at address 0x56 Handled by driver `eeprom' (already loaded), chip type `eeprom' Client found at address 0x57 Handled by driver `eeprom' (already loaded), chip type `eeprom' Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no): yes Probing for `National Semiconductor LM78' at 0x290... No Probing for `National Semiconductor LM78-J' at 0x290... No Probing for `National Semiconductor LM79' at 0x290... No Probing for `Winbond W83781D' at 0x290... No Probing for `Winbond W83782D' at 0x290... No Probing for `Silicon Integrated Systems SIS5595'... No Probing for `VIA VT82C686 Integrated Sensors'... No Probing for `VIA VT8231 Integrated Sensors'... No Probing for `IPMI BMC KCS' at 0xca0... No Probing for `IPMI BMC SMIC' at 0xca8... No Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no): yes Probing for Super-I/O at 0x2e/0x2f Trying family `National Semiconductor'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Fintek'... Yes Found `Winbond W83627HF Super IO Sensors' Success! (address 0xc00, driver `w83627hf') Probing for Super-I/O at 0x4e/0x4f Trying family `National Semiconductor'... No Trying family `SMSC'... Yes Found unknown chip with ID 0x0b00 Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no): yes AMD K8 thermal sensors... Success! (driver `k8temp') Intel Core family thermal sensor... No Intel AMB FB-DIMM thermal sensor... No Now follows a summary of the probes I have just done. Just press ENTER to continue: Driver `eeprom' (should be inserted): Detects correctly: * Bus `SMBus nForce2 adapter at 3400' Busdriver `i2c-nforce2', I2C address 0x51 Chip `eeprom' (confidence: 6) * Bus `SMBus nForce2 adapter at 3440' Busdriver `i2c-nforce2', I2C address 0x52 Chip `eeprom' (confidence: 6) * Bus `SMBus nForce2 adapter at 3440' Busdriver `i2c-nforce2', I2C address 0x53 Chip `eeprom' (confidence: 6) * Bus `SMBus nForce2 adapter at 3440' Busdriver `i2c-nforce2', I2C address 0x56 Chip `eeprom' (confidence: 6) * Bus `SMBus nForce2 adapter at 3440' Busdriver `i2c-nforce2', I2C address 0x57 Chip `eeprom' (confidence: 6) EEPROMs are *NOT* sensors! They are data storage chips commonly found on memory modules (SPD), in monitors (EDID), or in some laptops, for example. Driver `w83627hf' (should be inserted): Detects correctly: * ISA bus, address 0xc00 Chip `Winbond W83627HF Super IO Sensors' (confidence: 9) Driver `k8temp' (should be inserted): Detects correctly: * Chip `AMD K8 thermal sensors' (confidence: 9) I will now generate the commands needed to load the required modules. Just press ENTER to continue: To make the sensors modules behave correctly, add these lines to /etc/modules.conf: #----cut here---- # I2C module options alias char-major-89 i2c-dev #----cut here---- To load everything that is needed, add this to some /etc/rc* file: #----cut here---- # I2C adapter drivers modprobe i2c-nforce2 # Chip drivers modprobe eeprom modprobe w83627hf modprobe k8temp # sleep 2 # optional /usr/local/bin/sensors -s # recommended #----cut here---- If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded. Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): yes Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors for initialization at boot time.