[Bug 215765] libusb_handle_events_completed() hangs after device removal

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 4 13:57:05 UTC 2017


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

Hans Petter Selasky <hselasky at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hselasky at FreeBSD.org

--- Comment #1 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
Hi,

Can you set the LIBUSB_DEBUG environment before running the USB application?

env LIBUSB_DEBUG=0 program > log0.txt
env LIBUSB_DEBUG=1 program > log1.txt
env LIBUSB_DEBUG=2 program > log2.txt

And reproduce the issue?

libusb_handle_events_completed() only returns when the *completed variable is
set to non-zero, typically when the USB transfer callbacks receive a CANCELLED
error code. Maybe the pcscd APP doesn't check for this error code?

--HPS

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


More information about the freebsd-usb mailing list