← Documents Documentation/ABI/testing/sysfs-devices-power GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Generic device power-management sysfs ABI

모든 device의 power directory, wakeup·runtime PM control, wakeup event accounting, autosuspend와 per-device PM QoS 및 runtime 상태·통계를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-devices-power
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Power directory and policy controls

sysfs-devices-power:1-79

power directory는 device별 PM property를 제공하며 wakeup은 system sleep wake source 허용 여부, control은 runtime PM 허용 여부, async는 system-wide suspend/resume callback의 병렬 실행 여부를 제어합니다.

Wakeup event accounting

sysfs-devices-power:80-185

Read-only wakeup attributes는 signaled·completed·sleep-aborting·expired event 수, active 처리 상태, total·maximum·last timing과 opportunistic sleep 방지 시간을 보고합니다.

Autosuspend delay and PM QoS

sysfs-devices-power:186-263

autosuspend_delay_ms는 idle 뒤 runtime suspend까지의 delay를, PM QoS attributes는 resume latency, active-state memory-access latency tolerance와 완전한 power-off 금지 요구를 나타냅니다.

Runtime PM state and statistics

sysfs-devices-power:264-307

runtime_status는 현재 runtime PM state를 표시하고 active/suspended 누적 시간, usage count, enable policy와 active children count를 함께 제공합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/devices/.../power/
2 Date: January 2009
3 Contact: Rafael J. Wysocki <[email protected]>
4 Description:
5 The /sys/devices/.../power directory contains attributes
6 allowing the user space to check and modify some power
7 management related properties of given device.
8
9 What: /sys/devices/.../power/wakeup
10 Date: January 2009
11 Contact: Rafael J. Wysocki <[email protected]>
12 Description:
13 The /sys/devices/.../power/wakeup attribute allows the user
14 space to check if the device is enabled to wake up the system
15 from sleep states, such as the memory sleep state (suspend to
16 RAM) and hibernation (suspend to disk), and to enable or disable
17 it to do that as desired.
18
19 Some devices support "wakeup" events, which are hardware signals
20 used to activate the system from a sleep state. Such devices
21 have one of the following two values for the sysfs power/wakeup
22 file:
23
24 + "enabled\n" to issue the events;
25 + "disabled\n" not to do so;
26
27 In that cases the user space can change the setting represented
28 by the contents of this file by writing either "enabled", or
29 "disabled" to it.
30
31 For the devices that are not capable of generating system wakeup
32 events this file is not present. In that case the device cannot
33 be enabled to wake up the system from sleep states.
34
35 What: /sys/devices/.../power/control
36 Date: January 2009
37 Contact: Rafael J. Wysocki <[email protected]>
38 Description:
39 The /sys/devices/.../power/control attribute allows the user
40 space to control the run-time power management of the device.
41
42 All devices have one of the following two values for the
43 power/control file:
44
45 + "auto\n" to allow the device to be power managed at run time;
46 + "on\n" to prevent the device from being power managed;
47
48 The default for all devices is "auto", which means that they may
49 be subject to automatic power management, depending on their
50 drivers. Changing this attribute to "on" prevents the driver
51 from power managing the device at run time. Doing that while
52 the device is suspended causes it to be woken up.
53
54 What: /sys/devices/.../power/async
55 Date: January 2009
56 Contact: Rafael J. Wysocki <[email protected]>
57 Description:
58 The /sys/devices/.../async attribute allows the user space to
59 enable or disable the device's suspend and resume callbacks to
60 be executed asynchronously (ie. in separate threads, in parallel
61 with the main suspend/resume thread) during system-wide power
62 transitions (eg. suspend to RAM, hibernation).
63
64 All devices have one of the following two values for the
65 power/async file:
66
67 + "enabled\n" to permit the asynchronous suspend/resume;
68 + "disabled\n" to forbid it;
69
70 The value of this attribute may be changed by writing either
71 "enabled", or "disabled" to it.
72
73 It generally is unsafe to permit the asynchronous suspend/resume
74 of a device unless it is certain that all of the PM dependencies
75 of the device are known to the PM core. However, for some
76 devices this attribute is set to "enabled" by bus type code or
77 device drivers and in that cases it should be safe to leave the
78 default value.
79
80 What: /sys/devices/.../power/wakeup_count
81 Date: September 2010
82 Contact: Rafael J. Wysocki <[email protected]>
83 Description:
84 The /sys/devices/.../wakeup_count attribute contains the number
85 of signaled wakeup events associated with the device. This
86 attribute is read-only. If the device is not capable to wake up
87 the system from sleep states, this attribute is not present.
88 If the device is not enabled to wake up the system from sleep
89 states, this attribute is empty.
90
91 What: /sys/devices/.../power/wakeup_active_count
92 Date: September 2010
93 Contact: Rafael J. Wysocki <[email protected]>
94 Description:
95 The /sys/devices/.../wakeup_active_count attribute contains the
96 number of times the processing of wakeup events associated with
97 the device was completed (at the kernel level). This attribute
98 is read-only. If the device is not capable to wake up the
99 system from sleep states, this attribute is not present. If
100 the device is not enabled to wake up the system from sleep
101 states, this attribute is empty.
102
103 What: /sys/devices/.../power/wakeup_abort_count
104 Date: February 2012
105 Contact: Rafael J. Wysocki <[email protected]>
106 Description:
107 The /sys/devices/.../wakeup_abort_count attribute contains the
108 number of times the processing of a wakeup event associated with
109 the device might have aborted system transition into a sleep
110 state in progress. This attribute is read-only. If the device
111 is not capable to wake up the system from sleep states, this
112 attribute is not present. If the device is not enabled to wake
113 up the system from sleep states, this attribute is empty.
114
115 What: /sys/devices/.../power/wakeup_expire_count
116 Date: February 2012
117 Contact: Rafael J. Wysocki <[email protected]>
118 Description:
119 The /sys/devices/.../wakeup_expire_count attribute contains the
120 number of times a wakeup event associated with the device has
121 been reported with a timeout that expired. This attribute is
122 read-only. If the device is not capable to wake up the system
123 from sleep states, this attribute is not present. If the
124 device is not enabled to wake up the system from sleep states,
125 this attribute is empty.
126
127 What: /sys/devices/.../power/wakeup_active
128 Date: September 2010
129 Contact: Rafael J. Wysocki <[email protected]>
130 Description:
131 The /sys/devices/.../wakeup_active attribute contains either 1,
132 or 0, depending on whether or not a wakeup event associated with
133 the device is being processed (1). This attribute is read-only.
134 If the device is not capable to wake up the system from sleep
135 states, this attribute is not present. If the device is not
136 enabled to wake up the system from sleep states, this attribute
137 is empty.
138
139 What: /sys/devices/.../power/wakeup_total_time_ms
140 Date: September 2010
141 Contact: Rafael J. Wysocki <[email protected]>
142 Description:
143 The /sys/devices/.../wakeup_total_time_ms attribute contains
144 the total time of processing wakeup events associated with the
145 device, in milliseconds. This attribute is read-only. If the
146 device is not capable to wake up the system from sleep states,
147 this attribute is not present. If the device is not enabled to
148 wake up the system from sleep states, this attribute is empty.
149
150 What: /sys/devices/.../power/wakeup_max_time_ms
151 Date: September 2010
152 Contact: Rafael J. Wysocki <[email protected]>
153 Description:
154 The /sys/devices/.../wakeup_max_time_ms attribute contains
155 the maximum time of processing a single wakeup event associated
156 with the device, in milliseconds. This attribute is read-only.
157 If the device is not capable to wake up the system from sleep
158 states, this attribute is not present. If the device is not
159 enabled to wake up the system from sleep states, this attribute
160 is empty.
161
162 What: /sys/devices/.../power/wakeup_last_time_ms
163 Date: September 2010
164 Contact: Rafael J. Wysocki <[email protected]>
165 Description:
166 The /sys/devices/.../wakeup_last_time_ms attribute contains
167 the value of the monotonic clock corresponding to the time of
168 signaling the last wakeup event associated with the device, in
169 milliseconds. This attribute is read-only. If the device is
170 not enabled to wake up the system from sleep states, this
171 attribute is not present. If the device is not enabled to wake
172 up the system from sleep states, this attribute is empty.
173
174 What: /sys/devices/.../power/wakeup_prevent_sleep_time_ms
175 Date: February 2012
176 Contact: Rafael J. Wysocki <[email protected]>
177 Description:
178 The /sys/devices/.../wakeup_prevent_sleep_time_ms attribute
179 contains the total time the device has been preventing
180 opportunistic transitions to sleep states from occurring.
181 This attribute is read-only. If the device is not capable to
182 wake up the system from sleep states, this attribute is not
183 present. If the device is not enabled to wake up the system
184 from sleep states, this attribute is empty.
185
186 What: /sys/devices/.../power/autosuspend_delay_ms
187 Date: September 2010
188 Contact: Alan Stern <[email protected]>
189 Description:
190 The /sys/devices/.../power/autosuspend_delay_ms attribute
191 contains the autosuspend delay value (in milliseconds). Some
192 drivers do not want their device to suspend as soon as it
193 becomes idle at run time; they want the device to remain
194 inactive for a certain minimum period of time first. That
195 period is called the autosuspend delay. Negative values will
196 prevent the device from being suspended at run time (similar
197 to writing "on" to the power/control attribute). Values >=
198 1000 will cause the autosuspend timer expiration to be rounded
199 up to the nearest second.
200
201 Not all drivers support this attribute. If it isn't supported,
202 attempts to read or write it will yield I/O errors.
203
204 What: /sys/devices/.../power/pm_qos_resume_latency_us
205 Date: March 2012
206 Contact: Rafael J. Wysocki <[email protected]>
207 Description:
208 The /sys/devices/.../power/pm_qos_resume_latency_us attribute
209 contains the PM QoS resume latency limit for the given device,
210 which is the maximum allowed time it can take to resume the
211 device, after it has been suspended at run time, from a resume
212 request to the moment the device will be ready to process I/O,
213 in microseconds. If it is equal to 0, however, this means that
214 the PM QoS resume latency may be arbitrary and the special value
215 "n/a" means that user space cannot accept any resume latency at
216 all for the given device.
217
218 Not all drivers support this attribute. If it isn't supported,
219 it is not present.
220
221 This attribute has no effect on system-wide suspend/resume and
222 hibernation.
223
224 What: /sys/devices/.../power/pm_qos_latency_tolerance_us
225 Date: January 2014
226 Contact: Rafael J. Wysocki <[email protected]>
227 Description:
228 The /sys/devices/.../power/pm_qos_latency_tolerance_us attribute
229 contains the PM QoS active state latency tolerance limit for the
230 given device in microseconds. That is the maximum memory access
231 latency the device can suffer without any visible adverse
232 effects on user space functionality. If that value is the
233 string "any", the latency does not matter to user space at all,
234 but hardware should not be allowed to set the latency tolerance
235 for the device automatically.
236
237 Reading "auto" from this file means that the maximum memory
238 access latency for the device may be determined automatically
239 by the hardware as needed. Writing "auto" to it allows the
240 hardware to be switched to this mode if there are no other
241 latency tolerance requirements from the kernel side.
242
243 This attribute is only present if the feature controlled by it
244 is supported by the hardware.
245
246 This attribute has no effect on runtime suspend and resume of
247 devices and on system-wide suspend/resume and hibernation.
248
249 What: /sys/devices/.../power/pm_qos_no_power_off
250 Date: September 2012
251 Contact: Rafael J. Wysocki <[email protected]>
252 Description:
253 The /sys/devices/.../power/pm_qos_no_power_off attribute
254 is used for manipulating the PM QoS "no power off" flag. If
255 set, this flag indicates to the kernel that power should not
256 be removed entirely from the device.
257
258 Not all drivers support this attribute. If it isn't supported,
259 it is not present.
260
261 This attribute has no effect on system-wide suspend/resume and
262 hibernation.
263
264 What: /sys/devices/.../power/runtime_status
265 Date: April 2010
266 Contact: Rafael J. Wysocki <[email protected]>
267 Description:
268 The /sys/devices/.../power/runtime_status attribute contains
269 the current runtime PM status of the device, which may be
270 "suspended", "suspending", "resuming", "active", "error" (fatal
271 error), or "unsupported" (runtime PM is disabled).
272
273 What: /sys/devices/.../power/runtime_active_time
274 Date: Jul 2010
275 Contact: Arjan van de Ven <[email protected]>
276 Description:
277 Reports the total time that the device has been active, in
278 milliseconds. Used for runtime PM statistics.
279
280 What: /sys/devices/.../power/runtime_suspended_time
281 Date: Jul 2010
282 Contact: Arjan van de Ven <[email protected]>
283 Description:
284 Reports total time that the device has been suspended, in
285 milliseconds. Used for runtime PM statistics.
286
287 What: /sys/devices/.../power/runtime_usage
288 Date: Apr 2010
289 Contact: Dominik Brodowski <[email protected]>
290 Description:
291 Reports the runtime PM usage count of a device.
292
293 What: /sys/devices/.../power/runtime_enabled
294 Date: Apr 2010
295 Contact: Dominik Brodowski <[email protected]>
296 Description:
297 Is runtime PM enabled for this device?
298 States are "enabled", "disabled", "forbidden" or a
299 combination of the latter two.
300
301 What: /sys/devices/.../power/runtime_active_kids
302 Date: Apr 2010
303 Contact: Dominik Brodowski <[email protected]>
304 Description:
305 Reports the runtime PM children usage count of a device, or
306 0 if the children will be ignored.
307
308

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Per-device power-management directory

