%general-entities; ]> Lm-sensors-&lm-sensors-version; lm_sensors Introduction to Lm_sensors The lm_sensors package provides userspace 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). &lfs121_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 (required to build the sensord program) and dmidecode (runtime) Kernel Configuration The following configuration options attempt to cover the most common hardware monitoring devices in a typical desktop or laptop system. View the help of each (by pressing the H button with the option focused in the make menuconfig) to know if you need it. There are many platform-specific hardware monitoring devices so it's impossible to list the configuration for all of them here. You may investigate the content of /sys/class/hwmon within a mainstream distro running on the system to know which drivers you need. Recompile your kernel and reboot into the new kernel. 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 && install -v -m755 -d /usr/share/doc/lm_sensors-&lm-sensors-version; && cp -rv README INSTALL 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. : This parameter enables compiling sensord, a daemon that can monitor your system at regular intervals. Compiling sensord requires RRDtool. Be sure to install RRDtool in /usr by running make prefix=/usr when building it. Otherwise, Lm_sensors will not find it easily. Configuring Lm_sensors Config File /etc/sensors3.conf /etc/sensors3.conf Contents Installed Programs Installed Library Installed Directories fancontrol, isadump, isaset, pwmconfig, sensors, sensors-conf-convert, sensors-detect, and optionally, sensord libsensors.so /etc/sensors.d, /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 (sensors) supported by libsensors, or more generally by the lm_sensors tool suite sensors-detect sensord (optional) is a daemon that can be used to periodically log sensor readings sensord libsensors.so contains the lm_sensors API functions libsensors.so