260 lines · plain
1What: /sys/class/thermal/thermal_zoneX/type2Description:3 Strings which represent the thermal zone type.4 This is given by thermal zone driver as part of registration.5 E.g: "acpitz" indicates it's an ACPI thermal device.6 In order to keep it consistent with hwmon sys attribute; this7 should be a short, lowercase string, not containing spaces nor8 dashes.9 10 RO, Required11 12What: /sys/class/thermal/thermal_zoneX/temp13Description:14 Current temperature as reported by thermal zone (sensor).15 16 Unit: millidegree Celsius17 18 RO, Required19 20What: /sys/class/thermal/thermal_zoneX/mode21Description:22 One of the predefined values in [enabled, disabled].23 This file gives information about the algorithm that is24 currently managing the thermal zone. It can be either default25 kernel based algorithm or user space application.26 27 enabled28 enable Kernel Thermal management.29 disabled30 Preventing kernel thermal zone driver actions upon31 trip points so that user application can take full32 charge of the thermal management.33 34 RW, Optional35 36What: /sys/class/thermal/thermal_zoneX/policy37Description:38 One of the various thermal governors used for a particular zone.39 40 RW, Required41 42What: /sys/class/thermal/thermal_zoneX/available_policies43Description:44 Available thermal governors which can be used for a45 particular zone.46 47 RO, Required48 49What: /sys/class/thermal/thermal_zoneX/trip_point_Y_temp50Description:51 The temperature above which trip point will be fired.52 53 Unit: millidegree Celsius54 55 RO, Optional56 57What: /sys/class/thermal/thermal_zoneX/trip_point_Y_type58Description:59 Strings which indicate the type of the trip point.60 61 E.g. it can be one of critical, hot, passive, `active[0-*]`62 for ACPI thermal zone.63 64 RO, Optional65 66What: /sys/class/thermal/thermal_zoneX/trip_point_Y_hyst67Description:68 The hysteresis value for a trip point, represented as an69 integer.70 71 Unit: Celsius72 73 RW, Optional74 75What: /sys/class/thermal/thermal_zoneX/cdevY76Description:77 Sysfs link to the thermal cooling device node where the sys I/F78 for cooling device throttling control represents.79 80 RO, Optional81 82What: /sys/class/thermal/thermal_zoneX/cdevY_trip_point83Description:84 The trip point in this thermal zone which `cdev[0-*]` is85 associated with; -1 means the cooling device is not86 associated with any trip point.87 88 RO, Optional89 90What: /sys/class/thermal/thermal_zoneX/cdevY_weight91Description:92 The influence of `cdev[0-*]` in this thermal zone. This value93 is relative to the rest of cooling devices in the thermal94 zone. For example, if a cooling device has a weight double95 than that of other, it's twice as effective in cooling the96 thermal zone.97 98 RW, Optional99 100What: /sys/class/thermal/thermal_zoneX/emul_temp101Description:102 Interface to set the emulated temperature method in thermal zone103 (sensor). After setting this temperature, the thermal zone may104 pass this temperature to platform emulation function if105 registered or cache it locally. This is useful in debugging106 different temperature threshold and its associated cooling107 action. This is write only node and writing 0 on this node108 should disable emulation.109 110 Unit: millidegree Celsius111 112 WO, Optional113 114 WARNING:115 Be careful while enabling this option on production systems,116 because userland can easily disable the thermal policy by simply117 flooding this sysfs node with low temperature values.118 119 120What: /sys/class/thermal/thermal_zoneX/k_d121Description:122 The derivative term of the power allocator governor's PID123 controller. For more information see124 Documentation/driver-api/thermal/power_allocator.rst125 126 RW, Optional127 128What: /sys/class/thermal/thermal_zoneX/k_i129Description:130 The integral term of the power allocator governor's PID131 controller. This term allows the PID controller to compensate132 for long term drift. For more information see133 Documentation/driver-api/thermal/power_allocator.rst134 135 RW, Optional136 137What: /sys/class/thermal/thermal_zoneX/k_po138Description:139 The proportional term of the power allocator governor's PID140 controller during temperature overshoot. Temperature overshoot141 is when the current temperature is above the "desired142 temperature" trip point. For more information see143 Documentation/driver-api/thermal/power_allocator.rst144 145 RW, Optional146 147What: /sys/class/thermal/thermal_zoneX/k_pu148Description:149 The proportional term of the power allocator governor's PID150 controller during temperature undershoot. Temperature undershoot151 is when the current temperature is below the "desired152 temperature" trip point. For more information see153 Documentation/driver-api/thermal/power_allocator.rst154 155 RW, Optional156 157What: /sys/class/thermal/thermal_zoneX/integral_cutoff158Description:159 Temperature offset from the desired temperature trip point160 above which the integral term of the power allocator161 governor's PID controller starts accumulating errors. For162 example, if integral_cutoff is 0, then the integral term only163 accumulates error when temperature is above the desired164 temperature trip point. For more information see165 Documentation/driver-api/thermal/power_allocator.rst166 167 Unit: millidegree Celsius168 169 RW, Optional170 171What: /sys/class/thermal/thermal_zoneX/slope172Description:173 The slope constant used in a linear extrapolation model174 to determine a hotspot temperature based off the sensor's175 raw readings. It is up to the device driver to determine176 the usage of these values.177 178 RW, Optional179 180What: /sys/class/thermal/thermal_zoneX/offset181Description:182 The offset constant used in a linear extrapolation model183 to determine a hotspot temperature based off the sensor's184 raw readings. It is up to the device driver to determine185 the usage of these values.186 187 RW, Optional188 189What: /sys/class/thermal/thermal_zoneX/sustainable_power190Description:191 An estimate of the sustained power that can be dissipated by192 the thermal zone. Used by the power allocator governor. For193 more information see194 Documentation/driver-api/thermal/power_allocator.rst195 196 Unit: milliwatts197 198 RW, Optional199 200What: /sys/class/thermal/cooling_deviceX/type201Description:202 String which represents the type of device, e.g:203 204 - for generic ACPI: should be "Fan", "Processor" or "LCD"205 - for memory controller device on intel_menlow platform:206 should be "Memory controller".207 208 RO, Required209 210What: /sys/class/thermal/cooling_deviceX/max_state211Description:212 The maximum permissible cooling state of this cooling device.213 214 RO, Required215 216What: /sys/class/thermal/cooling_deviceX/cur_state217Description:218 The current cooling state of this cooling device.219 The value can any integer numbers between 0 and max_state:220 221 - cur_state == 0 means no cooling222 - cur_state == max_state means the maximum cooling.223 224 RW, Required225 226What: /sys/class/thermal/cooling_deviceX/stats/reset227Description:228 Writing any value resets the cooling device's statistics.229 230 WO, Required231 232What: /sys/class/thermal/cooling_deviceX/stats/time_in_state_ms:233Description:234 The amount of time spent by the cooling device in various235 cooling states. The output will have "<state> <time>" pair236 in each line, which will mean this cooling device spent <time>237 msec of time at <state>.238 239 Output will have one line for each of the supported states.240 241 RO, Required242 243What: /sys/class/thermal/cooling_deviceX/stats/total_trans244Description:245 A single positive value showing the total number of times246 the state of a cooling device is changed.247 248 RO, Required249 250What: /sys/class/thermal/cooling_deviceX/stats/trans_table251Description:252 This gives fine grained information about all the cooling state253 transitions. The cat output here is a two dimensional matrix,254 where an entry <i,j> (row i, column j) represents the number255 of transitions from State_i to State_j. If the transition256 table is bigger than PAGE_SIZE, reading this will return257 an -EFBIG error.258 259 RO, Required260