Lm sensors

lm_sensors is a set of hardware monitoring user space utilities. They are helpful for tracking temperature, fan, and voltage.

Installation
Before lm_sensors will work as intended, the currently running Linux kernel must have the proper modules available to or built-in to the binary in order to give lm_sensors the sensor-related data needed for correct operation. There is a chance these modules have been previously built as modules or are currently included the Kernel's binary (built-in). It is also possible the Kernel is lacking the modules or features. If something is missing then the user will have to take the actions necessary to correct the absence.

In any case a simple hardware detection should be performed using the sensors-detect tool to scan the hardware on the motherboard. Once the hardware has been determined the program will display the output on what is or is not included in the kernel configuration. This step will be performed after installation during the configuration section below.

Another option is to check the Supported Device List on the official website. It is possible to enable all drivers and let the sensors-detect program do the work.

Kernel
I2C support is needed along with the following kernel options:

Global
Portage knows the global USE flag for enabling support for lm_sensors in other packages. Enabling this USE flag will pull in automatically once an emerge --changed-use is ran:

Local
Local USE flags include:

Emerge
Presuming the global USE flag was set in as suggested above update the system so the changes take effect:

Configuration
If all drivers were built into the kernel, skip to the next section and proceed with testing. Otherwise configure the modules as needed.

Modules
The sensors-detect  tool can be used to find available sensors and associated kernel modules:

Follow the instructions and answer the last question, whether should be generated or overwritten by entering   to the series of detection questions.

OpenRC
To start lm_sensors on system boot add it the default runlevel:

OpenRC
Start lm_sensors</tt> now by running:

Testing
Now test if everything works:

Troubleshooting
See the lm_sensors FAQ.