요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
AC alarm value and policy
sysfs-devices-platform-ACPI-TAD:24-56ac_alarm은 timer seconds 또는 disabled를, ac_policy는 DC power일 때 expired AC wakeup을 지연하거나 버리는 정책을 관리합니다.
Alarm status and explicit clearing
sysfs-devices-platform-ACPI-TAD:57-84ac_status는 expiry와 sleep-state wakeup bit를 반환하고 read 또는 0 write로 clear되며, clear 전까지 expired timer가 즉시 wakeup을 유발합니다.
Optional separate DC timer
sysfs-devices-platform-ACPI-TAD:85-117TAD가 별도 DC timer를 지원하면 dc_alarm·dc_policy·dc_status가 나타나며 각각 AC counterpart와 같은 semantics를 사용합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
ACPI Time and Alarm (TAD) device attributes.
What: /sys/bus/platform/devices/ACPI000E:00/caps
Date: March 2018
Contact: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Description:
(RO) Hexadecimal bitmask of the TAD attributes are reported by
the platform firmware (see ACPI 6.2, section 9.18.2):
======= ======================================================
BIT(0): AC wakeup implemented if set
BIT(1): DC wakeup implemented if set
BIT(2): Get/set real time features implemented if set
BIT(3): Real time accuracy in milliseconds if set
BIT(4): Correct status reported for wakeups from S4/S5 if set
BIT(5): The AC timer wakes up from S4 if set
BIT(6): The AC timer wakes up from S5 if set
BIT(7): The DC timer wakes up from S4 if set
BIT(8): The DC timer wakes up from S5 if set
======= ======================================================
The other bits are reserved.
What: /sys/bus/platform/devices/ACPI000E:00/ac_alarm
Date: March 2018
Contact: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Description:
(RW) The AC alarm timer value.
Reads return the current AC alarm timer value in seconds or
"disabled", if the AC alarm is not set to wake up the system.
Write a new AC alarm timer value in seconds or "disabled" to it
to set the AC alarm timer or to disable it, respectively.
If the AC alarm timer is set through this attribute and it
expires, it will immediately wake up the system from the S3
sleep state (and from S4/S5 too if supported) until its status
is explicitly cleared via the ac_status attribute.
What: /sys/bus/platform/devices/ACPI000E:00/ac_policy
Date: March 2018
Contact: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Description:
(RW) The AC alarm expired timer wake policy (see ACPI 6.2,
Section 9.18 for details).
Reads return the current expired timer wake delay for the AC
alarm timer or "never", if the policy is to discard AC timer
wakeups if the system is on DC power.
Write a new expired timer wake delay for the AC alarm timer in
seconds or "never" to it to set the expired timer wake delay for
the AC alarm timer or to set its expired wake policy to discard
wakeups if the system is on DC power, respectively.
What: /sys/bus/platform/devices/ACPI000E:00/ac_status
Date: March 2018
Contact: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Description:
(RW) The AC alarm status.
Reads return a hexadecimal bitmask representing the AC alarm
timer status with the following meaning of bits (see ACPI 6.2,
Section 9.18.5):
======= ======================================================
Bit(0): The timer has expired if set.
Bit(1): The timer has woken up the system from a sleep state
(S3 or S4/S5 if supported) if set.
======= ======================================================
The other bits are reserved.
Reads also cause the AC alarm timer status to be reset.
Another way to reset the status of the AC alarm timer is to
write (the number) 0 to this file.
If the status return value indicates that the timer has expired,
it will immediately wake up the system from the S3 sleep state
(and from S4/S5 too if supported) until its status is explicitly
cleared through this attribute.
What: /sys/bus/platform/devices/ACPI000E:00/dc_alarm
Date: March 2018
Contact: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Description:
(RW,optional) The DC alarm timer value.
This attribute is only present if the TAD supports a separate
DC timer.
It is analogous to the ac_alarm attribute.
What: /sys/bus/platform/devices/ACPI000E:00/dc_policy
Date: March 2018
Contact: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Description:
(RW,optional) The DC alarm expired timer wake policy.
This attribute is only present if the TAD supports a separate
DC timer.
It is analogous to the ac_policy attribute.
What: /sys/bus/platform/devices/ACPI000E:00/dc_status
Date: March 2018
Contact: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Description:
(RW,optional) The DC alarm status.
This attribute is only present if the TAD supports a separate
DC timer.
It is analogous to the ac_status attribute.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
TAD capability bitmask
1-23| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/ACPI000E:00/caps |
| Date | 2018년 3월 |
| Contact | Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| Description | (RO) Platform firmware가 보고한 TAD attribute의 hexadecimal bitmask입니다(ACPI 6.2 section 9.18.2). 아래 bit 외의 bit는 reserved입니다. |
Set된 각 bit가 firmware에서 구현되었다고 표시하는 기능입니다.
AC alarm timer value
24-40| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/ACPI000E:00/ac_alarm |
| Date | 2018년 3월 |
| Contact | Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| Description | (RW) AC alarm timer 값입니다. Read는 현재 값을 seconds 단위로 반환하며 system wakeup용 AC alarm이 설정되지 않았으면 "disabled"를 반환합니다. 새 seconds 값 또는 "disabled"를 write하여 각각 timer를 설정하거나 비활성화합니다. 이 attribute로 설정한 AC alarm이 만료되면 ac_status로 status를 명시적으로 clear할 때까지 system을 S3에서 즉시 깨우며, 지원되는 경우 S4/S5에서도 깨웁니다. |
Expired timer는 status가 남아 있는 동안 sleep entry에서 즉시 wakeup을 유발합니다.
AC expired-timer wake policy
41-56| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/ACPI000E:00/ac_policy |
| Date | 2018년 3월 |
| Contact | Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| Description | (RW) AC alarm의 expired timer wake policy입니다(ACPI 6.2 section 9.18). Read는 현재 expired-timer wake delay를 반환합니다. System이 DC power인 경우 AC timer wakeup을 버리는 정책이면 "never"를 반환합니다. 새 delay seconds 또는 "never"를 write하여 각각 AC alarm의 expired wake delay를 설정하거나 DC power 상태에서 wakeup을 버리도록 설정합니다. |
Timer 자체와 expired wake policy는 별도 attribute로 설정합니다.
AC alarm status and reset
57-84| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/ACPI000E:00/ac_status |
| Date | 2018년 3월 |
| Contact | Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| Description | (RW) AC alarm status입니다. Read는 ACPI 6.2 section 9.18.5의 bit 의미를 따르는 hexadecimal bitmask를 반환하며, 동시에 AC alarm timer status를 reset합니다. 숫자 0을 write하는 것도 status를 reset하는 방법입니다. 반환 status가 timer expiry를 나타내면 이 attribute로 status를 명시적으로 clear할 때까지 S3에서 system을 즉시 깨우고, 지원되는 경우 S4/S5에서도 깨웁니다. 정의된 bit 외의 bit는 reserved입니다. |
Read 결과의 두 defined status bit입니다.
두 operation 모두 expired/wakeup status를 clear합니다.
Optional DC alarm timer
85-95| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/ACPI000E:00/dc_alarm |
| Date | 2018년 3월 |
| Contact | Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| Description | (RW, optional) DC alarm timer 값입니다. TAD가 별도 DC timer를 지원할 때만 존재하며 ac_alarm attribute와 같습니다. |
Optional DC wake policy
96-106| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/ACPI000E:00/dc_policy |
| Date | 2018년 3월 |
| Contact | Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| Description | (RW, optional) DC alarm의 expired timer wake policy입니다. TAD가 별도 DC timer를 지원할 때만 존재하며 ac_policy attribute와 같습니다. |
Optional DC alarm status
107-117| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/ACPI000E:00/dc_status |
| Date | 2018년 3월 |
| Contact | Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| Description | (RW, optional) DC alarm status입니다. TAD가 별도 DC timer를 지원할 때만 존재하며 ac_status attribute와 같습니다. |
Separate DC timer를 지원할 때만 세 attribute가 나타납니다.
Firmware-reported capabilities
sysfs-devices-platform-ACPI-TAD:1-23caps는 AC/DC wakeup, real-time access·accuracy, S4/S5 status와 timer wake support를 firmware bitmask로 제공합니다.