Hi! I have beed struggling with lm-sensors for a long time, and I’ve had many problems and questions during the installation (or configuration). Thats the reason of starting this thread. I will try to install it again following http://ubuntuforums.org/showthread.php?t=2780 tutorial, and I will ask here my n00b questions. I hope somebody will help me. Thanks.
Well, I’ve done steps 1 and 2 without any problems. I’ve almost done step 3, but I want to ask about the last part of step 3:
Should I add exactly these lines, or does it depend on the previous output?To make the sensors modules behave correctly, add these lines to
/etc/modprobe.d/local and run update-modules:
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
Code:$ sudo apt-get install lm-sensors Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 conky-all liblua5.1-0 libimlib2 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. Suggested packages: sensord read-edid i2c-tools The following NEW packages will be installed: lm-sensors 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/125kB of archives. After this operation, 569kB of additional disk space will be used. Selecting previously deselected package lm-sensors. (Reading database ... 176956 files and directories currently installed.) Unpacking lm-sensors (from .../lm-sensors_1%3a3.0.2-2ubuntu4_i386.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... ureadahead will be reprofiled on next reboot Setting up lm-sensors (1:3.0.2-2ubuntu4) ... ~$ cd lm-sensors ~/lm-sensors$ chmod 755 mkdev.sh ~/lm-sensors$ sudo ./mkdev.sh /dev/i2c-0 /dev/i2c-1 /dev/i2c-2 /dev/i2c-3 /dev/i2c-4 /dev/i2c-5 /dev/i2c-6 /dev/i2c-7 /dev/i2c-8 /dev/i2c-9 /dev/i2c-10 /dev/i2c-11 /dev/i2c-12 /dev/i2c-13 /dev/i2c-14 /dev/i2c-15 /dev/i2c-16 /dev/i2c-17 /dev/i2c-18 /dev/i2c-19 /dev/i2c-20 /dev/i2c-21 /dev/i2c-22 /dev/i2c-23 /dev/i2c-24 /dev/i2c-25 /dev/i2c-26 /dev/i2c-27 /dev/i2c-28 /dev/i2c-29 /dev/i2c-30 /dev/i2c-31 ~/lm-sensors$ sensors-detect You need to be root to run this script. ~/lm-sensors$ sudo sensors-detect # sensors-detect revision 5249 (2008-05-11 22:56:25 +0200) 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-i801' for device 0000:00:1f.3: Intel 82801H ICH8 We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no): y Module loaded successfully. If you have undetectable or unsupported I2C/SMBus adapters, you can have them scanned by manually loading the modules before running this script. To continue, we need module `i2c-dev' to be loaded. Do you want to load `i2c-dev' now? (YES/no): y Module loaded successfully. 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. 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): y 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 `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): y 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 W83627DHG Super IO Sensors' Success! (address 0x290, driver `w83627ehf') Probing for Super-I/O at 0x4e/0x4f Trying family `National Semiconductor'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Fintek'... No Trying family `ITE'... No Some south bridges, CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no): y Silicon Integrated Systems SIS5595... No VIA VT82C686 Integrated Sensors... No VIA VT8231 Integrated Sensors... No AMD K8 thermal sensors... No AMD K10 thermal sensors... No 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 `w83627ehf' (should be inserted): Detects correctly: * ISA bus, address 0x290 Chip `Winbond W83627DHG Super IO Sensors' (confidence: 9) I will now generate the commands needed to load the required modules. Just press ENTER to continue: To load everything that is needed, add this to /etc/modules: #----cut here---- # Chip drivers w83627ehf #----cut here---- Do you want to add these lines automatically? (yes/NO)y ~/lm-sensors$ cd ~$ /etc/init.d/module-init-tools Usage: /etc/init.d/module-init-tools COMMAND



Adv Reply

Bookmarks