9.10下lm-sensors的问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
Bill Lee
帖子: 598
注册时间: 2009-09-19 20:50

9.10下lm-sensors的问题

#1

帖子 Bill Lee » 2009-12-12 16:40

在9.04时,配置完什么都可以显示,但换9.10后传感器就只剩下Core 0,Core1,GPU,hddtmp了。那些fan,volt,还有CPU都没了。
这要怎么弄呀?
aMule 2.3.1 is coming...
真正动态的 amule-dlp is coming...
本人帐号在2011年1月被盗,在2011年1月3日17:19到2010年1月6日13:34之间本帐号发的一切帖子、短信等与本人无关!
amule-dlp 开发动态
amule-dlp on Google Code
WebArchiver - 基于 wget 的网页归档工具(PyQt4 GUI 前端)
Linux 2.6.34 编译笔记
头像
lucifer591
帖子: 347
注册时间: 2009-07-12 18:49

Re: 9.10下lm-sensors的问题

#2

帖子 lucifer591 » 2009-12-12 17:22

代码: 全选

sudo apt-get install libsensors4

代码: 全选

╭━━灬╮╭━━∞╮ .(
┃⌒ ⌒┃┃⌒ ⌒┃ (の)
┃┃ ┃┃┃━ ━┃ ╱)
〇━━━〇〇━━━〇 
Bill Lee
帖子: 598
注册时间: 2009-09-19 20:50

Re: 9.10下lm-sensors的问题

#3

帖子 Bill Lee » 2009-12-12 20:27

我的libsensors4已经是最新的了
另外,执行sensors-detect输出如下:
# 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):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn.
Load `i2c-i801' (say NO if built into your kernel)? (YES/no):
Module loaded successfully.
If you have undetectable or unsupported I2C/SMBus 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):
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: NVIDIA i2c adapter (i2c-0)
Do you want to scan it? (YES/no/selectively):

Next adapter: NVIDIA i2c adapter (i2c-1)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x49
Probing for `National Semiconductor LM75'... No
Probing for `Dallas Semiconductor DS75'... No
Probing for `National Semiconductor LM77'... No
Probing for `Dallas Semiconductor DS1621/DS1631'... No
Probing for `National Semiconductor LM92'... No
Probing for `National Semiconductor LM76'... No
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'... No
Probing for `EDID EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)

Next adapter: NVIDIA i2c adapter (i2c-2)
Do you want to scan it? (YES/no/selectively):

Next adapter: SMBus I801 adapter at 0400 (i2c-3)
Do you want to scan it? (YES/no/selectively):
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

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):
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):
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 south bridges, CPUs or memory controllers may also contain
embedded sensors. Do you want to scan for them? (YES/no):
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD K10 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 load everything that is needed, add this to /etc/modules:

#----cut here----
# Chip drivers
w83627ehf
coretemp
#----cut here----

Do you want to add these lines automatically? (yes/NO)
aMule 2.3.1 is coming...
真正动态的 amule-dlp is coming...
本人帐号在2011年1月被盗,在2011年1月3日17:19到2010年1月6日13:34之间本帐号发的一切帖子、短信等与本人无关!
amule-dlp 开发动态
amule-dlp on Google Code
WebArchiver - 基于 wget 的网页归档工具(PyQt4 GUI 前端)
Linux 2.6.34 编译笔记
Bill Lee
帖子: 598
注册时间: 2009-09-19 20:50

Re: 9.10下lm-sensors的问题

#4

帖子 Bill Lee » 2009-12-12 20:34

好像发现了一点问题了
用lsmod查看发现没有模块w83627ehf
执行modprobe w83627ehf,提示
FATAL: Error inserting w83627ehf (/lib/modules/2.6.31-16-generic/kernel/drivers/hwmon/w83627ehf.ko): Device or resource busy
不过看看-rw-r--r-- 1 root root 29K 2009-12-08 16:03 w83627ehf.ko,好像没什么问题呀
上次由 Bill Lee 在 2009-12-12 20:39,总共编辑 1 次。
aMule 2.3.1 is coming...
真正动态的 amule-dlp is coming...
本人帐号在2011年1月被盗,在2011年1月3日17:19到2010年1月6日13:34之间本帐号发的一切帖子、短信等与本人无关!
amule-dlp 开发动态
amule-dlp on Google Code
WebArchiver - 基于 wget 的网页归档工具(PyQt4 GUI 前端)
Linux 2.6.34 编译笔记
头像
lucifer591
帖子: 347
注册时间: 2009-07-12 18:49

Re: 9.10下lm-sensors的问题

#5

帖子 lucifer591 » 2009-12-12 20:35

贴上我的执行结果

代码: 全选

# 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): y
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801DB ICH4

