Re: Re: [lwlan-devel] Linux-wlan-ng and xen

Solomon Peachy <[email protected]> Mon, 19 Jun 2006 17:36:52 -0400
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
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                        [email protected]
AbsoluteValue Systems                 http://www.linux-wlan.com
721-D North Drive                     +1 (321) 259-0737  (office)
Melbourne, FL 32934                   +1 (321) 259-0286  (fax)

_______________________________________________
Linux-wlan-user mailing list
[email protected]
http://lists.linux-wlan.com/mailman/listinfo/linux-wlan-user
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFElxjuhinxHf95MjYRAnpFAJwJrdgxk7ws0VsvzbChTB5DqrfWWACgqBUd
Ysv+CRjox99bAQQZ71//kzQ=
=9uj1
-----END PGP SIGNATURE-----