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



Adrian


On 12 January 2013 08:28, Slawa Olhovchenkov <s...@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 <s...@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.
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to