libusb_control_transfer fails with -2 when transfering 1024 bytes with HID reports · Issue #222 · libusb/libusb · GitHub
Crash in windows calling libusb_control_transfer() when another thread is handling usb events and submitting bulk transfers · Issue #186 · libusb/libusb · GitHub