1-8
항목한국어 전문 번역
What/sys/devices/.../power/
Date2009년 1월
ContactRafael J. Wysocki <[email protected]>
Description/sys/devices/.../power directory에는 userspace가 해당 device의 일부 power-management 관련 property를 확인하고 변경할 수 있게 하는 attributes가 들어 있습니다.
Device power attribute groups
GroupRepresentative attributesPurpose
Policywakeup, control, asyncWakeup과 PM execution policy
Wakeup accountingwakeup_*Event count, state와 timing
Delay and QoSautosuspend_delay_ms, pm_qos_*Latency와 power-off constraints
Runtime PMruntime_*Current state, time와 usage counts

Power directory의 ABI를 control, accounting, QoS와 runtime statistics로 나눈 구조입니다.

System wakeup switch

9-34
항목한국어 전문 번역
What/sys/devices/.../power/wakeup
Date2009년 1월
ContactRafael J. Wysocki <[email protected]>
Description이 attribute를 통해 userspace는 device가 memory sleep state(suspend to RAM), hibernation(suspend to disk) 같은 sleep state에서 system을 깨우도록 enable되어 있는지 확인하고, 필요에 따라 이를 enable 또는 disable할 수 있습니다. 일부 device는 sleep state에서 system을 activate하는 hardware signal인 wakeup event를 지원합니다. 그런 device의 power/wakeup file은 event 발생을 허용하는 "enabled\n" 또는 허용하지 않는 "disabled\n" 값을 가지며, userspace는 "enabled" 또는 "disabled"를 write해 설정을 바꿀 수 있습니다. System wakeup event를 생성할 수 없는 device에는 이 file이 존재하지 않으며, 따라서 해당 device를 system wakeup source로 enable할 수 없습니다.
System wakeup values
ValueMeaning
enabledDevice가 wakeup event를 발생시킬 수 있음
disabledDevice의 wakeup event 발생을 허용하지 않음

