parameters: (self, interface)
docstring: 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.
docstring_summary: r"""Detach a kernel driver from the interface (if one is attached,
              we have permission and the operation is supported by the OS)
docstring_tokens: r Detach a kernel driver from the interface ( if one is attached we have permission and the operation is supported by the OS )
function: 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)
function_tokens: def detachKernelDriver ( self , interface ) : if isinstance ( interface , Interface ) : interface = interface . interfaceNumber self . dev . detach_kernel_driver ( interface )