Lm sensors

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

Installation
Before 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 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 program do the work.

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

USE flags
Portage knows the global USE flag for enabling support for  in other packages.

Local USE flags include:

Emerge
In case any of the packages having the USE flag is installed, set the flag per package in  or globally in  and update @world so that  will be pulled in as dependency:

Otherwise install it directly:

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  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 on system boot add it the default runlevel:

OpenRC
Start now by running:

Testing
Now test if everything works:

Troubleshooting
See the lm_sensors FAQ.