Date: Tue, 04 Sep 2018 16:42:28 +0000 From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 231076] libusb_cancel_transfer() does NOT cancel a transfer after the USB device is removed Message-ID: <bug-231076-19105-XCPVc1l9Au@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-231076-19105@https.bugs.freebsd.org/bugzilla/> References: <bug-231076-19105@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231076 --- Comment #5 from Ludovic Rousseau <ludovic.rousseau+freebsd@gmail.com> -= -- I get log message when using libusb_set_debug(ctx, LIBUSB_DEBUG_FUNCTION); After I remove the device I get: LIBUSB_FUNCTION: libusb10_handle_events_sub enter 04338703 hotplug_libusb.c:626:HPRemoveHotPluggable() Removing USB device[0]: 0:2:0 00000009 readerfactory.c:610:RFRemoveReader() UnrefReader() count was: 1 00000003 eventhandler.c:175:EHDestroyEventHandler() Stomping thread. 00000005 ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFB1, usb:2406/6407:libusb-1.0:0:2:0 (lun: 0) 00000003 ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFB2, usb:2406/6407:libusb-1.0:0:2:0 (lun: 0) 00000004 eventhandler.c:200:EHDestroyEventHandler() Request stopping of pol= ling thread 00000004 ifdhandler.c:346:IFDHStopPolling() usb:2406/6407:libusb-1.0:0:2:0 (lun: 0) 00000003 ccid_usb.c:1399:InterruptStop() uxfer->dev_handle: 0x28c0c9c0 LIBUSB_FUNCTION: libusb_cancel_transfer enter LIBUSB_FUNCTION: libusb_cancel_transfer leave 00000010 ccid_usb.c:1403:InterruptStop() libusb_cancel_transfer failed: LIBUSB_ERROR_NOT_FOUND I guess I now have to instrument libusb to get more logs. How can I rebuild libusb? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231076-19105-XCPVc1l9Au>