Wakeup-capable device에서 읽고 쓸 수 있는 두 값입니다.

Runtime power-management policy

35-53
항목한국어 전문 번역
What/sys/devices/.../power/control
Date2009년 1월
ContactRafael J. Wysocki <[email protected]>
Description이 attribute를 통해 userspace는 device의 runtime power management를 제어합니다. 모든 device의 power/control file은 runtime에 device power management를 허용하는 "auto\n" 또는 이를 막는 "on\n" 중 하나입니다. 모든 device의 default는 "auto"이므로 driver에 따라 automatic power management의 대상이 될 수 있습니다. "on"으로 바꾸면 driver가 runtime에 device의 power를 관리하지 못하며, device가 suspended 상태일 때 이 값을 쓰면 device가 깨어납니다.
Runtime PM control values
ValueRuntime PMSuspended-device effect
autoDriver가 automatic power management 가능Driver policy에 따름
onRuntime power management 방지즉시 wakeup

Default는 auto이며 on으로 바꾸면 suspended device도 wakeup됩니다.

Asynchronous system suspend and resume

54-79
항목한국어 전문 번역
What/sys/devices/.../power/async
Date2009년 1월
ContactRafael J. Wysocki <[email protected]>
Description이 attribute를 통해 userspace는 system-wide power transition(예: suspend to RAM, hibernation) 중 device의 suspend/resume callback을 main suspend/resume thread와 병렬인 별도 thread에서 비동기로 실행하도록 허용하거나 금지합니다. 모든 device의 power/async file은 asynchronous suspend/resume을 허용하는 "enabled\n" 또는 금지하는 "disabled\n" 중 하나이며, userspace는 두 값 중 하나를 write해 변경할 수 있습니다. Device의 모든 PM dependency를 PM core가 알고 있다는 확신이 없으면 asynchronous suspend/resume을 허용하는 것은 일반적으로 안전하지 않습니다. 다만 일부 device는 bus-type code나 device driver가 이 attribute를 "enabled"로 설정하므로, 그런 경우에는 default 값을 유지해도 안전합니다.
Asynchronous PM safety decision
System-wide suspend/resume beginsPM core가 모든 device dependency를 아는지 확인Known dependencies 또는 bus/driver default: enabled 허용Uncertain dependencies: disabled 유지

