From owner-freebsd-wireless@FreeBSD.ORG Sun Jan 13 23:57:12 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 C45E17C6 for ; Sun, 13 Jan 2013 23:57:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ia0-f176.google.com (mail-ia0-f176.google.com [209.85.210.176]) by mx1.freebsd.org (Postfix) with ESMTP id 715D272F for ; Sun, 13 Jan 2013 23:57:12 +0000 (UTC) Received: by mail-ia0-f176.google.com with SMTP id y26so3114669iab.35 for ; Sun, 13 Jan 2013 15:57:06 -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=eVT9KmpgzkBBz8mCWxT+qtDnIpYKbrADgHEQ9Tnl1JQ=; b=qnseQ8E3PlS3wZS5Ycajuupd1m/TC4fR5jU6SJkFuoeJoB+S7SX7ojgBTCOUZm7gUu sj7OhktsE4p4jTlBg9btWnhc131DANULAjxwF63fJsPtwi0fSh+s5SH7nspw3MJ2fZMt vpNJ878dZYv4ZkrfCSAKHHO24Mljdan7p9QrREBV0g3gnsVK1TDElfUmFIRCI/sc4EO/ FeVeKeAwWptWpx8HWE42ikQsbZkvdWBBhH9FqGeCwsROjootmK6mwxnJptYCiMIKHapg 0d1bK1bC6jjjxKkD3R8d/ONY/hYVfDSmdGMz6SNhTLRZToA1xmZ7c9ubpx3pMEEwCOkn x0WA== X-Received: by 10.43.110.132 with SMTP id ek4mr62295739icc.32.1358121426453; Sun, 13 Jan 2013 15:57:06 -0800 (PST) Received: from www.palm.com ([32.167.173.243]) by mx.google.com with ESMTPS id x7sm5721015igk.8.2013.01.13.15.57.01 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 13 Jan 2013 15:57:05 -0800 (PST) Message-ID: <50f349d1.8728320a.6ff7.ffffc0f5@mx.google.com> Date: Sun, 13 Jan 2013 18:56:47 -0500 From: "Adrian Chadd" To: "Slawa Olhovchenkov" Subject: Re: Atheros 9220 don't return from S3 state In-Reply-To: <20130113214448.GU67643@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 23:57:12 -0000 Well. Compare the other bridges too, out of interest. Adrian Sent from my Palm Pre on AT&T On Jan 13, 2013 4:40 PM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:=20 On Sun, Jan 13, 2013 at 04:32:16PM -0500, Adrian Chadd wrote: > Ok. So don't use that :) >=20 > 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 devi= ce is on.&nbsp; >=20 If it is pcib3@pci0:0:30:0: class=3D0x060401 card=3D0x12e310cf chip=3D0x2448808= 6 rev=3D0xd4 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801 Mobile PCI Bridge' class =3D bridge subclass =3D PCI-PCI (other bridge is PCI Express) -- I don't find difference between 'boot' and 'resume'. > Adrian >=20 > Adrian >=20 >=20 >=20 > Sent from my Palm Pre on AT&amp;T > On Jan 13, 2013 4:25 PM, Slawa Olhovchenkov &lt;slw@zxy.spb.ru&= ;gt; wrote:=20 >=20 > On Sun, Jan 13, 2013 at 12:19:22PM -0800, Adrian Chadd wrote: >=20 >=20 >=20 > &gt; On 13 January 2013 12:07, Slawa Olhovchenkov &lt;slw@zxy.= spb.ru&gt; wrote: >=20 > &gt; &gt; On Sun, Jan 13, 2013 at 11:43:55AM -0800, Adrian Cha= dd wrote: >=20 > &gt; &gt; >=20 > &gt; &gt;&gt; Right. That should be a good indication. >=20 > &gt; &gt; >=20 > &gt; &gt; After 10 min card still hot. >=20 > &gt;=20 >=20 > &gt; Ok, so that means the basic power lines are up and working. >=20 > &gt;=20 >=20 > &gt; Ah, I did add in the force-wakeup hack code; it's just not en= abled by default. >=20 > &gt;=20 >=20 > &gt; Try editing sys/dev/ath/if_ath_pci.c ; look for: >=20 > &gt;=20 >=20 > &gt; #ifdef ATH_PCI_WAKEUP_WAR >=20 > &gt;=20 >=20 > &gt; .. and change that to >=20 > &gt;=20 >=20 > &gt; #if 1 >=20 > &gt;=20 >=20 > &gt; Then recompile if_ath_pci and try that. >=20 >=20 >=20 > After reboot not working: >=20 >=20 >=20 > [228] ath0: device timeout >=20 > [236] ath0: device timeout >=20 > [245] ath0: device timeout >=20 >=20 >=20 > PS: card more hot. >=20 >=20