Enabling Thermal Sensor Drivers
Novell Cool Solutions: Tip
By Kirk Coombs
Digg This -
Posted: 3 Nov 2005
- SUSE Linux
- SUSE Linux Enterprise Server
- Novell Linux Desktop
- Open Enterprise Server
Most computers have integrated temperature-sensing circuitry which can be used to monitor the temperature of the CPU, motherboard chip set, etc. In SUSE Linux the drivers for these circuits is not enabled for default. This tip explains how to enable the drivers and access the temperature information
The application used to monitor system temperatures is called lm_sensors, and is installed by default but must be configured to each specific system.
Log-in as root.
Run the lm_sensors configuration command:
The sensors-detect command runs through a configuration wizard which detects the available temperature sensors and loads the proper modules. For most systems simply selecting all the defaults works. The final step generates /etc/sysconfig/lm_sensors. You are instructed to add module information to /etc/modprobe.conf and create a /etc/rc.* file. This is not necessary. The module information is written to /etc/sysconfig/lm_sensors, and the default /etc/init.d/lm_sensors file reads them from it.
Configure lm_sensors to start on boot:
# insserve lm_sensors
Reading the sensors
The sensors can be read in a couple of ways. Begin my starting the sensors by entering:
# /etc/init.d/lm_sensors start
The sensors are then read by entering:
# /etc/init.d/lm_sensors status
The command-line interface to the sensors does provide the raw data, but does not make it very easy to parse. There are several GUI front ends to sensors which make them more useful. Examples include:
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com