From owner-freebsd-wireless@FreeBSD.ORG Sun Jan 13 21:31:59 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 21B579F2 for ; Sun, 13 Jan 2013 21:31:59 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by mx1.freebsd.org (Postfix) with ESMTP id E8EB9DF3 for ; Sun, 13 Jan 2013 21:31:58 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id 13so4290940iea.21 for ; Sun, 13 Jan 2013 13:31:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:to:cc:reply-to:subject:in-reply-to :x-mailer:mime-version:content-type; bh=sLDcPE2bGK96usmH9QryzDG4Jwti+qS/cXtt7/ZsGGE=; b=Jid+AfqhzVPdFPZn0mbAn7t7871mBGiSNAqw8V4LYr5iGQgmxmRGCztyhy/6Z4Xfuz dbINQdMXwNF6nQRZHT1THqgjQa7sCU8iWnZEqOt/j+u4y7gqcYbIoy5W2x6rxatEEi9h ti5PVg3QTpJoMfJCKuMOowstswYSXA9Yai6ePQ/6jj9bDcM86c2/MAs0w8waFmTU+luF QhwqWItvo7UB1PGdNK0aFNatBIQLo+gMbe/9xYuXLVReyWppgTCnqYiss/7ZY971eywB K/eUlA73j4YTFpkhS5zofQ52gEeuImHCsA32g4BUCzgQp2LmE/P+OnQ8RqkqcuqkyVg0 8xIA== X-Received: by 10.50.194.167 with SMTP id hx7mr5122670igc.99.1358112718353; Sun, 13 Jan 2013 13:31:58 -0800 (PST) Received: from www.palm.com ([32.167.173.243]) by mx.google.com with ESMTPS id aa6sm4899595igc.14.2013.01.13.13.31.53 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 13 Jan 2013 13:31:57 -0800 (PST) Message-ID: <50f327cd.06a9320a.3870.ffffb408@mx.google.com> Date: Sun, 13 Jan 2013 16:32:16 -0500 From: "Adrian Chadd" To: "Slawa Olhovchenkov" Subject: Re: Atheros 9220 don't return from S3 state In-Reply-To: <20130113212939.GS67643@zxy.spb.ru> X-Mailer: Palm webOS v1.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-wireless@freebsd.org" , Ian Smith X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Adrian Chadd 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:31:59 -0000 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.  Adrian Adrian Sent from my Palm Pre on AT&T On Jan 13, 2013 4:25 PM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:=20 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> wr= ote: > > 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. >=20 > Ok, so that means the basic power lines are up and working. >=20 > Ah, I did add in the force-wakeup hack code; it's just not enabled by= default. >=20 > Try editing sys/dev/ath/if_ath_pci.c ; look for: >=20 > #ifdef ATH_PCI_WAKEUP_WAR >=20 > .. and change that to >=20 > #if 1 >=20 > 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.