Date: Thu, 21 Nov 2019 06:41:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 242131] libusb_set_auto_detach_kernel_driver(3) causes libusb_claim_interface(3) to fail Message-ID: <bug-242131-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: yuri@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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242131-227>
