Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • usb_set_configuration returns -1. However I don't know if that's LIBUSB_ERROR_BUSY or something else, because that symbol is undeclared. I also tried USB_ERROR_BUSY, undeclared as well. I also didn't find either in any *.h file on my whole system. usb_set_configuration is declared in /usr/include/usb.h but I don't see any error code defined there. Commented Jan 3, 2021 at 17:06
  • I also get the same error code (-1) after blacklisting ds2490 and rebooting. Commented Jan 3, 2021 at 17:15
  • In Debian 10, there are 2 versions of libusb available, and each has its corresponding development package: libusb-1.0-0-dev for libusb-1.0-0 and libusb-dev for libusb-0.1-4. The respective .h files are at /usr/include/libusb-1.0/libusb.h and /usr/include/usb.h, but only if the development packages are installed. Commented Jan 3, 2021 at 17:50