LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1138|回复: 4

求教: lm-sensors安装后无法探测cpu温度!

[复制链接]
发表于 2010-9-8 16:48:16 | 显示全部楼层 |阅读模式
我的安装方法是
sudo apt-get install lm-sensors sensors-applet sensord
然后添加了“Hardware Sensors Monitor”,但是里面的Sensors只有hddtemp一项!
在终端输入:
sensors-detect
然后一路yes后,再用sensors查看后得到
[16:43:39@~]$ sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

请问如何才能查看cpu温度。
发表于 2010-9-8 23:02:55 | 显示全部楼层
sensors-detect有发现sensor吗?如果没有,也许你的主板上根本没有sensor,或者是lm-sensor不支持你的sensor,如果是笔记本的话,thermal sensor不是必须有的,现在新的CPU可以通过PECI界面直接和EC传递温度信息
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-9 08:41:19 | 显示全部楼层
我用sensors-detect似乎没有找到可用的sensor,以下是执行结果:
# sensors-detect revision 5249 (2008-05-11 22:56:25 +0200)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you'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-piix4' for device 0000:00:14.0: ATI Technologies Inc SB600 SMBus

We will now try to load each adapter module in turn.
Module `i2c-piix4' already loaded.
If you have undetectable or unsupported I2C/SMBus adapters, you can have
them scanned by manually loading the modules before running this script.

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 PIIX4 adapter at 0b00 (i2c-0)
Do you want to scan it? (YES/no/selectively): YES
Client found at address 0x52
Handled by driver `eeprom' (already loaded), chip type `eeprom'
    (note: this is probably NOT a sensor chip!)

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 `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'...                       No
Trying family `ITE'...                                      Yes
Found unknown chip with ID 0x8720
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 south bridges, CPUs or memory controllers may also contain
embedded sensors. Do you want to scan for them? (YES/no): YES
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  Success!
    (driver `to-be-written')
Intel Core family thermal sensor...                         No
Intel AMB FB-DIMM thermal sensor...                         No

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

Driver `to-be-written' (should be inserted):
  Detects correctly:
  * Chip `AMD K10 thermal sensors' (confidence: 9)

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

To load everything that is needed, add this to /etc/modules:

#----cut here----
# Chip drivers
# no driver for AMD K10 thermal sensors yet
#----cut here----

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

另外,我在Squeeze里面试过,同样的方法,同样的电脑,squeeze里面就可以检测到cpu温度。
回复 支持 反对

使用道具 举报

发表于 2010-9-9 19:20:34 | 显示全部楼层
那你现在用的是lenny?,内核版本不一样,lm-sensor的版本也不一样,有差别也正常
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-9 19:27:47 | 显示全部楼层
我又换回到Lenny了,因为在Squeeze下面,尽管lm-sensors运行正常,但是硬盘老是莫名其妙的发出“沙沙沙”的声音,很响!一直没有解决这个问题。换回Lenny后就不响了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表