First, install lm-sensors . which contains a program for detecting sensors on your machine. Next, open a terminal and run:
sudo sensors-detect
Follow the instructions (usually, pressing Enter to accept the defaults is enough):
# sensors-detect revision 5861 (2010-09-21 17:21:05 +0200)
# System: CLEVO CO. B7130 (laptop)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
After a few questions, you've to press Enter once again to get a summary:
....
Next adapter: DPDDC-C (i2c-14)
Do you want to scan it? (YES/no/selectively):
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
On the last question if you'd like to add modules to /etc/modules
, type yes
and press Enter:
Driver `coretemp':
* Chip `Intel digital thermal sensor' (confidence: 9)
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!
Do you want to add these lines automatically to /etc/modules? (yes/NO)
After exiting sensors-detect
, the modules are unloaded again and won't be loaded automatically until the next boot, so load the modules manually using sudo modprobe module-name
. I had a module named coretemp
, so I ran the next command to get extra sensors:
sudo modprobe coretemp
If you restart xsensors
, the new sensor will become available. Another command from the lm-sensors
package is sensors
which shows its output in the terminal. Example output of sensors
:
acpitz-virtual-0
Adapter: Virtual device
temp1: +44.0°C (crit = +105.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +41.0°C (high = +95.0°C, crit = +105.0°C)
coretemp-isa-0001
Adapter: ISA adapter
Core 2: +39.0°C (high = +95.0°C, crit = +105.0°C)