code: def _open(self, skip=0):
          
          usb_device = self._get_usb_device(skip)
  
          if usb_device:
              usb_conf = usb_device.configurations[0]
              self._usb_int = usb_conf.interfaces[0][0]
          else:
              raise YubiKeyUSBHIDError('No USB YubiKey found')
  
          try:
              self._usb_handle = usb_device.open()
              self._usb_handle.detachKernelDriver(0)
          except Exception as error:
              if 'could not detach kernel driver from interface' in str(error):
                  self._debug('The in-kernel-HID driver has already been detached\n')
              else:
                  self._debug("detachKernelDriver not supported!\n")
  
          try:
              self._usb_handle.setConfiguration(1)
          except usb.USBError:
              self._debug("Unable to set configuration, ignoring...\n")
          self._usb_handle.claimInterface(self._usb_int)
          return True
docs: Perform HID initialization