Draft: patches/openwrt: tweak leds setup patch for Omnia
First change is that the LEDs should have been configured in leds configuration file not in network one. This moves it there.
Second and most important change is the change from list of WiFi devices to just plain wlan list for three wlan devices. This is in no way ideal as it relies on initialization of PCI devices in order. This means that leds won't no longer reflect exactly the position in PCI slot but rather order of initialization. The issue we are trying to solve here is that original code just wasn't working as WiFi devices are not initialized at time of this script execution. The result was that WiFi leds just were not configured at all, at least till the system update that caused re-execution of this script later in system execution.
And the last change is the move of this patch from branding to to-upstream. We can't push it right now but we should be able in the future once upstream updates kernel to version with our RGB leds support.
Merge request reports
Activity
added Bug label
changed milestone to %Turris OS 5.3.0
1 From 1de76102a90e3c3b0f321847d0fcdfcfddb78e0f Mon Sep 17 00:00:00 2001 2 From: Michal Hrusecky <Michal@Hrusecky.net> 3 Date: Tue, 24 Sep 2019 22:41:11 +0200 4 Subject: [PATCH] base-files: Setup LEDs on Omnia 5 6 --- 7 target/linux/mvebu/base-files/etc/board.d/01_leds | 6 ++++++ 8 1 file changed, 6 insertions(+) 9 10 diff --git a/target/linux/mvebu/base-files/etc/board.d/01_leds b/target/linux/mvebu/base-files/etc/board.d/01_leds 11 index 14313ee..2c51cc6 100755 12 --- a/target/linux/mvebu/base-files/etc/board.d/01_leds 13 +++ b/target/linux/mvebu/base-files/etc/board.d/01_leds added 1 commit
- d6af4375 - fixup! patches/openwrt: tweak leds setup patch for Omnia
marked this merge request as draft from d6af4375
assigned to @kkoci and unassigned @jschlehofer
added 1 commit
- 8d711d40 - patches/openwrt: fix invalid lan when there is none on Mox
@jschlehofer I added one final tweak to fix Mox lan assignment.
assigned to @jschlehofer and unassigned @kkoci
assigned to @kkoci and unassigned @jschlehofer
added 96 commits
-
8d711d40...55365d1f - 94 commits from branch
hbl
- 3579d540 - patches/openwrt: tweak leds setup patch for Omnia
- b3da9cb7 - patches/openwrt: fix invalid lan when there is none on Mox
-
8d711d40...55365d1f - 94 commits from branch
mentioned in issue #243 (closed)