Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIBUSB_ERROR_IO [-1] #26

Open
Huiso-Jeong opened this issue Jan 3, 2023 · 0 comments
Open

LIBUSB_ERROR_IO [-1] #26

Huiso-Jeong opened this issue Jan 3, 2023 · 0 comments

Comments

@Huiso-Jeong
Copy link

Hi.

I was trying to use your rkflashkit for RK3568 chip board
I tried it on Ubuntu 22.04 LTS at the first time, however, it was failed to build with "/waf debian Node.py line 282 raises StopIteration"
error message.

SO, I downgraded my Ubuntu to 18.04 LTS and I succeeded to build rkflashkit.deb and install it.
But, the thing is I added PID for RK3568, which is 0x2207:0x350a, and it worked though LIBUSB_ERROR_IO [-1] error came up.
//
Found devices:
0x2207:0x350a
libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=2
Traceback (most recent call last):
File "/usr/bin/rkflashkit", line 17, in
sys.exit(app.main(sys.argv[1:]))
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 99, in main
self.parse_and_execute(args)
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 106, in parse_and_execute
self.load_partitions()
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 157, in load_partitions
loaded_parts = op.load_partitions()
File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 194, in load_partitions
self.__init_device()
File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 154, in __init_device
prepare_cmd(0x80, 0x00060000, 0x00000000, 0x00000000))
File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1145, in bulkWrite
return self._bulkTransfer(endpoint, data, sizeof(data), timeout)
File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1129, in _bulkTransfer
raise libusb1.USBError(result)
rkflashkit.libusb1.USBError: LIBUSB_ERROR_IO [-1]
//

  1. How can I solve this LIBUSB_ERROR_IO [-1] error?
  2. Can you support RK3568 chip for rkflashkit?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant