On Wed, Dec 12, 2001, Dan Gray <[EMAIL PROTECTED]> wrote: > Crux: Can you make the kernel disconnect/reconnect a USB device on > demand? > > I'm trying to debug a USBdevfs app and think that the key to the > problems i've been having is some kind of connection problem. The crux of > the matter is that when I disconnect/reconnect the USB device between uses > the problem fails to manifest itself. > > Ergo, i'd like to try making the kernel disconnect/reconnect the device > to avoid having to get up and do it myself every time. I am not, however, > a kernel programmer - Is there a way to make the kernel > disconnect/reconnect a device on demand? Can it reconnect to the same > device number or will it always escalate by one? And perhaps most > importantly, where can I find some sample code?
usb_reset_device() or USBDEVFS_RESET for kernel and userspace respectively. JE _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel