linux-surface/contrib/thermald/surface_laptop_4a/thermal-conf.xml
astejko 598327240d
Add Thermald Conf FIle for AMD Surface Laptop 4 (#572)
Merge pull-request #572.

A new thermald configuration file for the AMD version of the Surface
Laptop 4. It includes the ability to turn the CPU's Turbo Boost on and
off as a cooling measure.
2021-09-25 14:38:24 +02:00

51 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ThermalConfiguration>
<Platform>
<Name>Override</Name>
<ProductName>*</ProductName>
<Preference>QUIET</Preference>
<ThermalSensors>
<ThermalSensor>
<Type>CPU_TEMP</Type>
<Path>/sys/class/hwmon/hwmon1/temp2_input</Path>
<AsyncCapable>0</AsyncCapable>
</ThermalSensor>
</ThermalSensors>
<ThermalZones>
<ThermalZone>
<Type>cpu</Type>
<TripPoints>
<TripPoint>
<SensorType>CPU_TEMP</SensorType>
<Temperature>65000</Temperature>
<type>passive</type>
<ControlType>SEQUENTIAL</ControlType>
<CoolingDevice>
<index>1</index>
<type>Processor</type>
<influence>100</influence>
<SamplingPeriod>15</SamplingPeriod>
</CoolingDevice>
<CoolingDevice>
<index>2</index>
<type>turbo</type>
<influence>50</influence>
<SamplingPeriod>60</SamplingPeriod>
<TargetState>0</TargetState>
</CoolingDevice>
</TripPoint>
</TripPoints>
</ThermalZone>
</ThermalZones>
<CoolingDevices>
<CoolingDevice>
<Type>turbo</Type>
<Path>/sys/devices/system/cpu/cpufreq/boost</Path>
<MinState>1</MinState>
<MaxState>0</MaxState>
<DebouncePeriod>60000</DebouncePeriod>
</CoolingDevice>
</CoolingDevices>
</Platform>
</ThermalConfiguration>