요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Dock identity, flags and type
sysfs-devices-platform-dock:17-39uid는 연결된 station을 식별하고 flags는 user undock request 확인에 쓰이며 type은 dock_station, ata_bay 또는 battery_bay입니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/devices/platform/dock.<N>/docked
2
Date: Dec, 2006
3
KernelVersion: 2.6.19
4
Contact: linux-acpi@vger.kernel.org
5
Description:
6
(RO) Value 1 or 0 indicates whether the software believes the
7
laptop is docked in a docking station.
9
What: /sys/devices/platform/dock.<N>/undock
10
Date: Dec, 2006
11
KernelVersion: 2.6.19
12
Contact: linux-acpi@vger.kernel.org
13
Description:
14
(WO) Writing to this file causes the software to initiate an
15
undock request to the firmware.
17
What: /sys/devices/platform/dock.<N>/uid
18
Date: Feb, 2007
19
KernelVersion: v2.6.21
20
Contact: linux-acpi@vger.kernel.org
21
Description:
22
(RO) Displays the docking station the laptop is docked to.
24
What: /sys/devices/platform/dock.<N>/flags
25
Date: May, 2007
26
KernelVersion: v2.6.21
27
Contact: linux-acpi@vger.kernel.org
28
Description:
29
(RO) Show dock station flags, useful for checking if undock
30
request has been made by the user (from the immediate_undock
31
option).
33
What: /sys/devices/platform/dock.<N>/type
34
Date: Aug, 2008
35
KernelVersion: v2.6.27
36
Contact: linux-acpi@vger.kernel.org
37
Description:
38
(RO) Display the dock station type- dock_station, ata_bay or
39
battery_bay.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Software docked state
1-8| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/dock.<N>/docked |
| Date | 2006년 12월 |
| KernelVersion | 2.6.19 |
| Contact | linux-acpi@vger.kernel.org |
| Description | (RO) 값 1 또는 0은 software가 laptop이 docking station에 docked되어 있다고 판단하는지 나타냅니다. |
Firmware undock request
9-16| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/dock.<N>/undock |
| Date | 2006년 12월 |
| KernelVersion | 2.6.19 |
| Contact | linux-acpi@vger.kernel.org |
| Description | (WO) 이 file에 write하면 software가 firmware에 undock request를 시작합니다. |
User writes dock.<N>/undock→Software initiates request→Firmware handles undock→docked state reflects software belief
Sysfs write는 직접 분리를 표시하는 값이 아니라 firmware request를 시작합니다.
Docking-station identifier
17-23| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/dock.<N>/uid |
| Date | 2007년 2월 |
| KernelVersion | v2.6.21 |
| Contact | linux-acpi@vger.kernel.org |
| Description | (RO) Laptop이 docked된 docking station을 표시합니다. |
Dock-station flags
24-32| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/dock.<N>/flags |
| Date | 2007년 5월 |
| KernelVersion | v2.6.21 |
| Contact | linux-acpi@vger.kernel.org |
| Description | (RO) Dock station flags를 표시합니다. immediate_undock option에서 user가 undock request를 했는지 확인하는 데 유용합니다. |
Dock-station type
33-39| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/dock.<N>/type |
| Date | 2008년 8월 |
| KernelVersion | v2.6.27 |
| Contact | linux-acpi@vger.kernel.org |
| Description | (RO) Dock station type을 표시합니다. 가능한 type은 dock_station, ata_bay 또는 battery_bay입니다. |
AttributeAccess역할 또는 값
dockedROSoftware belief: 1 or 0
undockWOFirmware undock request 시작
uidROConnected docking station
flagsROUndock-request 관련 station flags
typeROdock_station / ata_bay / battery_bay
Read-only identity/state fields와 write-only action을 구분합니다.
Dock state and firmware undock request
sysfs-devices-platform-dock:1-16docked는 software가 판단한 결합 상태를 0/1로 표시하고, undock write는 firmware에 undock request를 시작합니다.