Posted by: reformedmusings | August 15, 2008

FINALLY got lm-sensors working in Hardy

I have been unsuccessfully trying to get lm-sensors working since Feisty. Until today. There’s a well-known How To here that, although well-thought out, is a bit dated and just never worked for me. The solution that worked proved much simpler than the how to, probably because of the continued development of Hardy, lm-sensors, and their enabling utilities.

First, using KDE’s KPackage package manager (or Adept or Synaptic), install lm-sensors along with its recommended support programs i2c-tools, read-edid, and sensord. I tried it without these recommended packages and it did not work. lm-sensors will also install some support library dependencies on its own. Then I installed ksensors for KDE along with its recommended support program hddtemp. You can do this in the console by:

sudo aptitude install lm-sensors i2c-tools read-edid sensord ksensors hddtemp

If you use Gnome, then you can install wmgtemp, sensors-applet, xsensors, or hardinfo with their recommended packages. You can filter KPackage (or Adept or Syaptic) on “sensor” to seek out an appropriate display program.

After all this is installed, run the sensors-detect script in the console:

sudo sensors-detect

Answer ‘y’ to every question, including ‘yes’ to adding a section to /etc/modules. When the script completes, restart the system.

After restarting, execute ksensors from the Utilities menu. This will bring up a blank panel and an icon in the system tray. Right-click either the blank panel or the icon in the system tray and select Configure from the pop-up menu. Now simply choose to display the sensors in the panel and the system tray that you wish by clicking the appropriate checkboxes. I only display the CPU and system temperature in the system tray:

CPU temperature over the system temperature in the System Tray

CPU temperature over the system temperature in the system tray

My KSensors panel looks like this:

KSensors panel with lots of meters

KSensors panel with lots of meters

Pretty slick!

Advertisements

Responses

  1. […] good place to start is with lm-sensors. I have a post dedicated to its installation here. While that post was written for Hardy, it works the same in Intrepid. For a graphical interface, […]

  2. sudo sensors-detect
    not
    sudo sensor-detect

  3. Good catch! Fixed.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: