From: David Lamparter Date: Mon, 27 Sep 2010 21:54:03 +0200 Subject: [ath9k-devel] [internal-ath9k-devel] PCI device 168c:ff1c ("AR5008", possibly Apple-branded) In-Reply-To: References: <20100926133935.GA2405354@jupiter.n2.diac24.net> <93781E992CBA7843962D8B0E7D683F3C15C6EE4E9C@SC1EXMB-MBCL.global.atheros.com> Message-ID: <20100927195402.GA2933263@jupiter.n2.diac24.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Mon, Sep 27, 2010 at 10:40:22AM -0700, Luis R. Rodriguez wrote: > On Mon, Sep 27, 2010 at 10:28 AM, Mathieu Olivari > wrote: > > You're talking about ath5k, but actually AR5008 refers to our first 11n chip family. > > Therefore, you would probably have more chances to make it work using ath9k than ath5k. > > Well I referred to ath5k only because I had heard of those type of > devices having some issues with the PCI device ID. The device reliably comes up as ff1c. In the meantime i noticed another odd problem: on booting up, the kernel emits the following message exactly once: [ 21.548449] ath9k 0000:02:00.0: Refused to change power state, currently in D1 this comes immediately before the remainder of the (failing) initialization. However, rmmod/modprobe ath9k does not cause it to be emitted again. Basically this message is once per boot; I will reboot later and check if it re-appears after a reboot. Is it possible the device needs some kind of magic to power up / leave standby correctly? > > I checked in our code, and ff1c refers to "owl emulation ?device id". Therefore, it will probably work out of the box with the 11n driver. owl emulation? > That is strikingly odd. The thing is the user (CC'd and again, this > e-mail is on a public mailing list) gets a failure upon > initialization. > > David - what kernel did you try with? Can you try compat-wireless-2.6.36-rc3-1 ? I'm on wireless-2.6 HEAD 78b110 (3 days old, 2.6.36-rc5-wl+, i assume that includes all the newest drivers? -David P.S.: to re-cite the progress from my other mail: I managed to get more debug output. ath9k_hw_chip_test fails: address test failed addr: 0x00008000 - wr:0xaaaaaaaa != rd:0xaaaaaaab _after_ i disable hw_chip_test in the source code, the output is: ath9k 0000:02:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 ath9k 0000:02:00.0: setting latency timer to 64 ath: Using ANI v1 ath: UNDEFINED -> AWAKE ath: serialize_regmode is 0 ath: Read Magic = 0xFFFF ath: Invalid EEPROM Magic. Endianness mismatch. ath: Unable to initialize hardware; initialization status: -22 ath9k 0000:02:00.0: Failed to initialize device ath9k 0000:02:00.0: PCI INT A disabled ath9k: probe of 0000:02:00.0 failed with error -22