code: def attach_kernel_driver(self, interface):
          r
          self._ctx.managed_open()
          self._ctx.backend.attach_kernel_driver(
              self._ctx.handle,
              interface)
docs: r"""Re-attach an interface's kernel driver, which was previously
          detached using detach_kernel_driver().
  
          The interface parameter is the device interface number to attach the
          driver to.