Bus 또는 driver가 안전한 default를 제공하는 경우와 수동 enable을 구분합니다.

Signaled wakeup-event count

80-90
항목한국어 전문 번역
What/sys/devices/.../power/wakeup_count
Date2010년 9월
ContactRafael J. Wysocki <[email protected]>
Description이 read-only attribute에는 device와 연관되어 signal된 wakeup event의 수가 들어 있습니다. Device가 sleep state에서 system을 깨울 수 없으면 이 attribute는 존재하지 않습니다. Device가 sleep state에서 system을 깨우도록 enable되어 있지 않으면 이 attribute는 비어 있습니다.
Wakeup accounting attributes
AttributeReported valueUnit
wakeup_countSignaled eventscount
wakeup_active_countCompleted processingcount
wakeup_abort_countPossible sleep-transition abortscount
wakeup_expire_countExpired timed eventscount
wakeup_activeEvent processing state0 or 1
wakeup_total_time_msTotal processing timems
wakeup_max_time_msMaximum single-event timems
wakeup_last_time_msLast signal monotonic-clock valuems
wakeup_prevent_sleep_time_msOpportunistic-sleep prevention timetime

Read-only attributes가 측정하는 event count, state와 time입니다.

Completed wakeup-event processing count

91-102
항목한국어 전문 번역
What/sys/devices/.../power/wakeup_active_count
Date2010년 9월
ContactRafael J. Wysocki <[email protected]>
Description이 read-only attribute에는 device와 연관된 wakeup event 처리가 kernel level에서 완료된 횟수가 들어 있습니다. Device가 sleep state에서 system을 깨울 수 없으면 이 attribute는 존재하지 않습니다. Device가 sleep state에서 system을 깨우도록 enable되어 있지 않으면 이 attribute는 비어 있습니다.

