Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2009 11:33:55 +0100
From:      Paul B Mahol <onemda@gmail.com>
To:        Frank Staals <frank@fstaals.net>
Cc:        Lars Engels <lars.engels@0x20.net>, freebsd-mobile@freebsd.org
Subject:   Re: wpi and suspend/resume
Message-ID:  <3a142e750912240233y1799ba2bw3f58d0bef74495c4@mail.gmail.com>
In-Reply-To: <4B32688A.3030602@fstaals.net>
References:  <4B30FE4E.9050801@fstaals.net> <20091223115046.cs98224exsgw00ok@0x20.net> <4B32688A.3030602@fstaals.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/23/09, Frank Staals <frank@fstaals.net> wrote:
> On 12/23/09 11:50, Lars Engels wrote:
>> <snip>
>>
>> You could try to unload the module before you go to standby and reload
>> it after resuming.
> Ah I forgot to mention that:  I actually also tried that unfortunately
> that resulted in wpi completely hanging my system when I try to reload
> it after resuming. It again gives a bunch of 'wpi0: could not lock
> memory' errors. Then something what I believe to be
> initializing/scanning? channels and then:
>
> wpi0: SKU does support 802.11a
> panic: ieee8021_get_ratetable: no rate table for channel: freq 0 flags 0x0

This is bug, it doesnt exits nicely if attach fail ...

You could try, when unloading wpi module to unload another pci driver and load
same one again while using

hw.pci.do_power_nodriver="3"
hw.pci.do_power_resume="0"

in loader.conf, maybe device doesnt get to D3 state in 'right way'.

-- 
Paul B Mahol



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