contrib/thermald: Use a coherent structure

This commit is contained in:
Maximilian Luz 2021-08-25 13:50:48 +02:00
parent 41dccdaf7f
commit cdd9778b2a
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
9 changed files with 8 additions and 6 deletions

View file

@ -5,9 +5,12 @@ Modify the `<Temperature>65000</Temperature>` value to adapt that to your liking
Tested on a Surface Book 2, other devices may need adapting, see e.g. the [thermald man page](http://manpages.ubuntu.com/manpages/trusty/man5/thermal-conf.xml.5.html).
More complex and device specific examples can be found in subdirectories
If any subdirectory does not have both files or any dedicated instructions, use the missing files provided here and/or follow these instructions.
## Installation
Both XML files need to be placed in the `/etc/thermald/` directory.
Both XML files (`thermal-conf.xml` and `thermal-cpu-cdev-order-xml`) need to be placed in the `/etc/thermald/` directory.
Newer thermald versions attempt to automatically load the configuration from ACPI.
If you want to use a manual configuration with such a version, you may need to remove the `--adaptive` option from the systemd service `ExecStart` line.

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<ThermalConfiguration>
<Platform>
<Name>Override</Name>
<ProductName>*</ProductName>
<Preference>QUIET</Preference>
<Name>Override</Name>
<ProductName>*</ProductName>
<Preference>QUIET</Preference>
<ThermalZones>
<ThermalZone>
<Type>test</Type>
@ -46,4 +46,4 @@
</CoolingDevice>
</CoolingDevices>
</Platform>
</ThermalConfiguration>
</ThermalConfiguration>

View file

@ -15,4 +15,3 @@ The Following cooling device can present
<CoolingDevice>cpufreq</CoolingDevice>
<CoolingDevice>Processor</CoolingDevice>
</CoolingDeviceOrder>