← Documents Documentation/ABI/testing/sysfs-class-led-multicolor GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Multicolor LED component sysfs ABI

Color 순서를 제공하는 multi_index와 같은 index의 integer intensity 배열 및 max_brightness 제한을 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-class-led-multicolor
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Color and intensity arrays

sysfs-class-led-multicolor:1-24

두 배열의 같은 위치로 sub-LED color와 intensity를 연결합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1
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.
10
11 For additional details please refer to
12 Documentation/leds/leds-class-multicolor.rst.
13
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.
22
23 For additional details please refer to
24 Documentation/leds/leds-class-multicolor.rst.
25

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Multicolor component index

1-12
항목한국어 전문 번역
What/sys/class/leds/<led>/multi_index
Date2020년 3월
KernelVersion5.9
ContactDan Murphy <[email protected]>
DescriptionRead-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
Date2020년 3월
KernelVersion5.9
ContactDan Murphy <[email protected]>
DescriptionRead/write integer 배열입니다. Component 순서는 multi_index array가 설명합니다. Maximum intensity는 /sys/class/leds/<led>/max_brightness를 넘지 않아야 합니다. 자세한 내용은 Documentation/leds/leds-class-multicolor.rst를 참조하십시오.
Multicolor array correspondence
multi_index: color ordersame array indexmulti_intensity: integer valuemax_brightness 이하

두 배열의 같은 index가 color와 intensity를 연결합니다.