[openwrt/openwrt] ipq40xx: whw03v2: change LED color for 'running' state to blue

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 13 14:22:29 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c2f52e42b1e9f736edd6e4545ebe3435db6605ee

commit c2f52e42b1e9f736edd6e4545ebe3435db6605ee
Author: Rodrigo Balerdi <lanchon at gmail.com>
AuthorDate: Sat Apr 13 16:36:31 2024 -0300

    ipq40xx: whw03v2: change LED color for 'running' state to blue
    
    Change the RGB indicator LED color for the running state from green to
    blue. There are various reasons for this change:
    
    - In stock firmware, green means internet connection is up, red means it
      is down, and blue means indeterminate. To track stock behavior as
      closely as possible, OpenWrt should indicate blue by default.
    
    - In the current 23.x OpenWrt releases for this router, the led glows
      blue all the time -not green- because the bootloader sets it blue
      and there is an OpenWrt bug that makes it unable to control the LED.
      The bug is fixed in master, so without this commit there would be an
      unexpected change of behavior for this device in the next release.
    
    - The ports other closely related Linksys devices (such as EA8300 and
      MR8300) get this right and use blue for the running state.
    
    Signed-off-by: Rodrigo Balerdi <lanchon at gmail.com>
---
 .../linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts  | 2 +-
 .../ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts b/target/linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts
index 9176ace23d..96733d8780 100644
--- a/target/linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts
+++ b/target/linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts
@@ -13,7 +13,7 @@
 	aliases {
 		led-boot = &led_blue;
 		led-failsafe = &led_red;
-		led-running = &led_green;
+		led-running = &led_blue;
 		led-upgrade = &led_red;
 	};
 
diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts
index 9176ace23d..96733d8780 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts
@@ -13,7 +13,7 @@
 	aliases {
 		led-boot = &led_blue;
 		led-failsafe = &led_red;
-		led-running = &led_green;
+		led-running = &led_blue;
 		led-upgrade = &led_red;
 	};
 




More information about the lede-commits mailing list