| 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. |
| 8 |
|
| 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. |
| 13 |
|
| 14 |
Format: %i |
| 15 |
|
| 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. |
| 23 |
|
| 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. |
| 27 |
|
| 28 |
Format: %i |