There’s a wierd thing happening, the system appears to be changing the file that the CPU temp gets written too after a reboot.
It’s now on temp7_input
Why does it change that…?
There’s a wierd thing happening, the system appears to be changing the file that the CPU temp gets written too after a reboot.
It’s now on temp7_input
Why does it change that…?
Hmm, there was no kernel upgrade in the meantime, which could cause this? The same sysfs entry should be used on every boot session.
Can you check lm-sensors:
apt install lm-sensors
sensors
It might show some indicators about which sensor is for which device.
Hi Michalng
Sensors for the CPU are:
k10temp-pci-00c3
Adapter: PCI adapter
Tctl: +31.2°C
Tdie: +31.2°C
It’s accurate, when I run a stress test the temperature rises in line with expectations.
Of if you want everything:
k10temp-pci-00c3
Adapter: PCI adapter
Tctl: +31.2°C
Tdie: +31.2°C
nvme-pci-0100
Adapter: PCI adapter
Composite: +28.9°C
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: N/A
nct6792-isa-0290
Adapter: ISA adapter
in0: 376.00 mV (min = +0.00 V, max = +1.74 V)
in1: 0.00 V (min = +0.00 V, max = +0.00 V)
in2: 3.33 V (min = +0.00 V, max = +0.00 V) ALARM
in3: 3.33 V (min = +0.00 V, max = +0.00 V) ALARM
in4: 0.00 V (min = +0.00 V, max = +0.00 V)
in5: 0.00 V (min = +0.00 V, max = +0.00 V)
in6: 928.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in7: 3.44 V (min = +0.00 V, max = +0.00 V) ALARM
in8: 3.28 V (min = +0.00 V, max = +0.00 V) ALARM
in9: 1.85 V (min = +0.00 V, max = +0.00 V) ALARM
in10: 168.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in11: 120.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in12: 1.83 V (min = +0.00 V, max = +0.00 V) ALARM
in13: 1.69 V (min = +0.00 V, max = +0.00 V) ALARM
in14: 0.00 V (min = +0.00 V, max = +0.00 V)
fan1: 881 RPM (min = 0 RPM)
fan2: 974 RPM (min = 0 RPM)
fan3: 882 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
SYSTIN: +122.0°C (high = +0.0°C, hyst = +0.0°C) sensor = thermistor
CPUTIN: -62.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
AUXTIN0: +30.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistor
AUXTIN1: +112.0°C sensor = thermistor
AUXTIN2: +113.0°C sensor = thermistor
AUXTIN3: -128.0°C sensor = thermistor
SMBUSMASTER 0: +31.5°C
PCH_CHIP_CPU_MAX_TEMP: +0.0°C
PCH_CHIP_TEMP: +0.0°C
PCH_CPU_TEMP: +0.0°C
intrusion0: OK
intrusion1: ALARM
beep_enable: disabled
This is getting frustrating
On a new machine, the temp is 122c and no amount of hacks will show the real temp.
Neofetch does, but not the dietpi detector.
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: N/A
nct6792-isa-0290
Adapter: ISA adapter
in0: 192.00 mV (min = +0.00 V, max = +1.74 V)
in1: 0.00 V (min = +0.00 V, max = +0.00 V)
in2: 3.28 V (min = +0.00 V, max = +0.00 V) ALARM
in3: 3.28 V (min = +0.00 V, max = +0.00 V) ALARM
in4: 0.00 V (min = +0.00 V, max = +0.00 V)
in5: 0.00 V (min = +0.00 V, max = +0.00 V)
in6: 888.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in7: 3.44 V (min = +0.00 V, max = +0.00 V) ALARM
in8: 3.28 V (min = +0.00 V, max = +0.00 V) ALARM
in9: 1.84 V (min = +0.00 V, max = +0.00 V) ALARM
in10: 168.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in11: 120.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in12: 1.82 V (min = +0.00 V, max = +0.00 V) ALARM
in13: 1.66 V (min = +0.00 V, max = +0.00 V) ALARM
in14: 0.00 V (min = +0.00 V, max = +0.00 V)
fan1: 0 RPM (min = 0 RPM)
fan2: 797 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
SYSTIN: +122.0°C (high = +0.0°C, hyst = +0.0°C) sensor = thermistor
CPUTIN: -62.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
AUXTIN0: +32.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistor
AUXTIN1: +112.0°C sensor = thermistor
AUXTIN2: +112.0°C sensor = thermistor
AUXTIN3: -128.0°C sensor = thermistor
SMBUSMASTER 0: +21.5°C
PCH_CHIP_CPU_MAX_TEMP: +0.0°C
PCH_CHIP_TEMP: +0.0°C
PCH_CPU_TEMP: +0.0°C
intrusion0: OK
intrusion1: ALARM
beep_enable: disabled
nouveau-pci-0900
Adapter: PCI adapter
temp1: +34.0°C (high = +95.0°C, hyst = +3.0°C)
(crit = +105.0°C, hyst = +5.0°C)
(emerg = +135.0°C, hyst = +5.0°C)
k10temp-pci-00c3
Adapter: PCI adapter
Tctl: +21.6°C
Tdie: +21.6°C
if [[ ( $G_HW_MODEL == 15 || $G_HW_MODEL == 52 || $G_HW_MODEL == 70 ) && -f '/sys/class/hwmon/hwmon0/temp7_input' ]]
then
temp=$(</sys/class/hwmon/hwmon0/temp7_input)
# - Others
else
# Array to store possible locations for temp read
local i afp_temperature=(
'/sys/devices/platform/coretemp.*/hwmon/hwmon0/temp7_input'
edit to reflect temp7_input on this line:
'/sys/class/hwmon/hwmon0/temp7_input' # Intel Mini PCs: https://github.com/MichaIng/DietPi/issues/3172, https://github.com/MichaIng/DietPi/issues/3412
Sorted it again.