Sleep-transition abort count

103-114
항목한국어 전문 번역
What/sys/devices/.../power/wakeup_abort_count
Date2012년 2월
ContactRafael J. Wysocki <[email protected]>
Description이 read-only attribute에는 device와 연관된 wakeup event 처리가 진행 중인 system sleep-state transition을 중단시켰을 가능성이 있는 횟수가 들어 있습니다. Device가 sleep state에서 system을 깨울 수 없으면 이 attribute는 존재하지 않습니다. Device가 sleep state에서 system을 깨우도록 enable되어 있지 않으면 이 attribute는 비어 있습니다.

Expired timed wakeup-event count

115-126
항목한국어 전문 번역
What/sys/devices/.../power/wakeup_expire_count
Date2012년 2월
ContactRafael J. Wysocki <[email protected]>
Description이 read-only attribute에는 device와 연관된 wakeup event가 만료된 timeout과 함께 보고된 횟수가 들어 있습니다. Device가 sleep state에서 system을 깨울 수 없으면 이 attribute는 존재하지 않습니다. Device가 sleep state에서 system을 깨우도록 enable되어 있지 않으면 이 attribute는 비어 있습니다.

Wakeup-event processing state

127-138
항목한국어 전문 번역
What/sys/devices/.../power/wakeup_active
Date2010년 9월
ContactRafael J. Wysocki <[email protected]>
Description이 read-only attribute에는 device와 연관된 wakeup event가 처리 중인지에 따라 1 또는 0이 들어 있으며, 1은 처리 중임을 뜻합니다. Device가 sleep state에서 system을 깨울 수 없으면 이 attribute는 존재하지 않습니다. Device가 sleep state에서 system을 깨우도록 enable되어 있지 않으면 이 attribute는 비어 있습니다.

