![Hardinfo 在“传感器”部分不显示任何内容](https://linux22.com/image/824388/Hardinfo%20%E5%9C%A8%E2%80%9C%E4%BC%A0%E6%84%9F%E5%99%A8%E2%80%9D%E9%83%A8%E5%88%86%E4%B8%8D%E6%98%BE%E7%A4%BA%E4%BB%BB%E4%BD%95%E5%86%85%E5%AE%B9.png)
有没有办法让 Hardinfo 在“传感器”部分显示结果?目前,无论我等待多久,它都不会显示任何东西。如果这很重要,我已经安装了 lm-sensors,但仍然什么都没有。
答案1
Hardinfo 用于lm-sensors
传感器部分。要查看此处的任何内容,您需要先安装lm-sensors
。
sudo apt-get install lm-sensors
之后您需要设置传感器:
sudo sensors-detect
只需按照它说的做即可。我总是相信它知道自己在做什么,并对所有测试都说“是”,等等。只需确保你说“是”来保存它的发现,因为它默认为“否”。现在重新启动传感器服务:
sudo service module-init-tools start
使用以下命令查看是否找到有效的传感器并且可以使用它们:
sensors
以下是我所说的:
sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +30.0°C (high = +89.0°C, crit = +105.0°C)
Core 2: +28.0°C (high = +89.0°C, crit = +105.0°C)
nct6775-isa-0680
Adapter: ISA adapter
Vcore: +0.95 V (min = +0.00 V, max = +1.74 V)
in1: +0.75 V (min = +0.00 V, max = +0.00 V) ALARM
AVCC: +3.36 V (min = +0.00 V, max = +0.00 V) ALARM
+3.3V: +3.36 V (min = +0.00 V, max = +0.00 V) ALARM
in4: +1.26 V (min = +0.00 V, max = +0.00 V) ALARM
in5: +0.78 V (min = +0.00 V, max = +0.00 V) ALARM
in6: +1.05 V (min = +0.00 V, max = +0.00 V) ALARM
3VSB: +3.34 V (min = +0.00 V, max = +0.00 V) ALARM
Vbat: +3.31 V (min = +0.00 V, max = +0.00 V) ALARM
fan1: 0 RPM (min = 0 RPM, div = 2) ALARM
fan2: 0 RPM (min = 0 RPM, div = 2) ALARM
fan3: 0 RPM (min = 0 RPM, div = 2) ALARM
fan4: 0 RPM (div = 2) ALARM
SYSTIN: +31.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = diode
CPUTIN: +33.0°C (high = +80.0°C, hyst = +75.0°C) sensor = diode
AUXTIN: +23.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
cpu0_vid: +2.050 V
intrusion0: OK
如果没有找到任何传感器,它会说:
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
如果它输出一些值,那么现在运行 hardinfo 时您就会看到这些值。如果没有,您可以尝试sensors-detect
再次运行。
我看到您已经安装了 lm_sensors,但我将该部分留给了其他遇到此问题的人。