[ltp] ndiswrapper and swsusp

Adam Olsen linux-thinkpad@linux-thinkpad.org
Tue, 25 Jan 2005 01:52:38 -0700


Michael Perry wrote:
> You may need to give ndiswrapper a kick afterwards.  With linuxant,
> the drivers seem to be stale and though I can see stuff in iwconfig, I
> cannot connect.  Prior to 2.6.10, I could not even suspend with the
> card in the slot.  What I do now is launch a small command-line
> program which removes the linuxant driver upon a suspend event and
> then modprobes it after the system comes back.

Yeah, I've tried that actually.  My script goes as far as unloading 
ndiswrapper, cardctl eject, stopping pcmcia services, stops hotplug, and 
finally suspends.  On resume, it restarts hotplug, pcmcia, cardctl 
inserts, and modprobes ndiswrapper.