[Bug 224454] Feature request: implement libusb_get_parent and libusb_has_capability

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 21 18:43:35 UTC 2017


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

--- Comment #2 from Ting-Wei Lan <lantw44 at gmail.com> ---
I have no FreeBSD 12 installation. The machine I used to test libgusb runs
FreeBSD 11.1-RELEASE. I can setup FreeBSD 12 in virtual machine if I have to
provide some code running on it.

I think libusb_has_capability is easier to implement. Do you think it is
correct for libusb_has_capability to always return 1 for the hotplug
capability?

I found there is another missing function today:
libusb_interrupt_event_handler. gvfs uses it in its MTP backend, and this is
the only libusb function it calls. gvfs has an option to disable libusb
support, so it doesn't cause build problems.

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


More information about the freebsd-usb mailing list