I used the following script which shows the devices;
for i in /sys/class/thermal/*/temp
do
echo $i
cat $i
echo "---------------"
done
My result is:
/sys/class/thermal/thermal_zone0/temp
cat: read error: Invalid argument
---------------
/sys/class/thermal/thermal_zone1/temp
17171
---------------
/sys/class/thermal/thermal_zone2/temp
cat: read error: Invalid argument
---------------
/sys/class/thermal/thermal_zone3/temp
38000
---------------
/sys/class/thermal/thermal_zone4/temp
35000
I believe it is a good idea to add temp watching support into the "pwr_button_handler" daemon to log errors and shutdown if it gets too hot. I can do this but first I need to learn what the different zones are:
zone1: I believe the outside temp which could be 17 celsius here.
zone2 and zone3 I have no idea but they are 38 and 35 celsius which is little.