I was hoping to make the blue led flash in "heartbeat" mode. With the
on-flash Ubuntu 15.10, kernel 3.4.39, the interface looks like this:
# cat /sys/class/leds/blue_led/trigger
none mmc0 mmc1 mmc2 timer [heartbeat] backlight gpio default-on rfkill0
rfkill1 rfkill2
With Leap15 kernel 4.12.14:
# cat /sys/class/leds/nanopi:blue:status/trigger
[none] kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock
kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock
kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock usb-gadget usb-host
disk-activity ide-disk mtd nand-disk cpu cpu0 cpu1 cpu2 cpu3 panic mmc0
mmc1 rfkill-any rfkill0
The interface name change is due to an updated dtb, but where do the
changed options come from? Specifically, what happened to
the 'heartbeat' option? It looks it can be emulated by the timer
trigger, and the /sys/class/leds/<device>/delay_{on,off} values, but
neither seems to be available on the nanopi neo air?
(hardly a critical issue, I'm just curious).
--
Per Jessen, Zürich (2.4°C)
http://www.dns24.ch/ - your free DNS host, made in Switzerland.
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]