[Bug 231076] libusb_cancel_transfer() does NOT cancel a transfer after the USB device is removed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 3 16:56:27 UTC 2018


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

--- Comment #4 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
>I added a call to libusb_set_debug(ctx, LIBUSB_LOG_LEVEL_DEBUG); in my code but
>I don't see more debug.
>I see that libusb uses DPRINTF(). How can I get the generated log messages?

        LIBUSB_DEBUG_NO=0,
        LIBUSB_DEBUG_FUNCTION=1,
        LIBUSB_DEBUG_TRANSFER=2,

Try using one of the above arguments when calling libusb_set_debug().

--HPS

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


More information about the freebsd-usb mailing list