[OpenWrt-Devel] [PATCH] [ar71xx] Send power to USB port on WNR2200

Riley Baird BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch
Sat Oct 3 18:49:40 EDT 2015


On Sun, 4 Oct 2015 00:24:00 +0200
Felix Fietkau <nbd at openwrt.org> wrote:

> On 2015-10-03 23:40, Riley Baird wrote:
> > As curious as it sounds, the USB port GPIO is indeed behind the WMAC. The
> > WNR2200's GPL code contains the following extract:
> >  /* AR7241 GPIOs */
> > #define WPS_LED_GPIO 7
> > #define AP_USB_LED_GPIO 8
> > 
> > /* AR9287 GPIOs */
> > #define WLAN_LED_GPIO 0
> > #define POWER_LED_GPIO 2 /* green */
> > #define STATUS_LED_GPIO 1 /* amber */
> > #define WLAN_BUTTON_GPIO 3
> > #define WPS_BUTTON_GPIO 5
> > #define RESET_BUTTON_GPIO 6
> > #define USB_5V_GPIO 4
> > 
> > Looking at the above description, I believe you are right that the other
> > LEDs should not be added to the WMAC GPIO mask. What should I do now,
> > resubmit?
> Yes.
Okay. I probably won't have access to my WNR2200 for the next week, but as
soon as I can test the new versiion, I'll submit it.
_______________________________________________
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