%general-entities; ]> $LastChangedBy$ $Date$ lm_sensors-&lm_sensors-version; lm_sensors Introduction to Lm Sensors The Lm Sensors package provides user-space support for the hardware monitoring drivers in the Linux kernel. This is useful for monitoring the temperature of the CPU and adjusting the performance of some hardware (such as cooling fans). &lfs72_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &lm_sensors-md5sum; Download size: &lm_sensors-size; Estimated disk space required: &lm_sensors-buildsize; Estimated build time: &lm_sensors-time; Lm Sensors Dependencies Required . Optional RRDtool. User Notes: Kernel Configuration Getting your kernel config right is an iterative process that may require that you recompile your kernel a couple of times. The simplest way to go about it is to start by enabling modules and then compile everything that may be needed by Lm Sensors as a module: General setup ---> [*] Prompt for development and/or incomplete code/drivers [*] Enable loadable module support ---> Bus options (PCI etc.) ---> [*] PCI support Device Drivers ---> [*] I2C support [*] I2C device interface I2C Algorithms ---> <M> (configure all of them as modules) I2C Hardware Bus support ---> <M> (configure all of them as modules) I2C Hardware Bus support ---> <M> (configure all of them as modules) [*] Hardware Monitoring support ---> <M> (configure all of them as modules) Recompile your kernel and reboot into the new kernel. Don't forget to make modules_install We will come back to the kernel in the Configuring section below. lm_sensors Installation of Lm Sensors Install Lm Sensors by running the following commands: make PREFIX=/usr BUILD_STATIC_LIB=0 \ MANDIR=/usr/share/man This package does not come with a test suite. Now, as the root user: make PREFIX=/usr BUILD_STATIC_LIB=0 \ MANDIR=/usr/share/man install && mkdir -p /usr/share/doc/lm_sensors-&lm_sensors-version; && cp -rf doc/* /usr/share/doc/lm_sensors-&lm_sensors-version; Command Explanations BUILD_STATIC_LIB=0: This parameter disables compiling and installing the static version of libsensors. PROG_EXTRA=sensord: This parameter enables compiling sensord, a daemon that can monitor your system at regular intervals. Compiling sensord requires RRDtool. Compiling RRDtool 1.4.6 requires a sed: sed -i '/ sv_undef/d' bindings/perl-shared/RRDs.xs. Configuring Lm Sensors Config File /etc/sensors3.conf. /etc/sensors3.conf Configuration Information To find out what hardware sensors your system has, as the root user: sensors-detect Hopefully it will load the appropriate modules and give you a summary at the end. Now you know what is needed you can recompile your kernel and just enable the options you need (ie, don't enable the modules you can't use). Contents Installed Programs Installed Library Installed Directories fancontrol, isadump, isaset, pwmconfig, sensors, sensors-conf-convert and sensors-detect. libsensors.so. /usr/include/sensors and /usr/share/doc/lm_sensors-&lm_sensors-version;. Short Descriptions fancontrol is a shell script for use with lm_sensors. It reads its configuration from a file, then calculates fan speeds from temperatures and sets the corresponding PWM outputs to the computed values. fancontrol isadump is a small helper program to examine registers visible through the ISA bus. It is intended to probe any chip that lives on the ISA bus working with an address register and a data register (I2C-like access) or a flat range (of up to 256 bytes). isadump isaset is a small helper program to set registers visible through the ISA bus. isaset pwmconfig tests the pulse width modulation (PWM) outputs of sensors and configures fancontrol. pwmconfig sensors prints the current readings of all sensor chips. sensors sensors-conf-convert is a Perl script to convert lm-sensors version 2 configuration files to work with version 3. sensors-conf-convert sensors-detect is a Perl script that will walk you through the process of scanning your system for various hardware monitoring chips, or sensors, supported by libsensors(3), or more generally by the lm_sensors tool suite. sensors-detect libsensors.so contains the lm_sensors API functions. libsensors.so