Blockstream / Jade

Jade hardware wallet
MIT License
328 stars 54 forks source link

USB connection problem with Jade #117

Closed hsdredgun closed 8 months ago

hsdredgun commented 8 months ago

Hi, I'm running Arch Linux and I'm having some trouble with connecting Jade to green Wallet or even sparrow via USB.

After sudo usermod -a -G uucp yourusername the connection appear and everything works until I'm trying to unlock the device then it stuck on "Checking" or the first time I tried to set it up it was then stuck on "persisting pin data". If I disconnect the usb the error message is "trouble connecting to the server". Look like Linux don't let Jade connecting to Blockstream?

This is what I tried already:

post_install() { echo "================================================" echo "Jade hardware wallet uses serial ports over USB" echo "You need to add the wallet users" echo "to the uucp group to access the serial ports:" echo "sudo gpasswd -a uucp" echo "You will need to log out->log in to take effect" echo "================================================" }

Add your user to the dialout, plugdev, or uucp group using the following commands:

sudo adduser yourusername dialout or sudo usermod -a -G dialout yourusername

sudo adduser yourusername plugdevor sudo usermod -a -G plugdev yourusername

sudo adduser yourusername uucpor sudo usermod -a -G uucp yourusername

Sparrow error message:

sparrow

Thanks :)

JamieDriver commented 8 months ago

The 'Persisting pin data' step should take a few seconds. If it's taking longer than say 10s then I'd say there's been some issue with networking comms between the app and the blind oracle, or between the app and the Jade.

If you have this repo locally, try running ./set_jade_pinserver.py - by default it won't take any action, but it should call jade to fetch version info - this will test the arch<->jade comms (to some degree). You could also try running ./jade_auth.py - this will do the wallet/PIN-setup steps outside of any complex app. If either case fails it'd be interesting to see the output.