Closed yureka closed 1 year ago
I have the same problem, how did you solve it? thanks
When the USB Device has hub, UsbRequest is throwing the above error. Without hub, able to read properly.
Thank you for your suggestion, I also show that it is related to the hardware here.
This is the case with some devices I've detected here, and the frequency of that device's appearance is uncertain. That device, which had never appeared before, appeared suddenly, and the frequency gradually increased. After restarting the MCU, the situation improved, but the device still had this situation, it felt like the cause of the MCU.
Yes, it is indeed a hardware problem on my side
When try to queue the reading request, UsbRequest is throwing following error
W/SerialInputOutputManager: Run ending due to exception: Queueing USB request failed java.io.IOException: Queueing USB request failed at com.hoho.android.usbserial.driver.CommonUsbSerialPort.read(CommonUsbSerialPort.java:200) at com.hoho.android.usbserial.driver.CommonUsbSerialPort.read(CommonUsbSerialPort.java:169) at com.hoho.android.usbserial.util.SerialInputOutputManager.step(SerialInputOutputManager.java:225) at com.hoho.android.usbserial.util.SerialInputOutputManager.run(SerialInputOutputManager.java:203) at java.lang.Thread.run(Thread.java:923)