From owner-freebsd-wireless@FreeBSD.ORG Wed May 18 11:17:15 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F36C9106564A for ; Wed, 18 May 2011 11:17:15 +0000 (UTC) (envelope-from zygis@kosmos.zx23.net) Received: from kosmos.zx23.net (kosmos.zx23.net [46.4.3.58]) by mx1.freebsd.org (Postfix) with ESMTP id 669238FC1C for ; Wed, 18 May 2011 11:17:15 +0000 (UTC) Received: from kosmos.zx23.net (kosmos.zx23.net [46.4.3.58]) by kosmos.zx23.net (Postfix) with ESMTP id 79DB5204A9 for ; Wed, 18 May 2011 11:59:53 +0100 (BST) X-Virus-Scanned: amavisd-new at zx23.net Received: from kosmos.zx23.net ([46.4.3.58]) by kosmos.zx23.net (kosmos.zx23.net [46.4.3.58]) (amavisd-new, port 10024) with ESMTP id GRU125UBoA+B for ; Wed, 18 May 2011 11:59:50 +0100 (BST) Received: by kosmos.zx23.net (Postfix, from userid 3002) id A63B5204A4; Wed, 18 May 2011 11:59:50 +0100 (BST) Date: Wed, 18 May 2011 11:59:50 +0100 From: Zygis Skulteckis To: freebsd-wireless@freebsd.org Message-ID: <20110518105950.GA77610@kosmos.zx23.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: ar5212Attach: couldn't wakeup chip X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2011 11:17:16 -0000 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: 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