usb_detach_kernel_driver_np

Name

usb_detach_kernel_driver_np -- Detach kernel driver from interface

Description

int usb_detach_kernel_driver_np(usb_dev_handle *dev, int interface);

This function will detach a kernel driver from the interface specified by parameter interface. Applications using libusb can then try claiming the interface. Returns 0 on success or < 0 on error.

Implemented on Linux only.