I have set a timeout 500ms in libusb_interrupt_transfer().
>From the debug log:
libusbx: debug [hid_submit_bulk_transfer] matched endpoint 81 with interface 0
libusbx: debug [hid_submit_bulk_transfer] reading 26 bytes (report ID: 0x00)
libusbx: debug [usbi_add_pollfd] add fd 2 events 1
libusbx: de
Kerdo Link wrote:
>
> I have a problem with libusb_interrupt_transfer under cygwin. When I
> want to read data from a USB device and there is nothing to receive, I
> get a Segmentation fault. I managed to backtrace the fault to
> hid_copy_transfer_data() in windows_usb.c, line:
> memcpy(transfer_pr
I have a problem with libusb_interrupt_transfer under cygwin. When I want to
read data from a USB device and there is nothing to receive, I get a
Segmentation fault. I managed to backtrace the fault to
hid_copy_transfer_data() in windows_usb.c, line:
memcpy(transfer_priv->hid_dest, transfer_pri
Closed #150 via 15ee9598454f0c3b6221f45d36c38fb474af74df.
---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/150--
Shape the Mobile Experience: Free Subscription
Software exper