[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-wireless
Subject: ath updates - AR5416 (and later) LED fixes
From: adrian () freebsd ! org (Adrian Chadd)
Date: 2011-12-23 9:57:37
Message-ID: CAJ-Vmo=HsVhQf7QAATHCzDHvX6sONkYmvmspuPPaiAfE4ogqmQ () mail ! gmail ! com
[Download RAW message or body]
Hi,
I've found some issues with the LED code in the HAL.
The short version: we're not programming the LED pins right.
The long version:
* The GPIO multiplexer wasn't being programmed correctly;
* The values being written into AR_MAC_LED (which control what the MAC
network state and power LEDs are doing) were wrong;
* We're not programming both LEDs - I think we're just programming the
network LED.
I've fixed things up so the Link LED on my D-Link AR5416 NIC works. I
bet that other 11n NICs now work (if they have LEDs, or the LEDs are
wired to the board.) I unfortunately don't have anything to test
though.
No wait, I lie - the onboard AR9280 in this IBM thinkpad has GPIO 1
wired into the wireless lan LED, and that's now happily blinking away
when I flip on the right softled configuration.
So maybe we'll finally have working wireless LAN LED blinking for the
11n NICs. :)
Ok, so if someone would like a bit of a mini-project, I can give you
all the relevant documentation and braindump what I've managed to
figure out re: LED handling. It's going to be a bit messy as there's a
whole load of potential ways that the LEDs can be configured but I
think it's worthwhile to get right. Especially if you'd like an
introductory project.
Adrian
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic