solokeys / solo1

Solo 1 firmware in C
https://solokeys.com/
Other
2.28k stars 273 forks source link

Stuck in FDU mode #601

Open RussNelson opened 2 years ago

RussNelson commented 2 years ago

Oops. I tried to reprogram my Solo Tap A, which seems to have burned the fuse that prevents re-programming. That's fine, but .... it was stuck in DFU mode, which presents with a different USB product id, so solo can't find it. However, reading the code, you can in fact find it, but you have to be root. Only .... if you've used pip as you to install solo-python, then it's not accessible to root. You have to uninstall it, and re-install it as root. THEN you can run it as root.

nelson@nelson-Precision-T5600:~$ cat /etc/issue Ubuntu 20.04.3 LTS \n \l nelson@nelson-Precision-T5600:~$ grep a2ca /lib/udev/rules.d/70-u2f.rules KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="cdab|a2ca", TAG+="uaccess", GROUP="plugdev", MODE="0660" nelson@nelson-Precision-T5600:~$ groups nelson adm cdrom sudo dip plugdev lpadmin lxd sambashare docker

raise USBError(_strerror(ret), ret, _libusb_errno[ret]) usb.core.USBError: [Errno 13] Access denied (insufficient permissions) nelson@nelson-Precision-T5600:~/.local/lib/python3.8/site-packages/solo$ sudo /usr/local/bin/solo program aux leave-dfu THIS COMMAND SHOULD NOT BE RUN AS ROOT!

Please install udev rules and run solo as regular user (without sudo). For more information, see: https://docs.solokeys.io/solo/udev Rewriting option bytes... Warning: OSError with write_page Please powercycle the device (pull out, plug in again)