You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to send any command (SCSI Inquiry, SCSI read capacity (10), etc.) to interact with the SSD via the adapter on android 13, the libusb_bulk_transfer function returns the error code LIBUSB_ERROR_TIMEOUT.
At the same time, on android 9 and windows 10, the same SSD with the same adapter works right.
A regular flash drive (8gb) on android 13 works.
Increasing the timeout does not solve the problem.
The same timeout related error also occurs with default USB communication value (UnderlyingUsbCommunication.DEVICE_CONNECTION_SYNC mode)
bulkOutTransfer writes to outEndpoint successfully.
The problem is also reproduced in other applications using libusb (tested on android app: ZUGate).
The problem is reproduced on the following configuration:
OS: Android 13 MIUI 14.0.7
SSD: 870 PRO Samsung 4 TB
External SSD Enclosures: DEXP 2518s3 with controller ASMT105x
//Sending a command SCSI Inquiry (bulk OUT transfer).
bulkOutTransfer (outEndpoint.address, src.array(), src.position(), src.remaining(), TRANSFER_TIMEOUT)
//Successfully.
//Reading the response from the command (bulk IN transfer).
bulkInTransfer (libUsbHandle, inEndpoint.address, dest.array(), dest.position(), dest.remaining(), TRANSFER_TIMEOUT) //! returns Exception with message "libusb_bulk_transfer returned -7, Operation timed out"
The text was updated successfully, but these errors were encountered:
Hello Magnusja.
When trying to send any command (SCSI Inquiry, SCSI read capacity (10), etc.) to interact with the SSD via the adapter on android 13, the libusb_bulk_transfer function returns the error code LIBUSB_ERROR_TIMEOUT.
At the same time, on android 9 and windows 10, the same SSD with the same adapter works right.
A regular flash drive (8gb) on android 13 works.
Increasing the timeout does not solve the problem.
The same timeout related error also occurs with default USB communication value (UnderlyingUsbCommunication.DEVICE_CONNECTION_SYNC mode)
bulkOutTransfer writes to outEndpoint successfully.
The problem is also reproduced in other applications using libusb (tested on android app: ZUGate).
The problem is reproduced on the following configuration:
OS: Android 13 MIUI 14.0.7
SSD: 870 PRO Samsung 4 TB
External SSD Enclosures: DEXP 2518s3 with controller ASMT105x
Scenario:
//Request LUN
controlTransfer(161, 254, 0, index, buffer, length, TRANSFER_TIMEOUT)
//Successfully
//Sending a command SCSI Inquiry (bulk OUT transfer).
bulkOutTransfer (outEndpoint.address, src.array(), src.position(), src.remaining(), TRANSFER_TIMEOUT)
//Successfully.
//Reading the response from the command (bulk IN transfer).
bulkInTransfer (libUsbHandle, inEndpoint.address, dest.array(), dest.position(), dest.remaining(), TRANSFER_TIMEOUT)
//! returns Exception with message "libusb_bulk_transfer returned -7, Operation timed out"
The text was updated successfully, but these errors were encountered: