Input/Output Error when trying to run program
jacobhawkins495 opened this issue · 1 comments
I am attempting to test this program on my machine and I am unable to get it to send any data to the machine. Whenever I run the program, it just prints out a load of Input/Output Error messages and doesn't send any actual data. I have tried with libusb-1.0-0 (both installed from repos and compiled manually) and libusb-0.1-4 on both Linux Mint 19.2 and the latest release of Manjaro Cinnamon and the issue persists.
$ sudo ./send-path < paths/test.path
ff00
ff00
ff08
ff00
ff08
ff08
ff00
ff08
ff00
ff00
Configuration: 1
handshake(?): status: 0WARNING: Failed to transfer handshake, error -1 == Input/Output Error
Failed to get bulk info after status, error -1 == Input/Output Error
got:
Index 8601: status: 0Failed to get bulk info after status, error -1 == Input/Output Error
got:
b9 9c 40 00 00 00 ff 00 ff bd c2 08 00 00 08 f7 48 00 00 48 bf 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ba 22 08
WARNING: Failed to transfer packet, error -1 == Input/Output Error
Failed to get bulk info after path, error -1 == Input/Output Error
path got:
Index 8001: status: 0Failed to get bulk info after status, error -1 == Input/Output Error
got:
Index 8001: status: 0Failed to get bulk info after status, error -1 == Input/Output Error
got:
Index 8101: status: 0Failed to get bulk info after status, error -1 == Input/Output Error
got:
Index 8201: status: 0Failed to get bulk info after status, error -1 == Input/Output Error
got:
If the program is not run with sudo, it fails to open the device.
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to open device with Vendor ID 1320 and Product ID 0001
Aborted (core dumped)
Ah, it appears I misread the name of the repository. I am trying to use this with a CE-150. So far I have determined that the endpoint address values are different than the CE-200 (write to 0x02, read from 0x81) but the protocol appears to be the same. With slight modification, I am able to send the test pattern to the machine, however it claims the pattern is meant for the large hoop. Unfortunately I only have the small hoop. I do not have the original software to test, either.