Date: Sat, 26 Dec 2009 16:56:53 +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: <3a142e750912260756g76befe61v6847736e6d30b4df@mail.gmail.com> In-Reply-To: <4B35EF8D.5040603@fstaals.net> References: <4B30FE4E.9050801@fstaals.net> <20091223115046.cs98224exsgw00ok@0x20.net> <4B32688A.3030602@fstaals.net> <3a142e750912240233y1799ba2bw3f58d0bef74495c4@mail.gmail.com> <4B35EF8D.5040603@fstaals.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/26/09, Frank Staals <frank@fstaals.net> wrote: > On 12/24/09 11:33, Paul B Mahol wrote: >> <snip> >> 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'. >> > I'm not sure I understand what you meant by that. First I added the > both hw.pci lines to /boot/loader.conf and rebooted. Then I tried the > following two scenarios: > > 1: kldunload if_wpi > 2: kldunload snd_hda > 3: acpiconf -s3 > 4: resume > 5: kldload snd_hda > 6: kldload if_wpi > > However when I load if_wpi in step 6 it will not recognize the hardware. > > The other scenario: > > 1: kldunload if_wpi > 2: kldunload snd_hda > 3: kldload snd_hda > 4: acpiconf -s3 > 5: kldload if_wpi > > This scenario again results in a panic when loading if_wpi in step 5. > When loading if_wpi again the following message popped up in particular: > > wpi0: chip is in D3 power mode -- setting to d0 > > Allthough when I checked the second scenario again without the hw.pci > lines in /boot/loader.conf the this message also appears when > re-enabling wpi. > > Is one of these scenarios what you had in mind ? Or can/should I try > something else ? I'm out of ideas :( -- Paul B Mahol
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750912260756g76befe61v6847736e6d30b4df>