[OpenWrt-Devel] [PATCH 2/2] lantiq: Fix status LED on TDW89X0 after boot is completed.

Mathias Kresin openwrt at kresin.me
Fri Apr 22 02:34:41 EDT 2016


Am 21.04.2016 um 23:43 schrieb Vittorio Gambaletta (VittGam):
> After recent patches, the status LED on this router would stay
> switched off after boot is completed. A switched off status LED
> often indicates a boot failure (eg. kernel panic), so fix this and
> get back to the previous behaviour.

NAK

This change was intentional. Personally, I don't like the idea of using 
the WPS led as permanent (running) status led. I've never tried it, but 
I may be possible to use WPS with hostapd and show the status of the WPS 
action using the WPS led. I like to prevent such a double use of leds.

The basic idea was to let the WPS led blink as long as the device boots 
and switch it off at the time the boot has finished. Which means an 
unsuccessful boot is indicated by a still blinking WPS led.

Mathias

>
> Signed-off-by: Vittorio Gambaletta <openwrt at vittgam.net>
> ---
>
> --- a/target/linux/lantiq/dts/TDW89X0.dtsi
> +++ b/target/linux/lantiq/dts/TDW89X0.dtsi
> @@ -8,6 +8,7 @@
>   			/* the power led can't be controlled, use the wps led instead */
>   			boot = &wps;
>   			failsafe = &wps;
> +			running = &wps;
>
>   			dsl = &dsl;
>   			internet = &internet;
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list