Add libusb_attach_kernel_driver()
authorBastien Nocera <hadess@hadess.net>
Thu, 30 Oct 2008 14:35:23 +0000 (14:35 +0000)
committerDaniel Drake <dsd@gentoo.org>
Mon, 3 Nov 2008 23:14:42 +0000 (23:14 +0000)
commit1d7cf3d0fa8698eae25097cbda1870be90ff6f5e
treed5fe8abbaa6f3c00c52e6e1609ef360e219808d2
parent914a4e70657c86b5094770aa2d898c978b1cdf41
Add libusb_attach_kernel_driver()

Add support for re-attaching a driver to a device under Linux.

[dsd: fixed handling of return value, and added LIBUSB_ERROR_BUSY case]
libusb/core.c
libusb/libusb.h
libusb/libusbi.h
libusb/os/linux_usbfs.c