Total wakeup-event processing time

139-149
항목한국어 전문 번역
What/sys/devices/.../power/wakeup_total_time_ms
Date2010년 9월
ContactRafael J. Wysocki <[email protected]>
Description이 read-only attribute에는 device와 연관된 wakeup event를 처리한 total time이 milliseconds 단위로 들어 있습니다. Device가 sleep state에서 system을 깨울 수 없으면 이 attribute는 존재하지 않습니다. Device가 sleep state에서 system을 깨우도록 enable되어 있지 않으면 이 attribute는 비어 있습니다.

Maximum single wakeup-event processing time

150-161
항목한국어 전문 번역
What/sys/devices/.../power/wakeup_max_time_ms
Date2010년 9월
ContactRafael J. Wysocki <[email protected]>
Description이 read-only attribute에는 device와 연관된 single wakeup event를 처리한 maximum time이 milliseconds 단위로 들어 있습니다. Device가 sleep state에서 system을 깨울 수 없으면 이 attribute는 존재하지 않습니다. Device가 sleep state에서 system을 깨우도록 enable되어 있지 않으면 이 attribute는 비어 있습니다.

Last wakeup-event signal time

162-173
항목한국어 전문 번역
What/sys/devices/.../power/wakeup_last_time_ms
Date2010년 9월
ContactRafael J. Wysocki <[email protected]>
Description이 read-only attribute에는 device와 연관된 마지막 wakeup event가 signal된 시점에 해당하는 monotonic clock value가 milliseconds 단위로 들어 있습니다. 원문 설명은 device가 sleep state에서 system을 깨우도록 enable되어 있지 않으면 이 attribute가 존재하지 않는다고 하며, 이어서 같은 조건이면 이 attribute가 비어 있다고도 명시합니다.

