|
From: <dus...@em...> - 2019-04-03 21:39:35
|
Hi, my host app (libusb on Win 10) reads some data from interrupt IN and bulk IN endpoint from my USB device. Sometimes the app stops reading the data from e.g. interrupt IN endpoint, libusb_interrupt_transfer on that endpoint always returns -7 (timeout) with zero data transfered. The USB device has some data prepared to be transfered but there is no incoming request from the host (no usb interrupt routine is called at the device side for libusb_ interrupt_transfer call). At the same time transfers from the host to the device's interrupt OUT endpoint work (usb interrupt routine at the device side is called and data are received by the device). I also noticed that in this state, my device is not detected by Device Monitoring Studio (usb analyzer software). It is visible in Windows Device Manager. I have to unplug and plug my USB device to my PC to make it working. Can you please recommend how to troubleshoot this issue? Thanks Martin |