[opensuse-arm] nanopi neo - blue led ?
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: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Jan 28 2019, Per Jessen <per@computer.org> wrote:
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?
Is the ledtrig-heartbeat module loaded? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Andreas Schwab wrote:
On Jan 28 2019, Per Jessen <per@computer.org> wrote:
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?
Is the ledtrig-heartbeat module loaded?
Thanks, it wasn't. I did not occur to me it might be provided by a module. /Per -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Per Jessen
-
Per Jessen