Date: Tue, 08 Jun 2021 15:23:31 +0000 From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 256296] "No Device" error after using asynchronous API of libusb once Message-ID: <bug-256296-19105-4oCYZNUzXR@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-256296-19105@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256296 --- Comment #7 from Sergii <sergii.dmytruk@3mdeb.com> --- Created attachment 225640 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225640&action=edit libusb patch that fixes the race Adding a simple condition that the device must be opened to be considered gone fixes the issue. I might be missing something about detecting unexpectedly detached devices, but this way firmware update succeeds instead of failing right at the start. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256296-19105-4oCYZNUzXR>
