Name-based sensor search currently works for a hwmon-type tree where in the sensor tree under /sys/class/hwmon/hwmonN there is a file name with the name, and a file tempX_input with the temperature.
There's also a separate thermal zone hierarchy, e.g. under /sys/class/thermal that works differently, here there is a file type with the name, and the temperature readout is in a file called temp.
It would be nice if the name-based sensor detection would work not only on name files, but also on type files, then it could be used also with the thermal_zone hierarchy.
Name-based sensor search currently works for a
hwmon
-type tree where in the sensor tree under/sys/class/hwmon/hwmonN
there is a filename
with the name, and a filetempX_input
with the temperature.There's also a separate thermal zone hierarchy, e.g. under
/sys/class/thermal
that works differently, here there is a filetype
with the name, and the temperature readout is in a file calledtemp
.It would be nice if the name-based sensor detection would work not only on
name
files, but also ontype
files, then it could be used also with thethermal_zone
hierarchy.