Bitcoin Forum

Bitcoin => Electrum => Topic started by: tl121 on December 24, 2014, 10:18:13 PM



Title: Trezor Electrum Connection Problem on Ubuntu -- solved
Post by: tl121 on December 24, 2014, 10:18:13 PM
I have been using a Trezor with Electrum 2.0 on Ubuntu 14.04 LTS.  Yesterday after a system update it stopped working. Electrum wouldn't talk to Trezor.  I wasted a lot of time tracking down the root cause of the problem, USB device security had been "upgraded". What I discovered was that Electrum talked to Trezor, but only if I ran it as root.  The following command will show the connection problem as an O/S configuration problem.  Run this both as a normal user and as root and you will see the connection problem.  This is a convenient way to see if your problem is with the O/S and not the Electrum setup.

lsusb -v  -d 0x534c:0x0001

I fixed the protection problem by creating a file in /etc/udev/rules.d.
The file name is 60-trezor.rules
The file contents are
#
#
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="534c", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="534c", MODE="0666"