[OpenWrt-Devel] [PATCH] base-files: Fix netdev led trigger

Hannu Nyman hannu.nyman at iki.fi
Sun Dec 16 11:28:42 EST 2018


Based on editing the respective file manually in a live router, the patch 
fixes it partially:

Now there is permanently lit wan led in R7800, but no blinking for wan activity.

R7800 has the mode as "link tx rx", but the patch only does action for 
/sys/class/leds/r7800\:white\:wan/link

```
root at router1:~# cat /sys/class/leds/r7800\:white\:wan/rx
0
root at router1:~# cat /sys/class/leds/r7800\:white\:wan/tx
0
root at router1:~# cat /sys/class/leds/r7800\:white\:wan/link
1
```

I think that the patch should be modified to set all three possible LED actions.



_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list