瀏覽代碼

contrib/thermald: Use a coherent structure

Maximilian Luz 3 年之前
父節點
當前提交
cdd9778b2a

+ 4 - 1
contrib/thermald/README.md

@@ -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.

+ 4 - 4
contrib/thermald/example_config_SL1.xml → contrib/thermald/surface_laptop_1/thermal-conf.xml

@@ -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>

+ 0 - 0
contrib/thermald/SurfacePro5/40-surface-power.rules → contrib/thermald/surface_pro_5/40-surface-power.rules


+ 0 - 0
contrib/thermald/SurfacePro5/README.md → contrib/thermald/surface_pro_5/README.md


+ 0 - 0
contrib/thermald/SurfacePro5/thermal-conf.xml.auto.cool → contrib/thermald/surface_pro_5/thermal-conf.xml.auto.cool


+ 0 - 0
contrib/thermald/SurfacePro5/thermal-conf.xml.auto.mobile → contrib/thermald/surface_pro_5/thermal-conf.xml.auto.mobile


+ 0 - 0
contrib/thermald/SurfacePro5/thermal-conf.xml.auto.performance → contrib/thermald/surface_pro_5/thermal-conf.xml.auto.performance


+ 0 - 1
contrib/thermald/SurfacePro5/thermal-cpu-cdev-order.xml → contrib/thermald/surface_pro_5/thermal-cpu-cdev-order.xml

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

+ 0 - 0
contrib/thermald/SurfacePro5/thermald.service → contrib/thermald/surface_pro_5/thermald.service