linuxerwang / rkflashkit

rkflashkit is an open source toolkit for flashing Linux kernel images to rockchip rk3066/rk3188/rk3288 etc. based devices. It's programmed with python and gtk2.
214 stars 74 forks source link

rkflashkit.libusb1.USBError: LIBUSB_ERROR_IO [-1] #21

Open renardroux opened 3 years ago

renardroux commented 3 years ago

Tried to use this with a Retron 5 with an rk3066 on Ubuntu 20.04. Here's what I see when starting the GUI from the command line:

Traceback (most recent call last): File "/usr/share/rkflashkit/lib/rkflashkit/main.py", line 395, in on_device_changed partitions = op.load_partitions() File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 192, in load_partitions self.init_device() File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 152, 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]

The device shows up, but nothing under NAND partitions. I will admit I am an amateur, so if there is some other way I should submit this or it is a "user error" sort of situation, just let me know. Thanks!