diff --git a/contrib/thermald/README.md b/contrib/thermald/README.md new file mode 100644 index 000000000..8a3349313 --- /dev/null +++ b/contrib/thermald/README.md @@ -0,0 +1,14 @@ +# Example Thermald Configuration + +This is a minimal thermald configuration, which sets the maximum sustained CPU temperature to about 65°C. +Modify the `65000` 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). + +## Installation + +Both XML files 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. +You can do so by running `sudo systemctl edit thermald.service`. diff --git a/contrib/thermald/thermal-conf.xml b/contrib/thermald/thermal-conf.xml new file mode 100644 index 000000000..b1efeb395 --- /dev/null +++ b/contrib/thermald/thermal-conf.xml @@ -0,0 +1,27 @@ + + + + Intel Powered Laptop + * + QUIET + + + cpu + + + x86_pkg_temp + 65000 + passive + SEQUENTIAL + + 1 + rapl_controller + 100 + 5 + + + + + + + diff --git a/contrib/thermald/thermal-cpu-cdev-order.xml b/contrib/thermald/thermal-cpu-cdev-order.xml new file mode 100644 index 000000000..5877d4856 --- /dev/null +++ b/contrib/thermald/thermal-cpu-cdev-order.xml @@ -0,0 +1,8 @@ + + + rapl_controller + intel_pstate + intel_powerclamp + cpufreq + Processor +