mirror of
https://github.com/archlinuxarm/wiki.git
synced 2024-11-08 22:45:42 +00:00
18 lines
378 B
Markdown
18 lines
378 B
Markdown
|
## LED Brightness
|
||
|
If the default settings are too bright, disable the default modules using
|
||
|
`/etc/modprobe.d/led.conf`:
|
||
|
|
||
|
```
|
||
|
blacklist leds_gpio
|
||
|
blacklist led_class
|
||
|
blacklist ledtrig_heartbeat
|
||
|
```
|
||
|
|
||
|
and use a systemd tmpfile to configure desirable settings,
|
||
|
`/etc/tmpfiles.d/led.conf`:
|
||
|
|
||
|
```
|
||
|
w /sys/class/gpio/export - - - - 123
|
||
|
w /sys/class/gpio/gpio123/direction - - - - in
|
||
|
```
|