We will now try to load each adapter module in turn.
Module `i2c-i801' 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.

To continue, we need module `i2c-dev' to be loaded.
Do you want to load `i2c-dev' now? (YES/no): y
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 e000 (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x2e
Handled by driver `lm85' (already loaded), chip type `lm85c'
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 0x51
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): y
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): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     Yes
Found `SMSC LPC47M10x/112/13x Super IO Fan Sensors'         Success!
    (address 0x680, driver `smsc47m1')
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): y
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
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 `lm85' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at e000'
    Busdriver `i2c-i801', I2C address 0x2e
    Chip `lm85c' (confidence: 6)

Driver `smsc47m1' (should be inserted):
  Detects correctly:
  * ISA bus, address 0x680
    Chip `SMSC LPC47M10x/112/13x Super IO Fan 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----
# I2C adapter drivers
i2c-i801
# Chip drivers
lm85
smsc47m1
#----cut here----

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

代码: 全选

╭━━灬╮╭━━∞╮ .(
┃⌒ ⌒┃┃⌒ ⌒┃ (の)
┃┃ ┃┃┃━ ━┃ ╱)
〇━━━〇〇━━━〇 
Bill Lee
帖子: 598
注册时间: 2009-09-19 20:50

Re: 9.10下lm-sensors的问题

#6

帖子 Bill Lee » 2009-12-12 20:40

现在发现就是-rw-r--r-- 1 root root 29K 2009-12-08 16:03 w83627ehf.ko这个模块加载不了
内核调试信息:
Dec 12 20:36:56 ubuntu kernel: [ 3474.908674] w83627ehf: Found W83627DHG chip at 0x290
Dec 12 20:36:56 ubuntu kernel: [ 3474.908730] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
好像是模块冲突,怎么解决?
aMule 2.3.1 is coming...
真正动态的 amule-dlp is coming...
本人帐号在2011年1月被盗,在2011年1月3日17:19到2010年1月6日13:34之间本帐号发的一切帖子、短信等与本人无关!
amule-dlp 开发动态
amule-dlp on Google Code
WebArchiver - 基于 wget 的网页归档工具(PyQt4 GUI 前端)
Linux 2.6.34 编译笔记
Bill Lee
帖子: 598
注册时间: 2009-09-19 20:50

Re: 9.10下lm-sensors的问题

#7

帖子 Bill Lee » 2009-12-14 13:20

没人知道吗?
自己再顶上来
aMule 2.3.1 is coming...
真正动态的 amule-dlp is coming...
本人帐号在2011年1月被盗,在2011年1月3日17:19到2010年1月6日13:34之间本帐号发的一切帖子、短信等与本人无关!
amule-dlp 开发动态
amule-dlp on Google Code
WebArchiver - 基于 wget 的网页归档工具(PyQt4 GUI 前端)
Linux 2.6.34 编译笔记
头像
行远自迩
帖子: 403
注册时间: 2009-04-19 15:27

Re: 9.10下lm-sensors的问题

#8

帖子 行远自迩 » 2009-12-14 13:49

这个论坛可能关心conky的多,因为更YY吧;
用sensors-applet的相对少很多。

可以试下下面的命令,good luck!

**************************************************
sudo apt-get install sensors-applet

sudo sensors-detect
(可以都选择“yes”吧!)

解决Kernel 2.6.31及以后版本中相关信息显示不全的方法:

sudo gedit /etc/default/grub

添加:
GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax"

保存。

sudo update-grub

重启后,编辑选项即可。
附件
Screenshot.png
无从完美。
Bill Lee
帖子: 598
注册时间: 2009-09-19 20:50

Re: 9.10下lm-sensors的问题

#9

帖子 Bill Lee » 2009-12-14 20:27

谢谢LS,虽然你的解释我看不懂,不过根据你的解释,我baidu到了这篇wikihttp://www.lm-sensors.org/wiki/FAQ/Chap ... rnel2.6.31
我的就是Asus的主板,它说要么调整ACPI,而更推荐用3.1.0以上版本来解决问题,可是Ubuntu的软件源总是慢半拍,还是3.0.0的。算了,将就用acpi_enforce_resources=lax吧。
aMule 2.3.1 is coming...
真正动态的 amule-dlp is coming...
本人帐号在2011年1月被盗,在2011年1月3日17:19到2010年1月6日13:34之间本帐号发的一切帖子、短信等与本人无关!
amule-dlp 开发动态
amule-dlp on Google Code
WebArchiver - 基于 wget 的网页归档工具(PyQt4 GUI 前端)
Linux 2.6.34 编译笔记
sclvinson
帖子: 76
注册时间: 2008-11-09 16:22

Re: 9.10下lm-sensors的问题

#10

帖子 sclvinson » 2010-02-23 1:49

行远自迩 写了:这个论坛可能关心conky的多,因为更YY吧;
用sensors-applet的相对少很多。

可以试下下面的命令,good luck!

**************************************************
sudo apt-get install sensors-applet

sudo sensors-detect
(可以都选择“yes”吧!)

解决Kernel 2.6.31及以后版本中相关信息显示不全的方法:

sudo gedit /etc/default/grub

添加:
GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax"

保存。

sudo update-grub

重启后,编辑选项即可。
还是不行 :em20
回复