Hardware Monitoring under Ubuntu 7.10
November 14th, 2007
Hardware Monitoring is not enabled by default in Ubuntu 7.10. It is still not so easy to setup all in the right way. My goal was to control the speed of my fans and display some temperatures. I hope this little tutorial helps you.
I start with a newly installed Desktop Ubuntu 7.10 with Gnome Desktop in mind.
Basic Steps
- Install
lm-sensors - Configure
lm-sensors - Install
sensors-applet - Place the Gnome Sensors Applet into a panel and choose your temps to display
- Configure your fans
Install lm-sensors
This is easy as always. Simply type the following into a terminal. You will be asked for your own password, because installation requires root access.
sudo apt-get install lm-sensors
Configure lm-sensors
Please run:
sudo sensors-detect
You will be asked some questions. Answer all with “yes”. At the end you will get a listing of kernel modules (drivers) to load for your hardware configuration. My system is an ASUS P5B Deluxe with a Core 2 Duo Processor. The output looks so:
To make the sensors modules behave correctly, add these lines to/etc/modules:#----cut here----# I2C adapter drivers# modprobe unknown adapter NVIDIA i2c adapter# modprobe unknown adapter NVIDIA i2c adapter# modprobe unknown adapter NVIDIA i2c adapter# modprobe unknown adapter ISA main adapter# Chip driverslm90w83627ehfcoretemp#----cut here----
Now you can let the script insert this configuration into the /etc/modules. It works without any problems. Now its safest to reboot but you can avoid the reboot if you are familiar with module loading.
Once you are back, you should do a quick check if all is running properly by running
sensors
in the terminal. On my system it looks so:
w83627dhg-isa-0290Adapter: ISA adapterVCore: +1.57 V (min = +0.00 V, max = +1.74 V)in1: +12.14 V (min = +0.00 V, max = +0.00 V) ALARMAVCC: +3.33 V (min = +0.00 V, max = +2.58 V) ALARM3VCC: +3.33 V (min = +0.51 V, max = +1.28 V) ALARMin4: +1.34 V (min = +0.00 V, max = +0.03 V) ALARMin5: +1.59 V (min = +0.13 V, max = +1.45 V) ALARMin6: +4.15 V (min = +2.25 V, max = +0.03 V) ALARMVSB: +3.31 V (min = +0.00 V, max = +0.19 V) ALARMVBAT: +1.02 V (min = +1.33 V, max = +2.37 V) ALARMCase Fan: 0 RPM (min = 10546 RPM, div = 128) ALARMCPU Fan: 0 RPM (min = 104 RPM, div = 128) ALARMAux Fan: 1222 RPM (min = 42187 RPM, div = 8) ALARMfan4: 0 RPM (min = 0 RPM, div = 128) ALARMfan5: 2860 RPM (min = 3497 RPM, div = 2) ALARMSys Temp: +37°C (high = +2°C, hyst = +68°C)CPU Temp: +31.5°C (high = +80.0°C, hyst = +75.0°C)AUX Temp: +127.0°C (high = +80.0°C, hyst = +75.0°C) ALARMcoretemp-isa-0000Adapter: ISA adapterCore 0: +29°C (high = +85°C)coretemp-isa-0001Adapter: ISA adapterCore 1: +30°C (high = +85°C)
If you see some reasonable output, your lm-sensors configuration will work properly. Now we can use some cool GUI tool to display these values.
Install sensors-applet
The package sensors-applet provides a usual Gnome desktop applet. I have chosen this because it integrates very well with the Gnome desktop. It looks an behaves just right. To install it type in the usual:
sudo apt-get install sensors-applet
Place the Gnome Sensors Applet into a panel and choose your temps to display
To place the sensors applet into your top panel, right click on it and choose Add to Panel....

Than you will see the Add to Panel Dialog. To get fast access to the Sensors Applet type in “sensors”.

Than drag&drop the Hardware Sensors Monitor onto you top panel. You will see some temperature sensors by default.

After this you are free to configure the applet. Do this by right clicking an chose Preferences. I choose to display only the System and the two Core temps.
Configure your Fans
Normally you would run pwmconfig and use than fancontrol but on my system it does not work. So I can’t write anything about it. I will continue writing if I solved this problem.
Update (20.09.2008)
It works the same in Ubuntu 8.04. Only the new sensors-applet needs a new config if you update from Ubuntu 7.10.
Update (21.01.2010)
It works the same in Ubuntu 9.10.
Hallo.
wie wäre eine Anpassung weiterer Hardware oder ist das Projekt tot.
very helpful…
I preferred to thank you for this good article. http://wsdxj.quebecblogue.com/ I by all odds liked every little bit of it…
Greate…
It’s such a great site! http://www.blurty.com/users/kateyfiallen/ Great post, I just bookmarked it on Digg….
Greate…
It’s such a great site! http://andrea1070smiths.onsugar.com/IIFA-awards-start-Toronto-18006763 Great post, I just bookmarked it on Digg….