mirror of
https://github.com/archlinuxarm/wiki.git
synced 2024-11-08 22:45:42 +00:00
parent
2de5be8d4e
commit
ecc2631c2d
1 changed files with 17 additions and 0 deletions
17
USB_Armory.md
Normal file
17
USB_Armory.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
## 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
|
||||||
|
```
|
Loading…
Reference in a new issue