sensorsで得られる情報が極端に少ない。何かエラーがあるようだ。
# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +31.0°C (crit = +100.0°C)
エラーメッセージを探ってみる。案の定、/var/log/dmesgにエラーが吐き出されている。ちなみに、利用中のlm-sensorsのバージョンは3.0.2。
# cat /var/log/messages |grep -e w83627hf
Feb 10 23:50:43 i915-ubuntu kernel: [ 16.026348] w83627hf: Found W83627THF chip at 0x290
Feb 11 09:05:43 i915-ubuntu kernel: [ 8.952755] w83627hf: Found W83627THF chip at 0x290
# cat /var/log/dmesg |grep -e w83627hf
[ 8.952755] w83627hf: Found W83627THF chip at 0x290
[ 8.952784] ACPI: I/O resource w83627hf [0x295-0x296] conflicts with ACPI region SEN1 [0x295-0x296]
# dpkg -l lm-sensors
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ 名前 バージョ 説明
+++-==============-==============-============================================
ii lm-sensors 1:3.0.2-2ubunt utilities to read temperature/voltage/fan se
公式ホームページで解決方法を探したところ、ちゃんと記載されていた。
lm-sensors FAQ : My sensors have stopped working in kernel 2.6.31
If you want to restore the old behaviour (which might be dangerous) add: "acpi_enforce_resources=lax" to the kernel cmdline when booting (or add it in grub.conf to make this permanent).
ということで、Grub2の設定を行う。
/etc/defaults/grub
GRUB_CMDLINE_LINUX_DEFAULT="splash acpi_enforce_resources=lax"
update-grubコマンドを実行してGrub2の設定のアップデートを行い、再起動後sensorsの出力を確認すると、ちゃんと情報が得られるようになっている。
$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +41.0°C (crit = +100.0°C)
w83627thf-isa-0290
Adapter: ISA adapter
VCore: +1.32 V (min = +0.70 V, max = +1.87 V)
+12V: +12.10 V (min = +0.00 V, max = +3.89 V) ALARM
+3.3V: +3.38 V (min = +1.54 V, max = +0.00 V) ALARM
+5V: +4.96 V (min = +0.00 V, max = +0.05 V) ALARM
-12V: -5.62 V (min = -0.44 V, max = -14.91 V) ALARM
V5SB: +5.00 V (min = +1.08 V, max = +1.72 V) ALARM
VBat: +3.30 V (min = +0.53 V, max = +0.02 V) ALARM
fan1: 1520 RPM (min = 664 RPM, div = 8)
CPU Fan: 2008 RPM (min = 664 RPM, div = 8)
fan3: 0 RPM (min = 664 RPM, div = 8) ALARM
M/B Temp: +21.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistor
CPU Temp: +38.5°C (high = +75.0°C, hyst = +70.0°C) sensor = diode
temp3: -48.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
beep_enable:enabled