libusb_set_debug(NULL, 3); // Enable information, warning and error messages (only).
libusb_set_debug(NULL, 4); // Enable information, warning and error messages (only).
Was this supposed to be a part of this patch? ;)
Ah no, of course not. Was doing some debugging and forgot to set it back ;). Thanks for catching that.