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
"libusb: error [_get_usbfs_fd] libusb couldn't open USB device" #17
Error in console when running any partition operation:
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/052: No such device
Traceback (most recent call last):
File "/usr/share/rkflashkit/lib/rkflashkit/main.py", line 275, in flash_image_file
op = rktalk.RkOperation(self.logger, device_info[0], device_info[1])
File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 102, in init
self.__dev_handle = device.open()
File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1622, in open
raise libusb1.USBError(result)
rkflashkit.libusb1.USBError: LIBUSB_ERROR_IO [-1]
^CTraceback (most recent call last):
File "/usr/bin/rkflashkit", line 21, in
app.main()
File "/usr/share/rkflashkit/lib/rkflashkit/main.py", line 421, in main
gtk.main()
Any ideas on why this error or how to debug this issue?
On Ubuntu 16.04, latest rkflashkit version from the github as root Device RK3188 is detected:
============= 2018-10-01 13:52:31 ============
Error in console when running any partition operation:
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/052: No such device Traceback (most recent call last): File "/usr/share/rkflashkit/lib/rkflashkit/main.py", line 275, in flash_image_file op = rktalk.RkOperation(self.logger, device_info[0], device_info[1]) File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 102, in init self.__dev_handle = device.open() File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1622, in open raise libusb1.USBError(result) rkflashkit.libusb1.USBError: LIBUSB_ERROR_IO [-1] ^CTraceback (most recent call last): File "/usr/bin/rkflashkit", line 21, in
app.main()
File "/usr/share/rkflashkit/lib/rkflashkit/main.py", line 421, in main
gtk.main()
Any ideas on why this error or how to debug this issue?