Hi all,
I recently acquired a Netgear WNDR3800. To date I've been playing
exclusively on an alix 2D13 platform so I have a few new things to
learn. In any case, I've been tinkering with the LEDs and I'm having
some trouble getting my head around a few things. Specifically:
1. How does one accurately control the WAN LED? /etc/config/network has
this:
config switch_port
# Port 5 controls the configuration of the WAN LED and the
# section does not correspond to a real switch port.
#
# To toggle the use of green or orange LEDs for the WAN port,
# see the LED setting for wndr3700:green:wan in /etc/config/system.
#
# See the key above for switch port 1 for the meaning of the
# 'led' setting below.
option device rtl8366s
option port 5
option led 2
Supposedly this controls the orange WAN LED. However, setting "option
led 0" does not turn the LED off as indicated. It stops blinking but it
doesn't turn off. How do I turn off the orange LED?
2. Why is the orange component of the WAN LED configured/controlled via
/etc/config/network yet the wan:green LED is controlled via
/etc/config/system? Is there some reason I'm not immediately
understanding? Is it because the orange LED for WAN isn't listed under
/sys/class/leds? This would lead me to believe that this is controlled
via some different mechanism than the green LED on the hardware.
config led 'led_wan'
option name 'WAN LED (green)'
option sysfs 'wndr3700:green:wan'
option default '0'
3. Along with #2, why is the green LED pre-configured in
/etc/config/system by /etc/uci-defaults/leds on first boot? The
preconfiguration doesn't actually do anything. What is this for? Am I
missing something?
4. The wifi adapters, ath9k-phy0 and ath9k-phy1 apparently default to
the respective "phy[0|1]tpt" trigger. This also isn't in
/etc/config/system. It seems to happen elsewhere, but I haven't found
the place that controls this. How is this accomplished? Is this some
ath9k driver default?
Any input / insight would be most helpful.
Thanks in advance,
Adam
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel