for i in /sys/class/thermal/thermal_zone[0-9]/temp /sys/class/hwmon/hwmon[0-9]/temp[0-9]_input /sys/devices/platform/coretemp.[0-9]/hwmon/hwmon[0-9]/temp[0-9]_input
do
[[ -e $i ]] && echo "$i : $(<$i)"
done
Hi again,
Unfortunately, nothing new… well, not quite : I tried to check all temperature sources (using your code) before making any changes, and I had this answer :
I suppose it is, it says Radxa ROCK Pi 4C+ (actually, the board is a ROCK 4C+ , without the Pi in the name )
There is a /sys/class/hwmon , but nothing in it
No, the /sys/class/thermal/cooling_device0 is a link to /sys/devices/virtual/thermal/cooling_device0 (see image below) - I opened the type file , it contains : cpufreq-cpu0
the same file in /sys/devices/virtual/thermal/cooling_device1 contains : cpufreq-cpu4
Radxa renamed the “ROCK Pi x” series to “ROCK x”, but that does not apply for Linux device trees and boot configurations. They are still named the same to not break any scripts, boot configs etc.
Okay, not sure why, but obviously mainline Linux has no temperature sysfs nodes for the ROCK 4C+ . Consequently the two empty nodes which caused the two dietpi-globals read errors were removed.
Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
I’ll investigate again in Radxa and Armbian forums, and I’ll update here if I get some useful information.