UBUNTU 20.10: the CLI application cannot interact with the OnlyKey


  • OS: Ubunto 20.10.


denis@labo:~$ lsb_release -a 
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.10
Release:	20.10
Codename:	groovy

I followed these instructions


denis@labo:~$ apt list --installed | grep libu2f-udev
libu2f-udev/groovy,groovy,now 1.1.10-1.1 all  [installé]

denis@labo:~$ ls -l /etc/udev/rules.d/
total 72
-rw-r--r-- 1 root root  1717 avril  4 21:03 49-onlykey.rules
-rw-r--r-- 1 root root   817 avril  4 21:06 70-snap.onlykey-app.rules
-rw-r--r-- 1 root root 58549 oct.  22 16:18 70-snap.snapd.rules
-rw-r--r-- 1 root root  2272 avril  4 17:27 70-snap.snap-store.rules


denis@labo:~$ sudo udevadm control --reload-rules && udevadm trigger
denis@labo:~$ echo $?

It seems that the OnlyKey is just not detected:

denis@labo:~$ /home/denis/.local/bin/onlykey-cli
OnlyKey CLI v1.2.4
Control-D to exit.

OnlyKey> version

OnlyKey CLI v1.2.4

OnlyKey> fwversion

OnlyKey> wink

OnlyKey> quit

Please note: the OnlyKey never blinks.

Any suggestion ?



Finally, it works.

The problem was that I used an old USB hub. And, somehow, this hub seems to interfere with the device.

Please note that I tried a more recent USB hub and it works fine.

Thus the problem is related to the old USB hub, not to the OnlyKey.

For information :

denis@labo:~$ /home/denis/.local/bin/onlykey-cli
OnlyKey CLI v1.2.4
Control-D to exit.

OnlyKey> fwversion 


OnlyKey> wink

OnlyKey> quit

Best regards,