On Wed, 2 Nov 2005, gary clark wrote: > Hi Alan, > > Thanks for the response. Basically I want to avoid the > kernel driver modifications until next time. > But your right it probably was easier to make the > modification in usb_storage. > By calling the usb_detach_kernel_driver_np on a > specific interface and then after I want to enable > the usb_storage perform an ioctl call to bind the > driver to the interface again so that usb_storage can > can be used on that interface. Does that make sence? A > simple NO would suffice.
Yes, that should work. There is an ioctl (or libusb) call you can use to make the kernel reprobe a device. In your case the interface would get bound to usb-storage again. Alan Stern ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel