Configure CPU temperature in ubuntu. fan speed and hard disk temperature monitoring

Source: Internet
Author: User
Article Title: ubuntu CPU temperature configuration. fan speed, hard disk temperature monitoring. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Some friends on the forum could not monitor the hardware status by using the sensor on the motherboard after installing Ubuntu. This is not described in the Forum (maybe, I didn't see it ), write out your installation experience and hope to help people who are new to Ubuntu.

First, let's talk about my configuration. The machine four years ago:

CPU: AMD Athlon XP 2200 +
Motherboard: Soltek SL-KT400-C
Operating System: Ubuntu Feisty 7.04


Because the cooling fan of the CPU is not very good, the CPU temperature is higher than 70 degrees in summer, so the CPU idle is used in Windows to reduce the temperature. After Ubuntu is installed, you naturally pay more attention to the machine status and pay special attention to the CPU temperature. Therefore, after Google and Baidu, the installation method is summarized as follows:

Step 1: Install lm-sensors and sensors-applet (you can also select CompTemp Monitor, a new software found later). Open the terminal and enter:

Sudo apt-get install lm-sensors-applet

Enter the Root password as prompted, and then close the terminal after download and installation. Right-click the position of the panel where you want to display the sensor temperature and select the "add to panel" menu command, select "Hardware Sensors Monitor" in the list and click "add" to add the Applet. It is best to detect the sensor directly. If No sensor is detected (my sensor is not displayed) and "No sensors found" is displayed, go to the next step.

Step 2: Manually configure the sensor:

The sensor may not be configured during Ubuntu installation. You need to manually configure the sensor. Lm-sensors provides a very good command: sensors-detect, which automatically detects the required modules. Similar to the common "Next" Mode in Windows software, it guides you to configure sensors, in the wizard, follow the prompts to answer "Yes" or "ENTER ". generally, you can ENTER "Yes"/"ENTER" all the way down. When I check the configuration, the "Yes" and "ENTER" are all the way down.

Enter at the terminal:

Sudo sensors-detect

Process:

Louis @ Ubuntu-desktop :~ $ Sudo sensors-detect
# Sensors-detect revision 4171 (03:37:01-0700)

This program will help you determine which kernel modules you need
To load to use lm_sensors most into tively. It is generally safe
And recommended to accept the default answers to all questions,
Unless you know what you're re doing.

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-viapro 'for device :00:11. 0: VIA Technologies VT8233A/8235 South Bridge

We will now try to load each adapter module in turn.
Module 'i2c-viapro 'already loaded.
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 Via Pro adapter at 0400
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x4c
Handled by driver 'lm90' (already loaded), chip type 'lm90'
Client found at address 0x4e
Probing for 'national semicondulm75'... No
Probing for 'Dallas semiconduds1621 '... No
Probing for 'analog Devices ADM1021 '... No
Probing for 'analog Devices ADM1021A/adm1023'... No
Probing for 'maxim max1617'... No
Probing for 'maxim MAX1617A '... No
Probing for 'ti thmc10'... No
Probing for 'national semicondulm84 '... No
Probing for 'genesys Logic GL523SM '... No
Probing for 'onsemi MC1066 '... No
Probing for 'maxim max1619'... No
Probing for 'national semicondulm82/LM83 '... No
Probing for 'maxim max6659'... No
Probing for 'maxim MAX6633/MAX6634/max6635'... No
Probing for 'ite IT8201R/IT8203R/IT8206R/it8266r'... No
Probing for 'fintek F75111R/RG/N (GPIO) '... No
Probing for 'fintek F75121R/F75122R/RG (VID + GPIO) '... No
Client found at address 0x50
Probing for 'analog Devices ADM1033 '... No
Probing for 'analog Devices ADM1034 '... No
Probing for 'spd EEPROM '... Success!
(Confidence 8, driver 'eeprom ')
Probing for 'edid EEPROM '... No
Probing for 'maxim MAX6900 '... No
Client found at address 0x51
Probing for 'analog Devices ADM1033 '... No
Probing for 'analog Devices ADM1034 '... No
Probing for 'spd EEPROM '... Success!
(Confidence 8, driver 'eeprom ')
Client found at address 0x69

Some chips are also accessible through the isa I/O ports. We have
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 semicondulm78 'at 0x290... No
Probing for 'national semiconduLM78-J 'at 0x290... No
Probing for 'national semicondulm79 'at 0x290... No
Probing for 'winbond w81_1d 'at 0x290... No
Probing for 'winbond w81_2d 'at 0x290... No
Probing for 'winbond W83627HF '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 'amd K8 thermal 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
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 'ite '... Yes
Found 'ite IT8705F Super IO Sensors 'Success!
(Address 0x290, driver 'it87 ')
Trying family 'national semicondu'... No
Trying family 'smsc '... No
Trying family 'via/Winbond/Fintek '... No
Probing for Super-I/O at 0x4e/0x4f
Trying family 'ite '... Yes
Found 'ite IT8705F Super IO Sensors 'Success!
(Address 0x290, driver 'it87 ')
Trying family 'national semicondu'... No
Trying family 'smsc '... No
Trying family 'via/Winbond/Fintek '... No

Now follows a summary of the probes I have just done.
Just press ENTER to continue: ENTER

Driver 'lm90' (shocould be inserted ):
Detects correctly:
* Bus 'smbus Via Pro adapter at 100'
Busdriver 'i2c-viapro ', i2c address 0x4c
Chip 'lm90' (confidence: 6)

Driver 'eeprom '(shocould be inserted ):
Detects correctly:
* Bus 'smbus Via Pro adapter at 100'
Busdriver 'i2c-viapro ', i2c address 0x50
Chip 'spd EEPROM '(confidence: 8)
* Bus 'smbus Via Pro adapter at 100'
Busdriver 'i2c-viapro ', i2c address 0x51
Chip 'spd EEPROM '(confidence: 8)

EEPROMs are ** NOT * sensors! They are data storage chips commonly
Found on memory modules (SPD), in monitors (EDID), or in some
Laptops, for example.

Driver 'it87' (shocould be inserted ):
Detects correctly:
* ISA bus address 0x0290 (Busdriver 'i2c-isa ')
Chip 'ite IT8705F Super IO Sensors '(confidence: 9)

I will now generate the commands needed to load the required modules.
Just press ENTER to continue: ENTER

To make the sensors modules behave correctly, add these lines
/Etc/modules:

# ---- Cut here ----
# I2C adapter drivers
I2c-viapro
# Chip drivers
Lm90
Eeprom
It87
# ---- Cut here ----

# The above content is the key. It lists the modules to be loaded at startup. The detection results are the same as that of the motherboard I found using EVEREST Ultimate in Windows: VIA KT400 chipset and sensor ITE IT8705F, National LM90 (ISA 290 h, SMBus 4Ch), if the above detection fails to find the sensor on your motherboard, view/usr/share/doc/lm-sensors/doc/lm_sensors-FAQ.html or go to lm-sensors wiki: http://www.lm-sensors.org/wiki to find the solution.

Do you want to add these lines to/etc/modules automatically? (Yes/NO) yes

[1] [2] [3] Next page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.