On Sat, Dec 17, 2011 at 11:50 AM, Felix Fietkau <[email protected]> wrote: > On 2011-12-17 4:59 PM, Felix Fietkau wrote: >> On 2011-12-15 8:58 PM, Mark Deneen wrote: >>> The following patch applies cleanly to r29537 and adds support for the >>> Buffalo WZR-HP-G300NH2. It's still missing a few things, though. >>> >>> 1. The blue USB LED. I am certain that it is wmac gpio 4, but I can't >>> get it to work. >> I just hooked up my NH2, I'll look into it. > Figured it out. It does not work if it booted without having brought up > an interface. Creating an interface, using ifconfig wlan0 up, then > destroying it again makes the LED work from that point on. Not sure how > to fix that yet.
Yes, in my testing I wasn't bringing up the wlan interface. >>> 2. The AOSS button. This is wmac gpio 12, but there is currently no >>> support for wmac gpios as buttons. >> I'll rework ath9k to register a gpio controller. >> Thanks! >>> 3. While the LEDs function, they are registered after the ath9k.ko >>> module is loaded. Because of this, the blinking preinit LED doesn't >>> show up, since the module is loaded after preinit starts. >> Shouldn't the red diag LED be the blinking preinit LED? >> According to your patch it's set up as a normal GPIO led. > Ah, I see. The code is using the green router LED. I think I'll change > it to use the diag LED instead. > By the way, your patch seems to set the wmac gpio to a bogus value. The > wireless LED at GPIO 5 should be configured as the wmac LED and not > registered as an extra LED. I'll take care of it. I saw that the red diagnostic light was an option, since it was available at boot. However, I was hoping to keep things as similar to the current G300NH, but maybe we should change the G300NH to match the NH2, since the diagnostic LED is likely to always be hooked up to to a normal GPIO. As for the wmac gpio, I understand what it is doing now. Sorry for the mistake there, I thought that it was doing something else. -M _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
