

def detachKernelDriver(self, interface):
    'Detach a kernel driver from the interface (if one is attached,\n            we have permission and the operation is supported by the OS)\n\n        Arguments:\n            interface: interface number or an Interface object.\n        '
    if isinstance(interface, Interface):
        interface = interface.interfaceNumber
    self.dev.detach_kernel_driver(interface)

dataset/ETHPy150Open walac/pyusb/usb/legacy.py DeviceHandle.detachKernelDriver/original