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

rkflashkit.libusb1.USBError: LIBUSB_ERROR_NO_DEVICE [-4] #8

Open
pschonmann opened this issue Oct 24, 2016 · 2 comments
Open

rkflashkit.libusb1.USBError: LIBUSB_ERROR_NO_DEVICE [-4] #8

pschonmann opened this issue Oct 24, 2016 · 2 comments

Comments

@pschonmann
Copy link

After unsuccesfull upgrade from windows im trying way to make stick again working. Seems that NAND was overwriten. Using MK802IIIS. This is output when im using tool in recovery mode. Windows cant detect USB. Error 43.

============= 2016-10-24 17:09:40 ============

Reading flash information
Loading partition information

Traceback (most recent call last):
File "./run.py", line 17, in
sys.exit(app.main(sys.argv[1:]))
File "/root/rkflashkit/src/rkflashkit/climain.py", line 99, in main
self.parse_and_execute(args)
File "/root/rkflashkit/src/rkflashkit/climain.py", line 106, in parse_and_execute
self.load_partitions()
File "/root/rkflashkit/src/rkflashkit/climain.py", line 156, in load_partitions
loaded_parts = op.load_partitions()
File "/root/rkflashkit/src/rkflashkit/rktalk.py", line 180, in load_partitions
content = self.__dev_handle.bulkRead(1, PART_BLOCKSIZE)
File "/root/rkflashkit/src/rkflashkit/usb1.py", line 1159, in bulkRead
transferred = self._bulkTransfer(endpoint, data, length, timeout)
File "/root/rkflashkit/src/rkflashkit/usb1.py", line 1129, in _bulkTransfer
raise libusb1.USBError(result)
rkflashkit.libusb1.USBError: LIBUSB_ERROR_NO_DEVICE [-4]

@pschonmann
Copy link
Author

@Lewiscowles1986
Copy link

I get this part way through transfer.

rkflashkit.libusb1.USBError: LIBUSB_ERROR_OVERFLOW [-8]
Traceback (most recent call last):
  File "/usr/share/rkflashkit/lib/rkflashkit/main.py", line 393, in __on_device_changed
    partitions = op.load_partitions()
  File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 190, in load_partitions
    self.__init_device()
  File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 151, in __init_device
    self.__dev_handle.bulkRead(self.__read_endpoint, 13)
  File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1159, in bulkRead
    transferred = self._bulkTransfer(endpoint, data, length, timeout)
  File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1129, in _bulkTransfer
    raise libusb1.USBError(result)
rkflashkit.libusb1.USBError: LIBUSB_ERROR_IO [-1]
Traceback (most recent call last):
  File "/usr/share/rkflashkit/lib/rkflashkit/main.py", line 393, in __on_device_changed
    partitions = op.load_partitions()
  File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 190, in load_partitions
    self.__init_device()
  File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 151, in __init_device
    self.__dev_handle.bulkRead(self.__read_endpoint, 13)
  File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1159, in bulkRead
    transferred = self._bulkTransfer(endpoint, data, length, timeout)
  File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1129, in _bulkTransfer
    raise libusb1.USBError(result)
rkflashkit.libusb1.USBError: LIBUSB_ERROR_NO_DEVICE [-4]
^CTraceback (most recent call last):
  File "/usr/bin/rkflashkit", line 21, in <module>
    app.main()
  File "/usr/share/rkflashkit/lib/rkflashkit/main.py", line 421, in main
    gtk.main()
KeyboardInterrupt

😢

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

2 participants