~ubuntu-branches/ubuntu/utopic/thermald/utopic

« back to all changes in this revision

Viewing changes to .pc/0002-Remove-rpmlint-warning-for-manual-page.patch/man/thermal-conf.xml.5

  • Committer: Package Import Robot
  • Author(s): Colin King
  • Date: 2014-07-28 09:39:34 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140728093934-xvrqjaw68x6q48ji
Tags: 1.3-1
Sync up with version 1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" thermal-conf.xml(5) manual page
2
 
.\"
3
 
.\" This is free documentation; you can redistribute it and/or
4
 
.\" modify it under the terms of the GNU General Public License as
5
 
.\" published by the Free Software Foundation; either version 2 of
6
 
.\" the License, or (at your option) any later version.
7
 
.\"
8
 
.\" The GNU General Public License's references to "object code"
9
 
.\" and "executables" are to be interpreted as the output of any
10
 
.\" document formatting or typesetting system, including
11
 
.\" intermediate and printed output.
12
 
.\"
13
 
.\" This manual is distributed in the hope that it will be useful,
14
 
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
.\" GNU General Public License for more details.
17
 
.\"
18
 
.\" You should have received a copy of the GNU General Public Licence along
19
 
.\" with this manual; if not, write to the Free Software Foundation, Inc.,
20
 
.\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
 
.\"
22
 
.\" Copyright (C) 2012 Intel Corporation. All rights reserved.
23
 
.\"
24
 
.TH thermal-conf.xml "5" "11 Dec 2013"
25
 
 
26
 
.SH NAME
27
 
thermal-conf.xml \- Configuration file for thermal daemon
28
 
.SH SYNOPSIS
29
 
$(TDCONFDIR)/etc/thermald/thermal-conf.xml
30
 
 
31
 
.SH DESCRIPTION
32
 
.B thermal-conf.xml
33
 
is a configuration file for the thermal daemon. It is used to configure thermal sensors, zone and cooling devices.The location of this file depends on the configuration option used during build time.
34
 
.TP
35
 
The terminology used in this file confirms to "Advanced Configuration and Power Interface Specification". The ACPI thermal model is based around conceptual platform regions called thermal zones that physically contain devices, thermal sensors, and cooling controls. For example of a thermal zone can be a CPU or a laptop cover. A zone can contain multiple sensors for monitoring temperature. A cooling device provides interface to reduce the temperature of a source device, which causes increase in the temperature. An example of a cooling device is a FAN or some Linux driver which can throttle the source device.
36
 
.TP
37
 
A thermal zone configuration includes one or more trip points. A trip point is a temperature at which a cooling device needs to be activated.
38
 
.TP
39
 
A cooling device can be either active or passive. An example of an active device is a FAN, which will not reduce performance at the cost of consuming more power and noise. A passive device uses performance throttling to control temperature. In addition to cooling devices present in the thermal sysfs, the following cooling devices are built into the thermald, which can be used as valid cooling device type:
40
 
.TP
41
 
        - rapl_controller
42
 
.TP
43
 
        - intel_pstate
44
 
.TP
45
 
        - cpufreq
46
 
.TP
47
 
The thermal sysfs under Linux (/sys/class/thermal) provides a way to represent per platform ACPI configuration. The kernel thermal governor uses this data to keep the platform thermals under control. But there are some limitations, which thermald tries to resolve. For example:
48
 
.TP
49
 
- If the ACPI data is not optimized or buggy. In this case thermal-conf.xml can be used to correct the behavior without change in BIOS.
50
 
.TP
51
 
- There may be thermal zones exposed by the thermal sysfs without associated cooling actions. In this case thermal conf.xml can be used to tie the cooling devices to those zones.
52
 
.TP
53
 
- The best cooling method may not be in the thermal sysfs. In this case thermal-conf.xml can be used to bind a zone to an external cooling device.
54
 
.TP
55
 
- Specify thermal relationships. A zone can be influenced by multiple source devices with varying degrees. In this case thermal-conf.xml can be used to define the relative influence for apply compensation.
56
 
 
57
 
.SH FILE FORMAT
58
 
The configuration file format confirms to XML specifications. A set of tags defined to define platform, sensors, zones, cooling devices and trip points.
59
 
.TP
60
 
<ThermalConfiguration>
61
 
.TP
62
 
<Platform>
63
 
.TP
64
 
        <Name>Example Platform Name</Name>
65
 
.TP
66
 
        <!--UUID is optional, if present this will be matched. Both product name and UUID can contain wild card "*", which matches any platform.-->
67
 
.TP
68
 
        <UUID>Example UUID</UUID>
69
 
.TP configuration file format confirms to XML specifications. A set of tags defined to define platform, sensors, zones,  cooling
70
 
       devices and trip points.
71
 
 
72
 
       <ThermalConfiguration>
73
 
 
74
 
       <Platform>
75
 
 
76
 
 
77
 
        <ProductName>Example Product Name</ProductName>
