On Fri, 22 Aug 2003, John Levon wrote:

> On Wed, Aug 20, 2003 at 12:01:31PM -0400, Alan Stern wrote:
> 
> > > + usb_set_interface(interface_to_usbdev(iface),
> > > +                 iface->altsetting[0].desc.bInterfaceNumber,
> > > +                 0);
> > 
> > If a program is trying to use an interface after a driver has released it, 
> > this part of the patch could easily mess things up.  Perhaps it should be 
> > removed.  Or perhaps the ppp code should explicitly select the correct 
> > altsetting for itself.
> 
> FYI, I've just verified that removing this part is still a viable
> workaround for the problem in current Linus tree.

It sounds like some part of the ppp code is making an unjustified 
assumption that the state of a USB interface will remain unchanged after a 
driver unbinds.  Maybe the driver should remain bound to the interface.

Has this been brought to the attention of the maintainers of the 
Speedtouch or ppp drivers?

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to