[Bug 231264] libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb()

2018-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264 --- Comment #1 from Ludovic Rousseau --- Created attachment 197047 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197047&action=edit Correctly et the context -- You are receiving this mail because: You are the assignee for the

[Bug 231264] libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb()

2018-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264 --- Comment #2 from Ludovic Rousseau --- The code ctx = GET_CONTEXT(NULL); is also used in libusb_bulk_transfer() at https://github.com/freebsd/freebsd/blob/master/lib/libusb/libusb10_io.c#L588 and libusb_interrupt_transfer() at https://

[Bug 231322] libusb_bulk_transfer() does not fail (with LIBUSB_ERROR_NO_DEVICE) if the device is not more present

2018-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231322 Bug ID: 231322 Summary: libusb_bulk_transfer() does not fail (with LIBUSB_ERROR_NO_DEVICE) if the device is not more present Product: Base System Version: C

[Bug 231264] libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb()

2018-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264 Hans Petter Selasky changed: What|Removed |Added Status|New |In Progress --- Comment #3 f

[Bug 231322] libusb_bulk_transfer() does not fail (with LIBUSB_ERROR_NO_DEVICE) if the device is not more present

2018-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231322 --- Comment #1 from Ludovic Rousseau --- I propose the attached patch. It works for me. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.org mail

[Bug 231322] libusb_bulk_transfer() does not fail (with LIBUSB_ERROR_NO_DEVICE) if the device is not more present

2018-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231322 --- Comment #2 from Ludovic Rousseau --- Created attachment 197049 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197049&action=edit Check the USB device is still present -- You are receiving this mail because: You are the assi

[Bug 231264] libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb()

2018-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264 --- Comment #4 from Ludovic Rousseau --- The patch does not fix the problem for libusb10_do_transfer_cb(). Only for the 2 other uses of GET_CONTEXT(NULL). -- You are receiving this mail because: You are the assignee for the bug.

[Bug 231322] libusb_bulk_transfer() does not fail (with LIBUSB_ERROR_NO_DEVICE) if the device is not more present

2018-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231322 --- Comment #3 from Hans Petter Selasky --- See updated patch on Bug 231076 . -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.org mailing list h

[Bug 231322] libusb_bulk_transfer() does not fail (with LIBUSB_ERROR_NO_DEVICE) if the device is not more present

2018-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231322 Hans Petter Selasky changed: What|Removed |Added Resolution|--- |DUPLICATE CC

[Bug 231264] libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb()

2018-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264 Hans Petter Selasky changed: What|Removed |Added Attachment #197047|0 |1 is obsolete|