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

solo2 update not working on Ubuntu #76

Open
maddler opened this issue Jun 7, 2022 · 8 comments
Open

solo2 update not working on Ubuntu #76

maddler opened this issue Jun 7, 2022 · 8 comments

Comments

@maddler
Copy link

maddler commented Jun 7, 2022

Hello, I've just tried to update firmware on one of the SoloKey2 I just received.
I get prompted to tap to confirm, the led on the key goes off bit then I get a tiemout error:

❯ solo2 update
Downloading latest release from https://github.com/solokeys/solo2/
Fetched firmware version 1:20200101.9 (1.0.9)
Tap button on key to confirm, or replug to abort...
Error: User prompt to confirm maintenance timed out!
❯ solo2 -V
solo2 0.2.0

I installed solo2 with cargo install.
I was able to update the SoloKey2 on Mac with no issues.

@Norbert01
Copy link

Same here. Ubuntu 21.04. rustc 1.62 (snap rustup)

@Norbert01
Copy link

Downloading latest release from https://github.com/solokeys/solo2/
Fetched firmware version 1:20200101.9 (1.0.9)
Tap button on key to confirm, or replug to abort...
Error: User prompt to confirm maintenance timed out!
norbert@norbert-Latitude-5580:~$ ./.cargo/bin/solo2 list
Solo 2 F4090C8FDD7CBA5E93409795223151E7 (CTAP+PCSC, firmware 1:20200101.9)

The solo2 is already on the latest version?

@maddler
Copy link
Author

maddler commented Jul 2, 2022

Pretty sad there was no acknowledgement on this bug since., nor any update on the tools.

@alex-sector
Copy link

@maddler : Have your tried to add 70-solo2.rules in udev ?

The one from solo2-cli have an extra entry needed for firmware update in user mode.

@Norbert01
Copy link

Hello Alex,
the udev-rule work:

Downloading latest release from https://github.com/solokeys/solo2/
Fetched firmware version 1:20200101.9 (1.0.9)
Tap button on key to confirm, or replug to abort...
LPC55 Bootloader detected. The LED should be off.
Writing new firmware...
Done. Rebooting key. The LED should turn back on.

@huaracheguarache
Copy link

The same happens on Fedora 36.

@firecat53
Copy link

Fedora 36

  • add 70-solo2.rules to /etc/udev/rules.d/70-solo2.rules
  • sudo udevadm control --reload
  • Plug in solo key
  • solo2 ls
~ $ solo2 update
Downloading latest release from https://github.com/solokeys/solo2/
Fetched firmware version 2:20220822.0 (2.964.0)
Warning: This is is major update and it could risk breaking any current credentials on your key.
Check latest release notes here to double check: https://github.com/solokeys/solo2/releases
If you haven't used your key for anything yet, you can ignore this.

✔ Continue? · yes
Continuing
Tap button on key to confirm, or replug to abort...
LPC55 Bootloader detected. The LED should be off.
Writing new firmware...
Done. Rebooting key. The LED should turn back on. 

Thanks for the tip @alex-sector!

@JohnPeacock
Copy link

Confirmed that Fedora 36 instructions work. PR created to add makefile to this repo to make it easier:
#83

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

6 participants