thermal-conf.xml(5) File Formats Manual thermal-conf.xml(5)
>>> (NAME)
thermal-conf.xml - >>>>>> >>>>>>>>
>>>> >>>>>> >>>>>
>>>>> >>>>> (SYNOPSIS)
$(TDCONFDIR)/etc/thermald/thermal-conf.xml
>>>>>>> (DESCRIPTION)
>>>>>> thermal-conf.xml >> >>>>>>
>>>>>>>> >>>> >>>> >>>>>>
>>>>> (thermal daemon) >>>. >>>
>>>>>> >>>> >>>>>>>>
>>>>>>> >>>>>>> >>>>>>>>
(zones) > >>>>>>>>>> >>>>>>>>>
>> >>> >>>>>>. >>> >>>>>>>>
>>> >>>>>> >> >>>>>>>>>
>>>>>>>> >>>>>>>>>> >>
>>>> >>>>>>> >>>>> >>>>.
>>>>>>>> >>>>>>>>>> >>
>>> >>>>>> >> <<>>>>>> >>>>
>>>>>>> >>>>>>>> > >>>>>>
(ACPI) >>>>>> >>>>. >>> >>>>>>
ACPI >> >>>> >>>>> >>>>>> >>
>>>>>> >> >>> <<>>>>>>>>>
>>>>>>>> (thermal zones) >>> >>> >>>
>> >> >>> >>>>>>
>>>>>>>>>> >>>>>>>>>>
>>>>>>> >>>>>> >
>>>>>>>>> >>>>>>>>>
>>>>>. >>>> >>>>>> >> >>>>>
>>>>>> >>>>>>>> >>>>>>>>
(CPU) >> >>>> >>>>>> >>>>. >>
>>>>> >>>>>>>> >>>> >>>>>
>>>> >>>> >>>> >>> >>>>. >>
>>>>>> >>>>>>>>>> >>>>>
>>>> >>>> >>>> >>>>>> >>>>
>>>>> >>>>>>> >>>>>>> >>
>>>> >>>>>> >>> >>>>>>.
>>>>>>>> >> >> >>>>>>
>>>>>>>>>> >> (FAN) >> >>
>>>>>> >>>>>> >>> >>
>>>>>>>> >>>> >>>>>>>
>>>>>> >>>> >> >>>>> (throttle)
>>>.
>>>>>>>> >> >>>>> >>>>>>
>>>> >> >> >>> <<>>>> >>>>>>>
(trip point) >>>. >>>> >>>>>> >>>>>
>>> >> >> >> >>>> >> >>>>>>
>>>>>>>>> >>>> >>>.
>> >>>>>> >>>>>>>>>
>>>>>>>> >>>> (active) >>
>>>>>>> (passive) >>>>. >>>>>>>>
>> >> >>>>>> >>>>> >> >>>
>> >>>> >>>> >>>>>> >>>>>
>>> >>>>>>>> >> >>>>>
>>>>>>> >>> >> >>>>> >>>>
>>>>> > >>>> >>>>>> >>>>>
>>>>>>. >> >>>>>> >>>>>>>
>> >>>>>>>>> >>>>>> >>>>
>>>> >>> >>>>>>> >>>>>>.
>>>>> >> >>>>>>>>>>
>>>>>>>>> >>>>> >> sysfs
>>>>>>> >>>>>>>>>>
>>>>>>>>> >>> >>> >>>> thermald
>>>>> >>>>>>> > >>>>>>> >>
>>>>> >> >>>>> >>> >>>>>
>>>>>> >>>>>>>>> >>>>>>>
>>>:
o rapl_controller
o intel_pstate
o cpufreq
o LCD
>>>>>> sysfs >>>>>> >> >>>>>>
(/sys/class/thermal) >>>> >>>> >>>>>
>>>>>>>> ACPI >> >>>> >>
>>>>>> >>>>> >>>>>>>.
>>>>>>>> >>>>>> >>>> (kernel
thermal governor) >> >>> >>>>>>> >>>>
>>>> >>>> >>>>>> >>>>>>>
>>>>>>. >> >>> >>>
>>>>>>>>>>>> >>>> >>>> >>
thermald >>>> >>>>>> >>>>> >>
>>>>> >>>>> >>>> >>>>>:
o >>>>>> >>>>>>>> ACPI
>>>>>>>>>> >>>> >>>>> >>
>>>>> >>>>> >>>>>. >> >>>
>>>> >>>>>>> >> thermal-conf.xml
>>>> >>>>> >>>>> >>>>
>>>> >> >>>>> >> BIOS >>>>>>>
>>>.
o >>>> >>> >>>>>>>>> >>>>>>
>>>> sysfs >>>>>> >>>>> >>>
>>>>> >>> >>> >>>>>
>>>>>>>>>>>> >> >>>>>
>>>> >>>> >>>>. >> >>> >>>>
>>>>>>> >> thermal-conf.xml >>>>
>>>>> >>>> >>>>>>>>>>
>>>>>>>>> >> >> >>>>>>>>
>>>>>>> >>>>.
o >>>> >>>>>> >>> >>>>>>>>
>> sysfs >>>>>> >>>> >>>>>>
>>>>. >> >>> >>>> >>>>>>>
>> thermal-conf.xml >>>> >>>>> >>
>>>>> >> >> >>>>>>
>>>>>>>>> >>>>> >>>>>>>
>>>.
o >>>>> >>>>> >>>>>>. >>
>>>>> >>>> >>> >> >>>>>
>>>>>> >>>> >> >>>>>
>>>>> >>>>> >>>>>>. >> >>>
>>>> >>>>>>> >> thermal-conf.xml
>>>> >>>>> >>>>> >>>>>>>>
>>>> >>> >>>>> >>>>>>>>>>
>>>>>>> >>>>.
>>>> >>>> (FILE FORMAT)
>>>> >>>>>> >>>>>>>> >>
>>>>>> XML >>>>>> >>>>.
>>>>>>>>> >> >>>>>>>>
>>>> >>>>> >>>>>>>
>>>>>>> >>>>>>>>>
>>>>>>>>>> >>>>>>>>> >
>>>> >>>>> >>>>> >>>>>>>.
>>>>>>> >>>>> >> >> >>>> XML
>>>>>>>> >>>>>>>:
o SensorLink >> >>>>> >>> >>>> >>
>> >>>>>>> >> >> >>>> >>>>
>>>>> >>>>>>:
virtual_temp = linked_sensor * Multiplier + Offset
o LinkSensor >> >>> >> >>>> >> >>>>
>>>>> >>>>>>> >>>>>
>>>>>>. >>>>>>> >>>>>
>>>> LinkSensor >>>>> >>> >
>>>>>>> >>>>> >> >>>>>>
>>> >>>>>>>. >>>> >> >>>>:
avg = Offset * current_sample + (1 - Offset) * previous_average
contribution = Coeff * avg
virtual_temp = sum of all contributions
>>>> >>>>>>> >>>>>
>>>>>>>> >>>>>> >> PowerSensor
>>>>> >> 0 >>>>> >>>> >>>>
>>>> >>> >> >>>>> >>>>>>>
>>>>>>>>>>>> > >>>>>> >>
>>>>>>>>> >>>>>> >> >>>>
>>>>>> >>>>> >>>>>>.
>>>>>>>>> >>>>>>> PollingTableEntry
>>>>>>>>> >>>> >>>>> >>>>
>>>>> >>>> (polling period) >>>>
>>>>> >> >>>> >>>> >>>>>
>>>> >>>>>>> >>>>.
Example Platform Name
Example UUID
Example Product Name
QUIET|PERFORMANCE
example_sensor_1
/some_path
0
example_thermal_sysfs_sensor
1
example_virtual_sensor
1
example_sensor_1
0.5
10
example_virtual_sensor_advanced
1
example_sensor_1
0.7
0.2
0
rapl_pkg_power
0.3
0.5
1
45000
10
70000
2
Example Zone type
example_sensor_1
75000
max
SEQUENTIAL
1
example_cooling_device
100
12
6
2
8
example_cooling_device
0
10
0
50
5000
0.001
0.0001
0.0001
level
>>>>>>>>> >>>>>>>> (EXAMPLE CONFIGURATIONS)
>>>>> >: >>> >> >>>>>>>>
>>>>> >>>> >>>> >>>>> >>
>>>>>>> (passive limit) >>>>>>>> (CPU)
>>>. >> >>> >>>>> >>>>>>>>
>>>> >>>> >> >>>> >>>>>> >>
>>> >>>>>>>> >>>>>>>
>>>>>>. >> >>> >>>>> >>> >>
>> >>>>> >>>>>> >>>>>>>>
>>>> >>>>> >>.
Override CPU default passive
*
QUIET
cpu
86000
passive
>>>>> >: >> >>> >>>>>>>>>
>>>>>> >> >>>>> >>>>> "SEN2" >>
>>>> >> >>>> >>>>>> >>>>>
>>> >>>>>>>> >> >>>>>
>>>>>>>. >> >>>>> "LCD" >>
>>>>>> >>>>>>>>>
>>>>>>>>> >>> >> >> >>>> sysfs
>>> >>>>>>>> >>>>>>
>>>>>>> >>>>>>. >> >>>> >>
"LCD_Zone" >> >>>>> >>>>>> >>>>>
>> sysfs >>>>>> >>>>>> >>>
>>>>>> >>>>>>> >>>> >>>>>
>> >>>>> >>>> sysfs >>>> "LCD_Zone"
>>>>>>. >>>>>> sysfs >>>>>>
>>>>>> >> >>> >>>> >>>>>>
thermald >>>> > >>>>>>>> >>> >>>.
Change Backlight
*
QUIET
LCD_Zone
SEN2
60000
passive
LCD
>>>>> >: >> >>> >>>>>> >>
>>>>>> Lenovo ThinkPad X220 > >>>> >> >>
>>>>> >>>>>>. >> >>>>>
>>>>>> >>>>>>>>> "_Fan" >>
>>>>>>> >> >>>> >>>> sysfs >>
>>>>> /sys/devices/platform/thinkpad_hwmon/pwm1
>>>>> >>>. >>>>>> >> >>>>
x86_pkg_temp >> >> >>>> >>>>>>
>>>>> >>>>>> >>>> >>> >> >>
>>>> >>>> >>>>>> >> >>
>>>>>>>> >>>>>>> >>>> > >>
>>> >>>>> >>>>>>.
Lenovo ThinkPad X220
*
QUIET
x86_pkg_temp
x86_pkg_temp
45000
passive
SEQUENTIAL
1
_Fan
100
12
_Fan
/sys/devices/platform/thinkpad_hwmon/pwm1
0
30
0
255
5
>>>>> >: >>>>> >>> >>>>
>>>>>>> >> PID >> >>>>
>>>>>>. >> >>>>> >>>>>> >>
>>> >> >> >>>> >>>>>> >>>>>
>>>> >>>>>>>>>> >>
>>>>>>> >> >>>>>>>> PID >> >>
>>> >>>>> >> >>>> >> >>>>>
>>>> >>>>> (set point) >>>>>>
>>>>>> >>>>>>. >>>>>
>>>>>>>>>> >> >>>>>
>>>>>> >> >>>> >>>>> >>>>>
>>>>. >> >>>>> >>>>>>
>>>>>>>>> >>>>> > >>>>>>>
>>>>>>>> >> >>>>> >>>>> 0 >
>>>>> >>>>>> 10 >>>>
>>>>>>> >>>> >>>>>>>.
Use PID param
*
QUIET
x86_pkg_temp
x86_pkg_temp
80000
passive
SEQUENTIAL
Processor
Processor
0.0002
0
0
>>>>> >: >>>>> >>> >>>>
>>>> >> >> >> >>>>>> >>>>
>>>>>> >> sysfs >>>>>> >>
>>>>>> >>>> (>>>>>>>) >>
>>>>. >>>> >>>>> >> >>>
>>>>> >>> >> >>> >> sysfs >>>>>
>>> >>> >>>> >> >>>> >>>>>
>>>>> "level " >>> >> >>>>> >>>>
>>>> >>>> >>>>.
Use Fan control first then CPU throttle
*
QUIET
x86_pkg_temp
x86_pkg_temp
80000
passive
SEQUENTIAL
_fan_
_fan_
/proc/acpi/ibm/fan
level
0
5
10
>>>>> >: >>>>> >> >>>>> >>
>>> >>> >>>>>>>> >>>>> >>
>>>>>> >>>>>>.
Use Fan control first then CPU throttle
*
QUIET
x86_pkg_temp
x86_pkg_temp
80000
passive
_fan_
1
x86_pkg_temp
85000
passive
_fan_
2
_fan_
/proc/acpi/ibm/fan
level
0
5
10
>>>>> >: >>>>>>> >>
>>>>>>>>>>> >>>> RAPL >>>>
>>>> >>>>>.
TEST
Example_RAPL_Power
QUIET
0
15000
2000
20
30
1000
TestZone
SEN3
50000
Passive
B0D4
3
2147483647
SEN3
52000
Passive
B0D4
3
8500000
SEN3
60000
Passive
B0D4
3
4500000
SEN3
65000
Passive
B0D4
3
December 18, 2018 thermal-conf.xml(5)