libusb Developers Guide
Prev |  | Next

# 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.

Prev | Home | Next
usb_get_driver_np | Up | Examples