From owner-freebsd-wireless@FreeBSD.ORG Sun Jan 13 21:40:13 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0583EE7F for ; Sun, 13 Jan 2013 21:40:13 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) by mx1.freebsd.org (Postfix) with ESMTP id B8B81E3C for ; Sun, 13 Jan 2013 21:40:12 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1TuVMH-000IDt-2D; Mon, 14 Jan 2013 01:44:49 +0400 Date: Mon, 14 Jan 2013 01:44:49 +0400 From: Slawa Olhovchenkov To: Adrian Chadd Subject: Re: Atheros 9220 don't return from S3 state Message-ID: <20130113214448.GU67643@zxy.spb.ru> References: <20130113212939.GS67643@zxy.spb.ru> <50f327cd.06a9320a.3870.ffffb408@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50f327cd.06a9320a.3870.ffffb408@mx.google.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: "freebsd-wireless@freebsd.org" , Ian Smith X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 13 Jan 2013 21:40:13 -0000 On Sun, Jan 13, 2013 at 04:32:16PM -0500, Adrian Chadd wrote: > Ok. So don't use that :) > > I'll dig up the pci hostif registers and see what I can find. But, hm. We should dump and compare the pci conf registers for the bridge that device is on.  > If it is pcib3@pci0:0:30:0: class=0x060401 card=0x12e310cf chip=0x24488086 rev=0xd4 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Mobile PCI Bridge' class = bridge subclass = PCI-PCI (other bridge is PCI Express) -- I don't find difference between 'boot' and 'resume'. > Adrian > > Adrian > > > > Sent from my Palm Pre on AT&T > On Jan 13, 2013 4:25 PM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote: > > On Sun, Jan 13, 2013 at 12:19:22PM -0800, Adrian Chadd wrote: > > > > > On 13 January 2013 12:07, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote: > > > > On Sun, Jan 13, 2013 at 11:43:55AM -0800, Adrian Chadd wrote: > > > > > > > >> Right. That should be a good indication. > > > > > > > > After 10 min card still hot. > > > > > > Ok, so that means the basic power lines are up and working. > > > > > > Ah, I did add in the force-wakeup hack code; it's just not enabled by default. > > > > > > Try editing sys/dev/ath/if_ath_pci.c ; look for: > > > > > > #ifdef ATH_PCI_WAKEUP_WAR > > > > > > .. and change that to > > > > > > #if 1 > > > > > > Then recompile if_ath_pci and try that. > > > > After reboot not working: > > > > [228] ath0: device timeout > > [236] ath0: device timeout > > [245] ath0: device timeout > > > > PS: card more hot. > >