有没有办法让 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,但我将该部分留给了其他遇到此问题的人。