Hardware Sensors

From gr0x0rd
Jump to navigation Jump to search

Configuring Hardware - Hardware Sensors

Chances are your hardware contains a number of sensors for monitoring temperature, power, fan speed and more. The package that installs the tools is called lm_sensors. Make sure you have the lm_sensors USE flag set in your /etc/make.conf. You will also want to set the package-specific USE flag sensord in your /etc/portage/package.use.

$ sudo emerge -av lm_sensors

Next we will run a utility that probes the system and detects the sensors. If any hardware monitoring chips are detected on your system, the program will list the kernel modules needed to interface with them.

$ sudo sensors-detect

Simply say yes to the various probes. At the end of the configuration, the program should generate the config file for you. Start the sensor daemon, and add it to startup.

$ sudo /etc/init.d/sensord start
$ sudo rc-update add sensord default