libusb_handle_events
int libusb_handle_events(libusb_context * ctx);
if ((ret = libusb_handle_events(ctx)) < 0) {