code: def detachKernelDriver(self, interface):
          r
          if isinstance(interface, Interface):
              interface = interface.interfaceNumber
  
          self.dev.detach_kernel_driver(interface)
docs: 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.