Opportunistic-sleep prevention time

174-185
항목한국어 전문 번역
What/sys/devices/.../power/wakeup_prevent_sleep_time_ms
Date2012년 2월
ContactRafael J. Wysocki <[email protected]>
Description이 read-only attribute에는 device가 opportunistic sleep-state transition의 발생을 막은 total time이 들어 있습니다. Device가 sleep state에서 system을 깨울 수 없으면 이 attribute는 존재하지 않습니다. Device가 sleep state에서 system을 깨우도록 enable되어 있지 않으면 이 attribute는 비어 있습니다.

Runtime autosuspend delay

186-203
항목한국어 전문 번역
What/sys/devices/.../power/autosuspend_delay_ms
Date2010년 9월
ContactAlan Stern <[email protected]>
Description이 attribute에는 autosuspend delay가 milliseconds 단위로 들어 있습니다. 일부 driver는 device가 runtime에 idle해지는 즉시 suspend하지 않고 일정한 minimum period 동안 inactive 상태로 유지한 뒤 suspend하려 하며, 이 기간을 autosuspend delay라고 합니다. Negative value는 power/control에 "on"을 write하는 것과 비슷하게 device의 runtime suspend를 막습니다. 1000 이상의 값은 autosuspend timer expiration을 가장 가까운 다음 정수 second로 올림합니다. 모든 driver가 이 attribute를 지원하는 것은 아니며, 지원하지 않으면 read 또는 write 시 I/O error가 발생합니다.
Autosuspend delay ranges
ValueBehavior
< 0Runtime suspend 방지
0-999Millisecond delay 적용
>= 1000Expiration을 nearest following second로 올림

Value range에 따른 runtime-suspend behavior입니다.

PM QoS resume-latency limit

204-223
항목한국어 전문 번역
What/sys/devices/.../power/pm_qos_resume_latency_us
Date2012년 3월
ContactRafael J. Wysocki <[email protected]>
Description이 attribute에는 해당 device의 PM QoS resume-latency limit가 microseconds 단위로 들어 있습니다. 이는 runtime에 suspend된 device가 resume request를 받은 때부터 I/O를 처리할 준비가 될 때까지 허용되는 maximum time입니다. 값 0은 PM QoS resume latency가 임의여도 된다는 뜻이고, special value "n/a"는 userspace가 해당 device에서 어떤 resume latency도 받아들일 수 없다는 뜻입니다. 모든 driver가 이를 지원하지는 않으며, 지원하지 않으면 attribute가 존재하지 않습니다. 이 attribute는 system-wide suspend/resume과 hibernation에는 영향을 주지 않습니다.

PM QoS active-state latency tolerance

224-248
항목한국어 전문 번역
What/sys/devices/.../power/pm_qos_latency_tolerance_us
Date2014년 1월
ContactRafael J. Wysocki <[email protected]>
Description이 attribute에는 해당 device의 PM QoS active-state latency-tolerance limit가 microseconds 단위로 들어 있습니다. 즉 userspace 기능에 눈에 보이는 악영향 없이 device가 감수할 수 있는 maximum memory-access latency입니다. 값이 "any"이면 userspace에는 latency가 전혀 중요하지 않지만 hardware가 device의 latency tolerance를 자동으로 설정해서는 안 됩니다. "auto"를 read하면 필요에 따라 hardware가 maximum memory-access latency를 자동 결정할 수 있다는 뜻입니다. "auto"를 write하면 kernel 측에 다른 latency-tolerance requirement가 없을 때 hardware를 이 mode로 전환할 수 있습니다. 이 기능을 hardware가 지원할 때만 attribute가 존재하며, device runtime suspend/resume과 system-wide suspend/resume 및 hibernation에는 영향을 주지 않습니다.

