요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
CPU clock mode encoding
sysfs-platform-eeepc-laptop:28-56Model별 available CPU modes와 current selection을 8-bit fields 두 개로 packing합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/devices/platform/eeepc/disp
2
Date: May 2008
3
KernelVersion: 2.6.26
4
Contact: "Corentin Chary" <corentincj@iksaif.net>
5
Description:
6
This file allows display switching.
8
- 1 = LCD
9
- 2 = CRT
10
- 3 = LCD+CRT
12
If you run X11, you should use xrandr instead.
14
What: /sys/devices/platform/eeepc/camera
15
Date: May 2008
16
KernelVersion: 2.6.26
17
Contact: "Corentin Chary" <corentincj@iksaif.net>
18
Description:
19
Control the camera. 1 means on, 0 means off.
21
What: /sys/devices/platform/eeepc/cardr
22
Date: May 2008
23
KernelVersion: 2.6.26
24
Contact: "Corentin Chary" <corentincj@iksaif.net>
25
Description:
26
Control the card reader. 1 means on, 0 means off.
28
What: /sys/devices/platform/eeepc/cpufv
29
Date: Jun 2009
30
KernelVersion: 2.6.31
31
Contact: "Corentin Chary" <corentincj@iksaif.net>
32
Description:
33
Change CPU clock configuration.
34
On the Eee PC 1000H there are three available clock configuration:
36
* 0 -> Super Performance Mode
37
* 1 -> High Performance Mode
38
* 2 -> Power Saving Mode
40
On Eee PC 701 there is only 2 available clock configurations.
41
Available configuration are listed in available_cpufv file.
42
Reading this file will show the raw hexadecimal value which
43
is defined as follow::
45
| 8 bit | 8 bit |
46
| `---- Current mode
47
`------------ Availables modes
49
For example, 0x301 means: mode 1 selected, 3 available modes.
51
What: /sys/devices/platform/eeepc/available_cpufv
52
Date: Jun 2009
53
KernelVersion: 2.6.31
54
Contact: "Corentin Chary" <corentincj@iksaif.net>
55
Description:
56
List available cpufv modes.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
EeePC laptop platform sysfs ABI: disp
1-13| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/eeepc/disp |
| Date | 2008년 5월 |
| KernelVersion | 2.6.26 |
| Contact | "Corentin Chary" <corentincj@iksaif.net> |
| Description | `/sys/devices/platform/eeepc/disp`는 display switching을 제어합니다. `1`은 LCD, `2`는 CRT, `3`은 LCD+CRT입니다. X11을 실행 중이면 이 interface 대신 `xrandr`를 사용해야 합니다. |
ValueOutput
1LCD
2CRT
3LCD + CRT
Display selection value와 active outputs를 정리합니다.
EeePC laptop platform sysfs ABI: camera
14-20| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/eeepc/camera |
| Date | 2008년 5월 |
| KernelVersion | 2.6.26 |
| Contact | "Corentin Chary" <corentincj@iksaif.net> |
| Description | `/sys/devices/platform/eeepc/camera`는 camera를 제어합니다. `1`은 on, `0`은 off입니다. |
EeePC laptop platform sysfs ABI: cardr
21-27| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/eeepc/cardr |
| Date | 2008년 5월 |
| KernelVersion | 2.6.26 |
| Contact | "Corentin Chary" <corentincj@iksaif.net> |
| Description | `/sys/devices/platform/eeepc/cardr`는 card reader를 제어합니다. `1`은 on, `0`은 off입니다. |
EeePC laptop platform sysfs ABI: cpufv
28-50| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/eeepc/cpufv |
| Date | 2009년 6월 |
| KernelVersion | 2.6.31 |
| Contact | "Corentin Chary" <corentincj@iksaif.net> |
| Description | `/sys/devices/platform/eeepc/cpufv`는 CPU clock configuration을 변경합니다. Eee PC 1000H에는 `0` Super Performance Mode, `1` High Performance Mode, `2` Power Saving Mode의 세 configurations가 있고 Eee PC 701에는 두 configurations만 있습니다. Available configurations는 `available_cpufv` file에 나열됩니다. Read하면 raw hexadecimal value가 반환되며 upper 8 bits는 available modes, lower 8 bits는 current mode입니다. 예를 들어 `0x301`은 mode `1`이 선택됐고 available modes가 `3`개임을 뜻합니다. |
BitsFieldExample 0x0301
15:8Available modes3
7:0Current mode1
Modes on Eee PC 1000H0 Super Performance, 1 High Performance, 2 Power Saving
Eee PC 701Only two configurations
원문의 16-bit ASCII 배치를 upper·lower byte fields로 다시 그렸습니다.
EeePC laptop platform sysfs ABI: available cpufv
51-56| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/eeepc/available_cpufv |
| Date | 2009년 6월 |
| KernelVersion | 2.6.31 |
| Contact | "Corentin Chary" <corentincj@iksaif.net> |
| Description | `/sys/devices/platform/eeepc/available_cpufv`는 available CPU frequency-voltage modes를 나열합니다. |
Display와 peripheral toggles
sysfs-platform-eeepc-laptop:1-27LCD·CRT output 조합과 camera·card reader의 0/1 controls를 제공합니다.