Draft: patches/openwrt: base-files: Support for MOX heartbeat LED
- First argument: "config" (mostly used in OpenWrt as wan), which seems to be alright in our case as it is primary WAN port on module A
- Second argument "name" thus MOX A (where is the LED), could be renamed, but I think MOX A fits our case
- Third argument: name in sysfs
In LED Configuration, it looks like this:
The LED now does the heartbeat. Original author of this patch is @mhrusecky and I modified it based on findings above.
The first part of the patch related to uci-defaults is submitted to OpenWrt: https://github.com/openwrt/openwrt/pull/10730
Merge request reports
Activity
changed milestone to %Turris OS 6.0
added High label
requested review from @sborek
assigned to @sborek
- Resolved by Simon Borek
Confirmed that before the LED was steady, now it is blinking as it should. :-) You can test it yourself, if you prefer. I flashed the medkit from the dev branch to factory, rollback to factory, wait until router successfully starts and then it is blinking.
🎉
added 1 commit
- 20ad8015 - patches/openwrt: base-files: Support for MOX heartbeat LED
added 1 commit
- e1bcc262 - patches/openwrt: base-files: Support for MOX heartbeat LED
added 1 commit
- 588ae1b4 - fixup! patches/openwrt: base-files: Support for MOX heartbeat LED
marked this merge request as draft from 588ae1b4
- Resolved by Josef Schlehofer
@jschlehofer I think, this deserves you sign-off as well. Are you OK with the way it's added in the fixup?
assigned to @jschlehofer and unassigned @sborek
added 1 commit
- ae40ca2f - fixup! patches/openwrt: base-files: Support for MOX heartbeat LED
added 1 commit
- 6af4e64a - patches/openwrt: base-files: Support for MOX heartbeat LED