$sudo apt-get install lm-sensors
$ sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
這個原因是因爲還沒有配置好機器
解決方法:
$sudo sensors-detect
一直yes就可以了
最後一項就可以看到有兩行coretemp和w83627ehf(這個可能不同機器不一樣)
- $ sudo modprobe -v coretemp
- insmod /lib/modules/3.2.0-27-generic-pae/kernel/drivers/hwmon/coretemp.ko
- sheng@sheng:~$ sensors
- coretemp-isa-0000
- Adapter: ISA adapter
- Physical id 0: +40.0°C (high = +82.0°C, crit = +102.0°C)
- Core 0: +40.0°C (high = +82.0°C, crit = +102.0°C)
- Core 1: +40.0°C (high = +82.0°C, crit = +102.0°C)
- $ sudo modprobe -v w83627ehf
- 這樣會出現
- FATAL: Error inserting w83627ehf (/lib/modules/2.6.31-16-generic/kernel/drivers/hwmon/w83627ehf.ko): Device or resource busy
解決辦法:
$sudo vi /etc/default/grub
GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax"
修改grub文件,加入上面那句話。
$sudo update-grub
$reboot
重啓後執行
- $ sudo modprobe -v w83627ehf
- $ sensors
- coretemp-isa-0000
- Adapter: ISA adapter
- Physical id 0: +43.0°C (high = +82.0°C, crit = +102.0°C)
- Core 0: +40.0°C (high = +82.0°C, crit = +102.0°C)
- Core 1: +43.0°C (high = +82.0°C, crit = +102.0°C)
- nct6776-isa-0290
- Adapter: ISA adapter
- Vcore: +0.97 V (min = +0.00 V, max = +1.74 V)
- in1: +1.01 V (min = +0.00 V, max = +0.00 V) ALARM
- AVCC: +3.33 V (min = +2.98 V, max = +3.63 V)
- +3.3V: +3.33 V (min = +2.98 V, max = +3.63 V)
- in4: +1.02 V (min = +0.00 V, max = +0.00 V) ALARM
- in5: +2.04 V (min = +0.00 V, max = +0.00 V) ALARM
- 3VSB: +3.41 V (min = +2.98 V, max = +3.63 V)
- Vbat: +3.30 V (min = +2.70 V, max = +3.30 V) ALARM
- fan1: 0 RPM (min = 0 RPM) ALARM
- fan2: 2477 RPM (min = 0 RPM) ALARM
- fan3: 0 RPM (min = 0 RPM) ALARM
- fan4: 0 RPM (min = 0 RPM) ALARM
- fan5: 0 RPM (min = 0 RPM) ALARM
- SYSTIN: +37.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistor
- CPUTIN: +84.5°C (high = +81.0°C, hyst = +76.0°C) ALARM sensor = thermistor
- AUXTIN: +49.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
- PECI Agent 0: +41.0°C
- cpu0_vid: +2.050 V
- intrusion0: OK
- intrusion1: ALARM