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
{{ message }}
Repository navigation
Read from Rfid reader and get USB error 1: Transfer error on interrupt endpoint: Input/Output Error #72
Bug description
I want to read data from Rfid Reader, all procedures is ok, but when pipe.syncSubmit(buffer);. I catched an error: javax.usb.UsbPlatformException: USB error 1: Transfer error on interrupt endpoint: Input/Output Error
I got that error when I set up my byte buffer too small. To fix this issue, I set it to the maximum size that I got from the endpoint description of the reading endpoint (ENDPOINT_DIRECTION_IN, 0x81), instead of 4 bytes (8 in your example) that I had the impression would be enough to contain the answer. Hope that helps some people.
Activity
tyrion9 commentedon Jun 30, 2019
It seems my rfid reader (http://www.sycreader.com/index.php/en/walkthroughmetaldetector/317.html) device is not working with libusb driver. I install Zadig to replace default windows driver (HidUsb (v6.1) with libusb 1.3 driver and exam the device that is not working properly.
usb4java uses native libusb 1.0, I think it can't work.
bbrand84 commentedon Sep 13, 2019
I got that error when I set up my byte buffer too small. To fix this issue, I set it to the maximum size that I got from the endpoint description of the reading endpoint (ENDPOINT_DIRECTION_IN, 0x81), instead of 4 bytes (8 in your example) that I had the impression would be enough to contain the answer. Hope that helps some people.