78
 
.TP
79
 
        <Preference>QUIET|PERFORMANCE</Preference>
80
 
.TP
81
 
        <!-Quiet mode will only use passive cooling device. "PERFORMANCE" will only select active devices .-->
82
 
.TP
83
 
        <ThermalSensors>
84
 
.TP
85
 
                <ThermalSensor>
86
 
.TP
87
 
                        <!-- New Sensor with a type and path -->
88
 
.TP
89
 
                        <Type>example_sensor_1</Type>
90
 
.TP
91
 
                        <Path>/some_path</Path>
92
 
.TP
93
 
                        <AsyncCapable>0</AsyncCapable>
94
 
.TP
95
 
                </ThermalSensor>
96
 
.TP
97
 
                <ThermalSensor>
98
 
.TP
99
 
                        <!-- Already present in thermal sysfs, enable this or add/change config For example, here we are indicating that sensor can do async events to avoid polling
100
 
                        -->
101
 
.TP
102
 
                        <Type>example_thermal_sysfs_sensor</Type>
103
 
.TP
104
 
                        <!-- If async capable, then we don't need to poll -->
105
 
.TP
106
 
                        <AsyncCapable>1</AsyncCapable>
107
 
.TP
108
 
                </ThermalSensor>
109
 
.TP
110
 
        </ThermalSensors>
111
 
.TP
112
 
        <ThermalZones>
113
 
.TP
114
 
                <ThermalZone>
115
 
.TP
116
 
                        <Type>Example Zone type</Type>
117
 
.TP
118
 
                        <TripPoints>
119
 
.TP
120
 
                                <TripPoint>
121
 
.TP
122
 
                                        <SensorType>example_sensor_1</SensorType>
123
 
.TP
124
 
                                        <!-- Temperature at which to take action -->
125
 
.TP
126
 
                                        <Temperature> 75000 </Temperature>
127
 
.TP
128
 
                                        <!-- max/passive/active If a MAX type is specified, then daemon will use PID control to aggressively throttle to avoid reaching this temp.-->
129
 
.TP
130
 
                                        <type>max</type>
131
 
.TP
132
 
                                        <!-- SEQUENTIAL | PARALLEL. When a trip point temp is violated, then number of cooling devices can be activated. If control type is SEQUENTIAL then, it will exhaust first cooling device before trying next. -->
133
 
.TP
134
 
                                        <ControlType>SEQUENTIAL</ControlType>
135
 
.TP
136
 
                                        <CoolingDevice>
137
 
.TP
138
 
                                                <index>1</index>
139
 
.TP
140
 
                                                <type>example_cooling_device</type>
141
 
.TP
142
 
                                                <!-- Influence will be used order cooling devices. First cooling device will be used, which has highest influence. -->
143
 
.TP
144
 
                                                <influence> 100 </influence>
145
 
.TP
146
 
                                                <!-- Delay in using this cdev, this takes some time too actually cool a zone -->
147
 
.TP
148
 
                                                <SamplingPeriod> 12 </SamplingPeriod>
149
 
.TP
150
 
                                        </CoolingDevice>
151
 
.TP
152
 
                                </TripPoint>
153
 
.TP
154
 
                        </TripPoints>
155
 
.TP
156
 
                </ThermalZone>
157
 
.TP
158
 
        </ThermalZones>
159
 
.TP
160
 
        <CoolingDevices>
161
 
.TP
162
 
                <CoolingDevice>
163
 
.TP
164
 
                        <!-- Cooling device can be specified by a type and optionally a sysfs path. If the type is already present in thermal sysfs, there is no need of a path. Compensation can use min/max and step size to increasing cool the system. Debounce period can be used to force a waiting period for action. -->
165
 
.TP
166
 
                        <Type>example_cooling_device</Type>
167
 
.TP
168
 
                        <MinState>0</MinState>
169
 
.TP
170
 
                        <IncDecStep>10</IncDecStep>
171
 
.TP
172
 
                        <ReadBack> 0 </ReadBack>
173
 
.TP
174
 
                        <MaxState>50</MaxState>
175
 
.TP
176
 
                        <DebouncePeriod>5000</DebouncePeriod>
177
 
.TP
178
 
                        <!-- If there are no PID parameters, compensation increase step wise and exponentially (if single step is not able to change trend). Alternatively a PID parameters can be specified then next step will use PID calculation using provided PID constants. -->
179
 
.TP
180
 
                        <PidControl>
181
 
.TP
182
 
                                <kp>0.001</kp>
183
 
.TP
184
 
                                <kd>0.0001</kd>
185
 
.TP
186
 
                                <ki>0.0001</ki>
187
 
.TP
188
 
                        </PidControl>
189
 
.TP
190
 
                </CoolingDevice>
191
 
.TP
192
 
        </CoolingDevices>
193
 
.TP
194
 
</Platform>
195
 
.TP
196
 
</ThermalConfiguration>
197
 
.TP
198