[Bug 242131] libusb_set_auto_detach_kernel_driver(3) causes libusb_claim_interface(3) to fail

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 21 06:41:08 UTC 2019


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

            Bug ID: 242131
           Summary: libusb_set_auto_detach_kernel_driver(3) causes
                    libusb_claim_interface(3) to fail
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: yuri at freebsd.org
 Attachment #209310 text/plain
         mime type:

Created attachment 209310
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209310&action=edit
usb.cpp

The attached usb.cpp fails (when the supported device is present) at
libusb_claim_interface when libusb_set_auto_detach_kernel_driver is called
before it.

Removing libusb_set_auto_detach_kernel_driver makes libusb_claim_interface to
succeed.

I had to patch the port misc/openhantek with the workaround for this issue in
order to make it to work.

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


More information about the freebsd-bugs mailing list