[Bug 215765] libusb_handle_events_completed() hangs after device removal
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 4 14:21:58 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215765
--- Comment #3 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
Q: How to cancel a transfer after device removal if libusb_cancel_transfer()
fails with LIBUSB_ERROR_NOT_FOUND since the device is removed?
A: The FreeBSD USB stack will automatically cancel all pending transfers
belonging to a USB device when it is detached and upon receiving a transfer
status of LIBUSB_TRANSFER_CANCELLED, pcscd should not try re-submit the USB
transfer and set its termination flag.
--HPS
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list