I try to read from a usb device I get USB error 5: Unable to read data: Entity not found can someone help me?
问题 I try to read from a usb device through usb4java api but I get an error: USB error 5: Unable to read data: Entity not found can anybody help me? It has to be noted that the endpoint_in i get it from LibUsb.ENDPOINT_IN and i pass it to the read funtion The device is found is claimed but I cannot move forward to read from the device. My code is given below: import java.io.IOException; import java.io.PipedInputStream; import java.io.PipedOutputStream; import java.nio.ByteBuffer; import java.nio