Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2011 11:59:50 +0100
From:      Zygis Skulteckis <list@theneptuneproject.net>
To:        freebsd-wireless@freebsd.org
Subject:   ar5212Attach: couldn't wakeup chip
Message-ID:  <20110518105950.GA77610@kosmos.zx23.net>

index | next in thread | raw e-mail

Hi all,

Maybe someone here can help with this problem.

I'm having problems getting Atheros 5212-based PC Card working with a
Thinkpad X60 tablet and FreeBSD 8.2.

Here's what I get when I insert the card (with hw.ath.hal.debug=0xffffffff)

May 18 10:03:52  kernel: cardbus0: Expecting link target, got 0xa
May 18 10:03:52  kernel: cardbus0: Expecting link target, got 0xa
May 18 10:03:52  kernel: ath0: <Atheros 5212> mem 0xbf6d0000-0xbf6dffff irq 16 at device 0.0 on cardbus0
May 18 10:03:52  kernel: ath0: [ITHREAD]
May 18 10:03:52  kernel: ar5212Attach: sc 0xc6dfb000 st 0x1 sh 0xe8bcd000
May 18 10:03:52  kernel: ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
May 18 10:03:52  kernel: ar5212SetPowerModeAwake: Failed to wakeup in 40ms
May 18 10:03:52  kernel: ar5212Attach: couldn't wakeup chip
May 18 10:03:52  kernel: ar5212Detach:
May 18 10:03:52  kernel: Detaching Ani
May 18 10:03:52  kernel: ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
May 18 10:03:52  kernel: ar5212SetPowerModeAwake: Failed to wakeup in 40ms
May 18 10:03:52  kernel: ar5212SetPowerMode: AWAKE -> FULL-SLEEP (set chip )
May 18 10:03:52  kernel: ath0: unable to attach hardware; HAL status 3
May 18 10:03:52  kernel: device_attach: ath0 attach returned 6

pciconf shows this:

ath0@pci0:22:0:0:       class=0x020000 card=0x710316ab chip=0x0013168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = '802.11a/b/g Wireless Adapter (AR2312)'
    class      = network
    subclass   = etherne

This card works in my old Thinkpad T40 and FreeBSD 8.0 in AP mode and
never had any problems with it.  On the X60, with FreeBSD 8.0, I get
exactly the same error as above.

Has anyone ever experienced something like this?  Could it be some sort
of PC Cart slot compatibility issue?


Thanks for reading!
Zygis


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110518105950.GA77610>