libusb is so cursed :/
there is no guarantees that udev rules are triggered before calling libusb_open, creating a race condition.
This can be "fixed" by retrying the libusb_open call if it returned LIBUSB_ERROR_ACCESS ...
libusb is so cursed :/
there is no guarantees that udev rules are triggered before calling libusb_open, creating a race condition.
This can be "fixed" by retrying the libusb_open call if it returned LIBUSB_ERROR_ACCESS ...