On Mon, Dec 30, 2019 at 4:42 PM Mike C. <[email protected]> wrote:

> >
> > phy0assoc - flashes on client association.
> > phy0tpt - flashes slowly and steadily on network activity.in comparison
> > to energetic flashes of tx and rx mode
> >
>
> The above info is referenced in the non-default LED section of the OpenWrt
> documentation that I provided the link to.
>
> Where did you find the default LED info?
>

I cheated. I logged into one. If you clone the git repo, you can git grep
for it too. E.g.:

$ git clone git://git.openwrt.org/openwrt/openwrt.git
$ git grep mr24
package/boot/uboot-envtools/files/apm821xx:meraki,mr24)
target/linux/apm821xx/base-files/etc/board.d/01_leds:meraki,mr24)
target/linux/apm821xx/base-files/etc/board.d/01_leds:
ucidef_set_led_netdev "wan" "WAN" "mr24:green:wan" "eth0"
target/linux/apm821xx/base-files/etc/board.d/01_leds:   ucidef_set_led_wlan
"wlan1" "WLAN1" "mr24:green:wifi1" "phy0assoc"
target/linux/apm821xx/base-files/etc/board.d/01_leds:   ucidef_set_led_wlan
"wlan2" "WLAN2" "mr24:green:wifi2" "phy0assoc"
target/linux/apm821xx/base-files/etc/board.d/01_leds:   ucidef_set_led_wlan
"wlan3" "WLAN3" "mr24:green:wifi3" "phy0assoc"
target/linux/apm821xx/base-files/etc/board.d/01_leds:   ucidef_set_led_wlan
"wlan4" "WLAN4" "mr24:green:wifi4" "phy0tpt"
target/linux/apm821xx/base-files/etc/board.d/02_network:meraki,mr24|\
target/linux/apm821xx/base-files/lib/preinit/05_set_iface_mac_apm821xx:
    meraki,mr24|\
target/linux/apm821xx/base-files/lib/upgrade/platform.sh:
meraki,mr24|\
target/linux/apm821xx/dts/meraki-mr24.dts:      compatible = "meraki,mr24",
"meraki,ikarem", "apm,bluestone";
target/linux/apm821xx/dts/meraki-mr24.dts:                      label =
"mr24:green:power";
target/linux/apm821xx/dts/meraki-mr24.dts:                      label =
"mr24:orange:power";
target/linux/apm821xx/dts/meraki-mr24.dts:                      label =
"mr24:green:wan";
target/linux/apm821xx/dts/meraki-mr24.dts:                      label =
"mr24:green:wifi1";
target/linux/apm821xx/dts/meraki-mr24.dts:                      label =
"mr24:green:wifi2";
target/linux/apm821xx/dts/meraki-mr24.dts:                      label =
"mr24:green:wifi3";
target/linux/apm821xx/dts/meraki-mr24.dts:                      label =
"mr24:green:wifi4";
target/linux/apm821xx/image/Makefile:define Device/meraki_mr24
target/linux/apm821xx/image/Makefile:  BOARD_NAME := mr24
target/linux/apm821xx/image/Makefile:  DEVICE_DTS := meraki-mr24
target/linux/apm821xx/image/Makefile:  SUPPORTED_DEVICES += mr24
target/linux/apm821xx/image/Makefile:TARGET_DEVICES += meraki_mr24
tools/firmware-utils/src/mkmerakifw.c:          .id             = "mr24",

Look at target/linux/apm821xx/base-files/etc/board.d/01_leds


>
> I even searched the OpenWrt site for  option sysfs 'mr24:green:wifi1' and
> it returned no results.
>

Humans are unreliable, but source code never lies. ;-)
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to