[lwlan-user] Re: [lwlan-devel] Linux-wlan-ng and xen
Solomon Peachy
solomon at linux-wlan.com
Mon Jun 19 17:36:52 EDT 2006
On Sat, Jun 17, 2006 at 10:47:26AM +0100, Richard Kennedy wrote:
> > there an SVN or CVS repo with all the patches in - I'm already running
> > the FC5 udev patch, now there's this reference counting one too - it
Can someone bounce me a copy of the current udev patch?
> I don't know what's happening with suspend/resume, it doesn't work for
> me at all. Without the attached patch my laptop hangs on resume -- with
> it the wlan card doesn't start up again but everything else is OK.
Rather than being in the "create/destroy" functions, the refcounting
should be in the probe/remove functions. And it also needs to handle
errors on registration.
This particular API call was there before 2.6.16, and it is also not
used by most of the in-kernel USB drivers. So I'm honestly not sure
when it's actually of use.
> I would like to get the driver to send the disable message to the card
> on module unload and see if that helps. but I haven't 1) found the right
> place in the code to put it and 2) found the time to do much with it :)
The prism_usb's hardware is rather finiky, to stay the least.. but
essentially, on a suspend, the hardware goes away but the driver does
not. The driver needs to reset itself by basically going into
ifstate_disable state. That said, in the case of USB I believe the
device should be disconnecting itself from the bus, so the driver stack
should go down and come back up cleanly.
That's the theory, anyway..
- Solomon
--
Solomon Peachy solomon at linux-wlan.com
AbsoluteValue Systems http://www.linux-wlan.com
721-D North Drive +1 (321) 259-0737 (office)
Melbourne, FL 32934 +1 (321) 259-0286 (fax)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.linux-wlan.com/pipermail/linux-wlan-user/attachments/20060619/8266cf78/attachment.pgp
More information about the Linux-wlan-user
mailing list