@Alexago, a quick tldr:
https://www.kernel.org/doc/Documentation/thermal/sysfs-api.txt
cat /sys/class/thermal/thermal_zone0/temp # read current temp
42678
Thermal zone types:
cat /sys/class/thermal/thermal_zone0/trip_point_0_type
critical
cat /sys/class/thermal/thermal_zone0/trip_point_1_type
hot
cat /sys/class/thermal/thermal_zone0/trip_point_2_type
active
cat /sys/class/thermal/thermal_zone0/trip_point_3_type
active
cat /sys/class/thermal/thermal_zone0/trip_point_4_type
active
Stock settings (currently):
cat /sys/class/thermal/thermal_zone0/trip_point_0_temp
125000
cat /sys/class/thermal/thermal_zone0/trip_point_1_temp
120000
cat /sys/class/thermal/thermal_zone0/trip_point_2_temp
115000
cat /sys/class/thermal/thermal_zone0/trip_point_3_temp
85000
cat /sys/class/thermal/thermal_zone0/trip_point_4_temp
40000
Updating:
echo 40000 > /sys/class/thermal/thermal_zone0/trip_point_1_temp # override
echo 120000 > /sys/class/thermal/thermal_zone0/trip_point_1_temp # set to default
echo 35000 > /sys/class/thermal/thermal_zone0/trip_point_2_temp # override
echo 115000 > /sys/class/thermal/thermal_zone0/trip_point_2_temp # set to default
echo 32000 > /sys/class/thermal/thermal_zone0/trip_point_3_temp # override
echo 85000 > /sys/class/thermal/thermal_zone0/trip_point_3_temp # set to default
echo 30000 > /sys/class/thermal/thermal_zone0/trip_point_4_temp # override
echo 40000 > /sys/class/thermal/thermal_zone0/trip_point_4_temp # set to default
I’ve heard that overriding the values via echoing to the sysfs path will persist on reboot, but have not confirmed; it may need to be set via an rc.local
or sysctl.conf
manner