요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
2
What: /sys/class/leds/<led>/multi_index
3
Date: March 2020
4
KernelVersion: 5.9
5
Contact: Dan Murphy <[email protected]>
6
Description: read
7
The multi_index array, when read, will output the LED colors
8
as an array of strings as they are indexed in the
9
multi_intensity file.
11
For additional details please refer to
12
Documentation/leds/leds-class-multicolor.rst.
14
What: /sys/class/leds/<led>/multi_intensity
15
Date: March 2020
16
KernelVersion: 5.9
17
Contact: Dan Murphy <[email protected]>
18
Description: read/write
19
This file contains array of integers. Order of components is
20
described by the multi_index array. The maximum intensity should
21
not exceed /sys/class/leds/<led>/max_brightness.
23
For additional details please refer to
24
Documentation/leds/leds-class-multicolor.rst.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Multicolor component index
1-12| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/multi_index |
| Date | 2020년 3월 |
| KernelVersion | 5.9 |
| Contact | Dan Murphy <[email protected]> |
| Description | Read-only multi_index array입니다. 읽으면 multi_intensity file에서 index되는 순서대로 LED color 문자열 배열을 출력합니다. 자세한 내용은 Documentation/leds/leds-class-multicolor.rst를 참조하십시오. |
Multicolor component intensity
14-24| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/multi_intensity |
| Date | 2020년 3월 |
| KernelVersion | 5.9 |
| Contact | Dan Murphy <[email protected]> |
| Description | Read/write integer 배열입니다. Component 순서는 multi_index array가 설명합니다. Maximum intensity는 /sys/class/leds/<led>/max_brightness를 넘지 않아야 합니다. 자세한 내용은 Documentation/leds/leds-class-multicolor.rst를 참조하십시오. |
multi_index: color order→same array index→multi_intensity: integer value→max_brightness 이하
두 배열의 같은 index가 color와 intensity를 연결합니다.
Color and intensity arrays
sysfs-class-led-multicolor:1-24두 배열의 같은 위치로 sub-LED color와 intensity를 연결합니다.