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:
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:
My KSensors panel looks like this: