(self, interface)
r"""Detach a kernel driver from the interface (if one is attached,
            we have permission and the operation is supported by the OS)

        Arguments:
            interface: interface number or an Interface object.
r"""Detach a kernel driver from the interface (if one is attached,
            we have permission and the operation is supported by the OS)
r Detach a kernel driver from the interface ( if one is attached we have permission and the operation is supported by the OS )
def detachKernelDriver(self, interface):
        r"""Detach a kernel driver from the interface (if one is attached,
            we have permission and the operation is supported by the OS)

        Arguments:
            interface: interface number or an Interface object.
        """
        if isinstance(interface, Interface):
            interface = interface.interfaceNumber

        self.dev.detach_kernel_driver(interface)
def detachKernelDriver ( self , interface ) : if isinstance ( interface , Interface ) : interface = interface . interfaceNumber self . dev . detach_kernel_driver ( interface )