Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[23.05] ipq40xx: whw03v2: backport RGB LED fixes #15438

Merged
merged 2 commits into from
May 10, 2024

Conversation

Lanchon
Copy link
Contributor

@Lanchon Lanchon commented May 10, 2024

@Ansuel

WHW03 V2 was unable to control its LEDs due to a bug.

as a workaround, linux,default-trigger = "default-on"; was added to its blue led in the DTS, to at least have a LED shining while the device was powered on. (otherwise the device would go totally dark.)

now the LED bugfix was backported to 23.05 (7606dac), which means that the workaround has to be removed to restore good behavior.

thanks!

@github-actions github-actions bot added kernel pull request/issue with Linux kernel related changes target/ipq40xx pull request/issue for ipq40xx target release/23.05 pull request/issue targeted (also) for OpenWrt 23.05 release labels May 10, 2024
The RGB LED should glow green in the 'running' state, but it
was glowing cyan because the blue component defaulted to 'on'.

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
(cherry picked from commit fc62d66)
Link: openwrt#15438
Signed-off-by: Robert Marko <robimarko@gmail.com>
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@gmail.com>
(cherry picked from commit c2f52e4)
Link: openwrt#15438
Signed-off-by: Robert Marko <robimarko@gmail.com>
@openwrt-bot openwrt-bot merged commit 567af39 into openwrt:openwrt-23.05 May 10, 2024
1 check passed
@robimarko
Copy link
Contributor

Thanks! Rebased on top of openwrt-23.05 and merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel pull request/issue with Linux kernel related changes release/23.05 pull request/issue targeted (also) for OpenWrt 23.05 release target/ipq40xx pull request/issue for ipq40xx target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants