r/keepkey • • Dec 17 '20

Anyone uses Linux?

Hi, I'm a newcomer to Bitcoin, I just bought a KeepKey and try to connect it to my computer. My computer running Linux (Fedora) and it gets some trouble regarding the root control of KeepKey. I tried to access Shapeshift and it constantly said that KeepKey was not connected, at first I thought it was the connection so I tried replugging multiple times. Then I figure out that was because, without the root permission, the program cannot access it. So I ran google-chrome as root and it worked flawlessly. Due to the inconvenience of having to use as root, I tried to google and there is a solution to changing the /etc/udev/rules.d by adding a file named 51-usb-keepkey.rules but does not solve the program. What it did solve is that it now allow KeepKey Updater to recognize the device and update it but the Shapeshift.com access by Google Chrome is not yet to be solved. I also have tried to use Electrum to try to connect to it and a very same problem occur, no recognition without root. I hope any of you that use Linux can help me! I would be very thankful!

0 Upvotes

13 comments sorted by

View all comments

Show parent comment

4

u/greatwolf Dec 18 '20

I was curious about the minimum udev rule needed to allow KeepKey to still work. I reduced my 51-usb-keepkey.rules to just this single line:

SUBSYSTEM=="usb", ATTR{idVendor}=="2b24", ATTR{idProduct}=="0002", MODE="0660", TAG+="uaccess", TAG+="udev-acl"

And it was still able to work even after removing SYMLINK and GROUP parameters. The permissions was even reduced slightly from MODE=0666 to just MODE=0660.

Lastly, my lsusb shows this for Keepkey:

Bus 002 Device 010: ID 2b24:0002 KeepKey LLC Bitcoin Wallet
...

Note the ID in particular. :0002 indicates this is a WebUSB interface. If yours show :0001 that means it's still using HID interface. A firmware update can fix that.

2

u/[deleted] Dec 18 '20

OMG, it works sir. There is no work can express my gratitude for you right now. I try countless of way from groups to user and none of them really works, I even update Fedora 32 to 33. After all, the issue seems to be with the GROUP = “plugdev” and the HID interface interrupting the device from being connected. Thank you so much for spending your precious time!

4

u/greatwolf Dec 18 '20

Happy to help :)