PM QoS no-power-off flag

249-263
항목한국어 전문 번역
What/sys/devices/.../power/pm_qos_no_power_off
Date2012년 9월
ContactRafael J. Wysocki <[email protected]>
Description이 attribute는 PM QoS "no power off" flag를 조작하는 데 사용합니다. Flag가 set되면 device의 power를 완전히 제거해서는 안 된다고 kernel에 알립니다. 모든 driver가 이를 지원하지는 않으며, 지원하지 않으면 attribute가 존재하지 않습니다. 이 attribute는 system-wide suspend/resume과 hibernation에는 영향을 주지 않습니다.
Per-device PM QoS semantics
AttributeConstraintSpecial values / scope
pm_qos_resume_latency_usRuntime resume maximum latency0 = arbitrary, n/a = no acceptable latency
pm_qos_latency_tolerance_usActive-state memory-access latencyany = irrelevant but manual, auto = hardware controlled
pm_qos_no_power_offPrevent complete power removalNo system-wide suspend/hibernate effect

세 QoS attribute의 constraint와 special value를 비교합니다.

Current runtime PM status

264-272
항목한국어 전문 번역
What/sys/devices/.../power/runtime_status
Date2010년 4월
ContactRafael J. Wysocki <[email protected]>
Description이 attribute에는 device의 현재 runtime PM status가 들어 있습니다. 가능한 값은 "suspended", "suspending", "resuming", "active", fatal error를 뜻하는 "error", runtime PM이 disable되어 있음을 뜻하는 "unsupported"입니다.
Runtime PM status values
ValueMeaning
activeDevice is active
suspendedDevice is runtime-suspended
suspendingTransitioning to suspended
resumingTransitioning to active
errorFatal error
unsupportedRuntime PM is disabled

runtime_status가 보고하는 stable, transitional 및 exceptional states입니다.

Runtime active time

273-279
항목한국어 전문 번역
What/sys/devices/.../power/runtime_active_time
Date2010년 7월
ContactArjan van de Ven <[email protected]>
DescriptionDevice가 active 상태였던 total time을 milliseconds 단위로 보고합니다. Runtime PM statistics에 사용됩니다.
Runtime PM statistics and policy
AttributeReported value
runtime_active_timeTotal active time in milliseconds
runtime_suspended_timeTotal suspended time in milliseconds
runtime_usageRuntime PM usage count
runtime_enabledEnabled, disabled, forbidden or combined policy
runtime_active_kidsChildren usage count, or 0 when ignored

Runtime state 이후 제공되는 time, usage와 child accounting attributes입니다.

Runtime suspended time

280-286
항목한국어 전문 번역
What/sys/devices/.../power/runtime_suspended_time
Date2010년 7월
ContactArjan van de Ven <[email protected]>
DescriptionDevice가 suspended 상태였던 total time을 milliseconds 단위로 보고합니다. Runtime PM statistics에 사용됩니다.

Runtime PM usage count

287-292
항목한국어 전문 번역
What/sys/devices/.../power/runtime_usage
Date2010년 4월
ContactDominik Brodowski <[email protected]>
DescriptionDevice의 runtime PM usage count를 보고합니다.

Runtime PM enable policy

293-300
항목한국어 전문 번역
What/sys/devices/.../power/runtime_enabled
Date2010년 4월
ContactDominik Brodowski <[email protected]>
Description이 device에서 runtime PM이 enable되어 있는지를 나타냅니다. State는 "enabled", "disabled", "forbidden" 또는 뒤의 두 state를 조합한 값입니다.

Runtime-active child usage count

301-307
항목한국어 전문 번역
What/sys/devices/.../power/runtime_active_kids
Date2010년 4월
ContactDominik Brodowski <[email protected]>
DescriptionDevice의 runtime PM children usage count를 보고하며, children을 무시할 경우에는 0을 보고합니다.