From 2ce9962c2c3e98c3b72548ec6f60e5824464e9c7 Mon Sep 17 00:00:00 2001 From: Jason Ryan Date: Sun, 26 Feb 2017 12:13:34 +1300 Subject: [PATCH] ODROID-U3 update (#7) Migration from Arch Wiki --- ODROID-U3.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/ODROID-U3.md b/ODROID-U3.md index 42712c7..0514bc9 100644 --- a/ODROID-U3.md +++ b/ODROID-U3.md @@ -11,4 +11,26 @@ ctl.!default { type hw card 0 } -``` \ No newline at end of file +``` +## LEDs +ODROIDs have dual LEDs: a red power LED which is always on if power is +supplied, and a blue LED which can be configured. + +By default, the blue LED is a heartbeat LED, which flashes when the kernel is +running. This can be configured in `/sys/class/leds/led1/trigger`. + +To list available triggers: + + # cat /sys/class/leds/blue:heartbeat/trigger + +Replace TRIGGER with one of the available triggers. This setting will apply +instantly, but be lost upon reboot. + + # echo TRIGGER > /sys/class/leds/blue:heartbeat/trigger + +To create a persistent configuration, edit or create +`/etc/tmpfiles.d/leds.conf`: + + w /sys/class/leds/blue:heartbeat/trigger - - - - TRIGGER + +