Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2013 20:37:12 +0400
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Atheros 9220 don't return from S3 state
Message-ID:  <20130112163712.GJ67643@zxy.spb.ru>
In-Reply-To: <CAJ-VmomUdkCtsGfzvd=hoeoNYPVip11nxNFb5z48a0EFWkbCTQ@mail.gmail.com>
References:  <20130110080729.GQ1967@zxy.spb.ru> <CAJ-VmonkpnV=H0-pP-6Rv%2BvHoU4Sdi-7KzgLKz9%2BHjmXtuZGkA@mail.gmail.com> <20130111075136.GA67643@zxy.spb.ru> <CAJ-VmomBRDBk9oOaZo-6kvLWYvFxrH99XhyHH9FeyUta6pqzww@mail.gmail.com> <20130112105245.GF67643@zxy.spb.ru> <CAJ-Vmom18Pr2kq0qAymjintpg1Crgrna8%2By=7fBk8Vy7nqP5_A@mail.gmail.com> <20130112154404.GH67643@zxy.spb.ru> <CAJ-Vmomy4jVNs9r0H2XzVO-Q6tq7=O4EzJn-NLCOO=n%2BSJce_g@mail.gmail.com> <20130112162851.GI67643@zxy.spb.ru> <CAJ-VmomUdkCtsGfzvd=hoeoNYPVip11nxNFb5z48a0EFWkbCTQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 12, 2013 at 08:25:22AM -0800, Adrian Chadd wrote:

> .. right, try flipping the rf kill switch off/on after suspend, dump
> the config registers.

don't react -- 255 times 'ff'

> Adrian
> 
> 
> On 12 January 2013 08:28, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
> > On Sat, Jan 12, 2013 at 07:52:19AM -0800, Adrian Chadd wrote:
> >
> >> Ah, is it perhaps rfkill related?
> >>
> >> I've seen issues with rfkill before, where it is implemented as
> >> "disable the power to the entire slot" rather than assert the RF kill
> >> line to the device.
> >> It's possible this is how it has to happen with the intel NICs?
> >>
> >> do you have an rfkill button on the keyboard to enable/disable wireless?
> >> Try toggling that, then do pciconf -lv again?
> >>
> >> You can read the entire set of pci configuration registers:
> >>
> >> pciconf -rb pciX.X.X.X 0:255
> >>
> >> If they show up as 0xffffffff then the NIC is disconnected/powered
> >> off/hung. Try toggling the RF kill key on your keyboard, then re-read
> >> those config registers.
> >
> > No rfkill button on the keyboard, but have hardware rf switch. This
> > switch now work only for bluetooth (switching off don't relay to
> > atheros card).
> >
> > Fresh boot, driver working
> > Switch off: # pciconf -rb pci0:6:5:0 0:255
> > 8c 16 29 00 16 01 b0 02  01 00 80 02 08 a8 00 00
> > 00 00 20 b0 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 8c 16 91 20
> > 00 00 00 00 44 00 00 00  00 00 00 00 12 01 00 00
> > 80 00 00 00 01 00 82 48  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> >
> > Switch on: # pciconf -rb pci0:6:5:0 0:255
> > 8c 16 29 00 16 01 b0 02  01 00 80 02 08 a8 00 00
> > 00 00 20 b0 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 8c 16 91 20
> > 00 00 00 00 44 00 00 00  00 00 00 00 12 01 00 00
> > 80 00 00 00 01 00 82 48  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> >
> > go to sleep, resume (switch still on): # pciconf -rb pci0:6:5:0 0:255
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
> >
> >> Adrian
> >>
> >>
> >>
> >> On 12 January 2013 07:44, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
> >> > On Sat, Jan 12, 2013 at 07:27:02AM -0800, Adrian Chadd wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> There's no firmware for the AR9220 .. it's all in the driver/HAL.
> >> >>
> >> >> If XP restore isn't working; maybe there's something in the ACPI/BIOS
> >> >> that's screwing things up?
> >> >
> >> > I am use last available BIOS.
> >> > After restore don't working only this card and this card don't have
> >> > tab 'Power manager' in windows device manager.
> >> >
> >> > I found in the internet information about other issuse with this
> >> > wn861n (and windows) (for example --
> >> > http://www.nothingbuttablets.com/forum/showthread.php?p=80851), but
> >> > using last driver don't help for me.



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