요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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를 연결합니다.