요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/class/leds/<led>/device/brightness
2
Date: July 2020
3
KernelVersion: 5.9
4
Contact: Marek Behún <[email protected]>
5
Description: (RW) On the front panel of the Turris Omnia router there is also
6
a button which can be used to control the intensity of all the
7
LEDs at once, so that if they are too bright, user can dim them.
9
The microcontroller cycles between 8 levels of this global
10
brightness (from 100% to 0%), but this setting can have any
11
integer value between 0 and 100. It is therefore convenient to be
12
able to change this setting from software.
14
Format: %i
16
What: /sys/class/leds/<led>/device/gamma_correction
17
Date: August 2023
18
KernelVersion: 6.6
19
Contact: Marek Behún <[email protected]>
20
Description: (RW) Newer versions of the microcontroller firmware of the
21
Turris Omnia router support gamma correction for the RGB LEDs.
22
This feature can be enabled/disabled by writing to this file.
24
If the feature is not supported because the MCU firmware is too
25
old, the file always reads as 0, and writing to the file results
26
in the EOPNOTSUPP error.
28
Format: %i
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Turris Omnia global LED brightness
1-14| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/device/brightness |
| Date | 2020년 7월 |
| KernelVersion | 5.9 |
| Contact | Marek Behún <[email protected]> |
| Description | Read/write입니다. Turris Omnia router 전면 button으로 모든 LED intensity를 한 번에 낮출 수 있습니다. Microcontroller button은 100%에서 0%까지 8개 global brightness level을 순환하지만 이 설정은 0-100의 모든 integer를 받을 수 있어 software에서도 변경할 수 있습니다. 형식은 %i입니다. |
Turris Omnia RGB gamma correction
16-28| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/device/gamma_correction |
| Date | 2023년 8월 |
| KernelVersion | 6.6 |
| Contact | Marek Behún <[email protected]> |
| Description | Read/write입니다. 최신 Turris Omnia microcontroller firmware가 지원하는 RGB LED gamma correction을 enable·disable합니다. MCU firmware가 오래되어 지원하지 않으면 항상 0을 읽고 쓰기는 EOPNOTSUPP로 실패합니다. 형식은 %i입니다. |
상태ReadWrite
지원현재 enable 값Enable·disable
미지원항상 0EOPNOTSUPP
MCU firmware capability에 따른 read/write 동작입니다.
Global brightness and gamma
sysfs-class-led-driver-turris-omnia:1-28전면 button의 8단계와 software integer brightness를 연결하고 오래된 MCU의 EOPNOTSUPP 동작을 구분합니다.