-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LIBUSB_TRANSFER_TIMED_OUT for stream transfers. #1491
Comments
Are you sure the device is returning anything and not just bailing out? |
I observed the packet transfer on Teledyne LeCroy. The command is transmitted successfully, followed by the device sending an acknowledgment. To receive data from the device, the host must then send an acknowledgment with particular stream id back to the device. However, in this instance, the host isn't sending the acknowledgment to the device. Additionally, I utilized the synchronous API libusb_bulk_transfer to send the same command, and it functions properly with the device returning the correct inquiry data. |
Hi libusb team,
I'm currently utilizing libusb version 1.0.27 for stream transfer with my USB device (SanDisk SSD) on Ubuntu 22.04.4 LTS . Specifically, I'm sending an inquiry command to the UAS endpoints. While I can confirm that the command is successfully transmitted, unfortunately, I'm encountering an issue where I'm unable to receive the data in return. The error received is LIBUSB_TRANSFER_TIMED_OUT. I would greatly appreciate any insights or assistance regarding why the inquiry data isn't being received. Below I have provided the code, transfer logs and device information.
CODE:
OUTPUT:
LOGS:
DEVICE INFOMATION:
The text was updated successfully, but these errors were encountered: