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: [email protected]
          Reporter: [email protected]
 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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to