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.

>> 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.
> 
>> 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.

- Felix
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to