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
Copyright ©2009-2022 Arch Linux ARM
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead.