LEDs
Overview⚓︎
LEDs are typically accessed through the Linux LED subsystem API.
All LEDs can be used as you wish and they are just named except the "Power" LED.
(For MX-4, refer to mx4-leds.)
Set LED⚓︎
echo heartbeat > /sys/class/leds/red:gps/trigger
# On
echo 1 > /sys/class/leds/mx4-wifi/brightness
echo 1 > /sys/class/leds/mx4-wifi-red/brightness
# Off
echo 0 > /sys/class/leds/mx4-wifi/brightness
echo 0 > /sys/class/leds/mx4-wifi-red/brightness