Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
Trip point thresholds can be accessed via <code>sysfs</code> interface from user space. The following example shows how to read the values of the trip points:
<pre>
root@axel-litemito:~# cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
85000
root@axel-litemito:~# cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp
100000
</pre>
echo 100000 > /sys/class/thermal/thermal_zone0/trip_point_1_temp
</pre>
{{ImportantMessage|text='''Please note that:'''
*it is possible to set up trip points greater than the maximum junction temperature indicated by manufacturer datasheet
*exceeding maximum junction temperature indicated by manufacturer datasheet may cause permanent damage
}}
To read current processor temperature please issue this command (reported temperature is 36.676°C in the example):
<pre>
root@axel-litemito:~# cat /sys/class/thermal/thermal_zone0/temp
36676
</pre>
a000298_approval, dave_user
299
edits