Lm sensors

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

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 archive.org. Finally, detects the supported drivers if all drivers in kernel section Hardware Monitoring support are enabled.

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, it will probe which sensors are available and load the relevant kernel modules. The final question will allow you to write a config file in that contains the kernel modules that need to be loaded. This will only work if the  runscript is started, add it to the   runlevel if necessary.

If you use  to declare which kernel modules to load simply add the necessary kernel modules as shown by   to it.

OpenRC
Start the sensors daemon now:

To start on system boot add it the default runlevel:

systemd
Start the sensors daemons now:

Enable the sensors daemon for future boots:

Testing
Now test if everything works:

Troubleshooting
See the lm_sensors FAQ.