Novell Home

Enabling Thermal Sensor Drivers

Novell Cool Solutions: Tip
By Kirk Coombs

Digg This - Slashdot This

Posted: 3 Nov 2005
 

Applies To:

  • SUSE Linux
  • SUSE Linux Enterprise Server
  • Novell Linux Desktop
  • Open Enterprise Server

Background

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

Configuring sensors

The application used to monitor system temperatures is called lm_sensors, and is installed by default but must be configured to each specific system.

  1. Log-in as root.

  2. Run the lm_sensors configuration command:

    # sensors-detect
  3. 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.

  4. 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

or

# sensors

GUI options

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

© 2014 Novell