>    - That epnum_to_ep_desc() result shouldn't be used without a bit
>      more locking; else the config could change from under usbfs.
...
> I cc'd Duncan Sands, who's got a devio.c patch in the works that'll
> fix a bunch of such stuff.

Hi Dave, I'm sorry that my patch is slow in coming - I'm busy testing
it (will wonders never cease?).  Problems are showing up in
usb_set_configuration.  Can you please tell me - how (and where) is
a driver's disconnect method called?  I ask because in some situations
usbfs's disconnect method is not being called.  The only place I see is
in usb_unbind_interface.  usb_unbind_interface seems to be passed to
sysfs in usb_register:
        new_driver->driver.remove = usb_unbind_interface;
When does that get called?  I guess it gets called by (for example)
usb_disable_device when it does device_del(&interface->dev);
Is that right?

Thanks,

Duncan.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to