[OpenWrt-Devel] [PATCH 0/2] Netgear WNR2200: improved support
michal.cieslakiewicz at wp.pl
Tue Mar 29 13:41:42 EDT 2016
From: Michal Cieslakiewicz <michal.cieslakiewicz at wp.pl>
Date: Tue, 29 Mar 2016 19:13:05 +0200
Subject: [PATCH 0/2] Netgear WNR2200: improved support
Two patches following this email improve OpenWrt support for another
device from Netgear WNR2000v3 family, that is WNR2200.
With AR9287 GPIO chip access in place, all LEDs and buttons are now
accessible to OS. Default configuration is provided so all router's LEDs
and buttons are active and work as expected without need of further
customization - which still is possible via standard /sys/class/leds
interface. Local Ethernet ports (LAN1-4) LEDs show speed link as described
on device label. Additionally, USB power (+5V) can be controlled by
accessing GPIO 57 using /sys/class/gpio subsystem (ON by default).
Also, this router is affected by 'invalid WLAN MAC' issue as other
WNR2000v3 derivatives. Original OpenWrt's solution was to copy LAN address
to WLAN interface, now it has been replaced with standard workaround so
each interface has predictable and unique hardware MAC address.
Tested successfully on WNR2200 with patched trunk r49022.
No USB ports were harmed in the making of this patchset :-)
Michal Cieslakiewicz (2):
ar71xx: WNR2200: fix for random WLAN MAC
ar71xx: WNR2200: enable control of all LEDs and buttons
target/linux/ar71xx/base-files/etc/board.d/01_leds | 15 ++
.../ar71xx/files/arch/mips/ath79/mach-wnr2200.c | 184 ++++++++++++++++-----
2 files changed, 161 insertions(+), 38 deletions(-)
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel