https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291774

            Bug ID: 291774
           Summary: libusb_open reports all libusb20_dev_open errors as
                    LIBUSB_ERROR_NO_MEM
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: [email protected]
          Reporter: [email protected]

libusb_open returns LIBUSB_ERROR_NO_MEM for any error returned by
libusb20_dev_open. Map some of the key errors reported by libusb20_dev_open to
their LIBUSB counterparts. As a minumum:

LIBUSB_ERROR_BUSY
LIBUSB_ERROR_ACCESS
LIBUSB_ERROR_NO_DEVICE

The added granularity aids USB client software to give a better user
experience.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to