$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
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://sg.hqyman.cn/post/4603.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
休息一下~~