From dce592dc9be0519d83ba5ddb271706a4dad1f718 Mon Sep 17 00:00:00 2001
From: Ruslan Bay <67730802+ruslanbay@users.noreply.github.com>
Date: Thu, 10 Aug 2023 12:54:21 +0300
Subject: [PATCH] Update README.md
---
contrib/thermald/surface_pro_7/README.md | 52 +++---------------------
1 file changed, 6 insertions(+), 46 deletions(-)
diff --git a/contrib/thermald/surface_pro_7/README.md b/contrib/thermald/surface_pro_7/README.md
index 19ff3cd63..3f9c63d14 100644
--- a/contrib/thermald/surface_pro_7/README.md
+++ b/contrib/thermald/surface_pro_7/README.md
@@ -1,51 +1,11 @@
# Using thermald to avoid thermal throttling
-Install `thermald` for your distro, on many distros it might be installed by default.
-
-Create the config file `/etc/thermald/thermal-conf.xml` and add the following content to the file:
-
-```xml
-
-
-
- Surface Pro 7 Thermal Workaround
- *
- QUIET
-
-
- cpu
-
-
- x86_pkg_temp
- 65000
- passive
- SEQUENTIAL
-
- 1
- rapl_controller
- 100
- 10
-
-
-
-
-
-
-
-```
-Depending on your ambient temperature you might want to lower the `` line to make thermald kick in more aggressively. (65000 = 65°C)
-
-Create the file `/etc/thermald/thermal-cpu-cdev-order.xml` with the following content:
-```xml
-
- rapl_controller
- intel_pstate
- intel_powerclamp
- cpufreq
- Processor
-
-```
+1. Install `thermald` for your distro, on many distros it might be installed by default
+2. Place thermal-conf.xml into the `/etc/thermald/` directory
+3. Depending on your ambient temperature you might want to lower the `` line to make thermald kick in more aggressively. (65000 = 65°C)
+4. Place thermal-cpu-cdev-order.xml into the `/etc/thermald/` directory
+5. `sudo systemctl restart thermald`
# Making Fedora respect your config files
Fedora uses the `--adaptive` option by default, thus ignoring your config files. This might also apply to some other distros.
-Edit `/usr/lib/systemd/system/thermald.service` and remove `--adaptive` from the `ExecStart=` line. Then do a `systemctl daemon-reload` so systemd realizes the change. thermald should then respect your configuration files.
+Edit `/usr/lib/systemd/system/thermald.service` and remove `--adaptive` from the `ExecStart=` line. Then do a `systemctl daemon-reload` so systemd realizes the change. Thermald should then respect your configuration files.