Date: Fri, 23 Dec 2011 01:57:30 -0800 From: Adrian Chadd <adrian@freebsd.org> To: freebsd-wireless@freebsd.org Subject: ath updates - AR5416 (and later) LED fixes Message-ID: <CAJ-Vmo=HsVhQf7QAATHCzDHvX6sONkYmvmspuPPaiAfE4ogqmQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=HsVhQf7QAATHCzDHvX6sONkYmvmspuPPaiAfE4ogqmQ>