- Dec 29, 2005
- 6,281
- 2,238
- 136
I got a request for a "how to" on monitoring system temps on ubuntu 7.1
Proceed at your own risk & follow the instructions carefully please!!
Here's the process (I copied the terminal commands for the entire process in a file):
mark@ubuntu-desktop:~$ sudo apt-get install lm-sensors
Once lm-sensors is installed:
mark@ubuntu-desktop:~$ sudo sensors-detect
ANSWER YES to all questions!
Here's what happened on my machine:
We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): yes
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel ICH9
We will now try to load each adapter module in turn.
Load `i2c-i801' (say NO if built into your kernel)? (YES/no): yes
Module loaded successfully.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.
To continue, we need module `i2c-dev' to be loaded.
Do you want to load `i2c-dev' now? (YES/no): yes
Module loaded successfully.
We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.
Next adapter: SMBus I801 adapter at 0400 (i2c-0)
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No
Client found at address 0x52
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No
Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): yes
Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM78-J' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Probing for `Silicon Integrated Systems SIS5595'... No
Probing for `VIA VT82C686 Integrated Sensors'... No
Probing for `VIA VT8231 Integrated Sensors'... No
Probing for `IPMI BMC KCS' at 0xca0... No
Probing for `IPMI BMC SMIC' at 0xca8... No
Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... Yes
Found `Winbond W83627DHG Super IO Sensors' Success!
(address 0x290, driver `w83627ehf')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No
Some CPUs or memory controllers may also contain embedded sensors.
Do you want to scan for them? (YES/no): yes
AMD K8 thermal sensors... No
Intel Core family thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `w83627ehf' (should be inserted):
Detects correctly:
* ISA bus, address 0x290
Chip `Winbond W83627DHG Super IO Sensors' (confidence: 9)
Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)
I will now generate the commands needed to load the required modules.
Just press ENTER to continue:
To make the sensors modules behave correctly, add these lines to
/etc/modules:
#----cut here----
# Chip drivers
w83627ehf
coretemp
#----cut here----
Do you want to add these lines to /etc/modules automatically? (yes/NO)yes
OK now the correct modules are loaded in /etc/modules
You can reboot now or load them manually into your kernel
I always avoid reboots if I can so I load manually:
Remember to load them in the order list above!
These are specific for my machine!!! Yours may be different!!
mark@ubuntu-desktop:~$ sudo modprobe w83627ehf
mark@ubuntu-desktop:~$ sudo modprobe coretemp
OK, lets test them:
mark@ubuntu-desktop:~$ sensors
w83627dhg-isa-0290
Adapter: ISA adapter
VCore: +1.18 V (min = +0.00 V, max = +1.74 V)
in1: +11.30 V (min = +1.80 V, max = +3.96 V) ALARM
AVCC: +3.28 V (min = +2.78 V, max = +0.26 V) ALARM
3VCC: +3.28 V (min = +0.93 V, max = +0.42 V) ALARM
blah blah blah blah, etc
OK, now let's get a really cool applet so we can see processor temps, etc on the taskbar.
mark@ubuntu-desktop:~$ sudo apt-get install sensors-applet
OK now right-click on the task bar on the top of your screen and choose add applet.
Scroll down and click on sensors applet and drag it to an empty spot on your taskbar.
Now you should see a bunch of temps on the task bar!!
:beer:
Proceed at your own risk & follow the instructions carefully please!!
Here's the process (I copied the terminal commands for the entire process in a file):
mark@ubuntu-desktop:~$ sudo apt-get install lm-sensors
Once lm-sensors is installed:
mark@ubuntu-desktop:~$ sudo sensors-detect
ANSWER YES to all questions!
Here's what happened on my machine:
We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): yes
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel ICH9
We will now try to load each adapter module in turn.
Load `i2c-i801' (say NO if built into your kernel)? (YES/no): yes
Module loaded successfully.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.
To continue, we need module `i2c-dev' to be loaded.
Do you want to load `i2c-dev' now? (YES/no): yes
Module loaded successfully.
We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.
Next adapter: SMBus I801 adapter at 0400 (i2c-0)
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No
Client found at address 0x52
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No
Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): yes
Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM78-J' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Probing for `Silicon Integrated Systems SIS5595'... No
Probing for `VIA VT82C686 Integrated Sensors'... No
Probing for `VIA VT8231 Integrated Sensors'... No
Probing for `IPMI BMC KCS' at 0xca0... No
Probing for `IPMI BMC SMIC' at 0xca8... No
Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... Yes
Found `Winbond W83627DHG Super IO Sensors' Success!
(address 0x290, driver `w83627ehf')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No
Some CPUs or memory controllers may also contain embedded sensors.
Do you want to scan for them? (YES/no): yes
AMD K8 thermal sensors... No
Intel Core family thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `w83627ehf' (should be inserted):
Detects correctly:
* ISA bus, address 0x290
Chip `Winbond W83627DHG Super IO Sensors' (confidence: 9)
Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)
I will now generate the commands needed to load the required modules.
Just press ENTER to continue:
To make the sensors modules behave correctly, add these lines to
/etc/modules:
#----cut here----
# Chip drivers
w83627ehf
coretemp
#----cut here----
Do you want to add these lines to /etc/modules automatically? (yes/NO)yes
OK now the correct modules are loaded in /etc/modules
You can reboot now or load them manually into your kernel
I always avoid reboots if I can so I load manually:
Remember to load them in the order list above!
These are specific for my machine!!! Yours may be different!!
mark@ubuntu-desktop:~$ sudo modprobe w83627ehf
mark@ubuntu-desktop:~$ sudo modprobe coretemp
OK, lets test them:
mark@ubuntu-desktop:~$ sensors
w83627dhg-isa-0290
Adapter: ISA adapter
VCore: +1.18 V (min = +0.00 V, max = +1.74 V)
in1: +11.30 V (min = +1.80 V, max = +3.96 V) ALARM
AVCC: +3.28 V (min = +2.78 V, max = +0.26 V) ALARM
3VCC: +3.28 V (min = +0.93 V, max = +0.42 V) ALARM
blah blah blah blah, etc
OK, now let's get a really cool applet so we can see processor temps, etc on the taskbar.
mark@ubuntu-desktop:~$ sudo apt-get install sensors-applet
OK now right-click on the task bar on the top of your screen and choose add applet.
Scroll down and click on sensors applet and drag it to an empty spot on your taskbar.
Now you should see a bunch of temps on the task bar!!
:beer: