HWI icon indicating copy to clipboard operation
HWI copied to clipboard

Trezor detection issues

Open minioff opened this issue 1 year ago • 0 comments

Hi,

having issues with HWI on Ubuntu 18.04.6 LTS and Trezor T and HWI 2.1.1.

Observe:

/tmp/hwi-2.1.12097600960383665175.tmp --version
hwi-2.1.12097600960383665175.tmp 2.1.1


/tmp/hwi-2.1.12097600960383665175.tmp enumerate
Please confirm action on your Trezor device

** HERE PASSWORD IS ENTERED ON TREZOR **

ERROR:jade:Exception causing JadeAPI context exit.
ERROR:jade:<class 'TypeError'>
ERROR:jade:a bytes-like object is required, not 'str'
  File "hwilib/devices/jade.py", line 542, in enumerate
  File "hwilib/devices/jadepy/jade.py", line 185, in get_version_info
  File "hwilib/devices/jadepy/jade.py", line 159, in _jadeRpc
  File "hwilib/devices/jadepy/jade.py", line 653, in make_rpc_call
  File "hwilib/devices/jadepy/jade.py", line 632, in read_response
  File "hwilib/devices/jadepy/jade.py", line 604, in read_cbor_message
WARNING:jade:Draining interface...
WARNING:jade-device:1 Ubuntu-4ubuntu0.7

** THERE IS ABOUT 1 MINUTE WAIT TIME BEFORE NEXT LINE SHOWS UP **

WARNING:jade-device:
[{"type": "trezor", "path": "webusb:001:3", "label": "label_is_here", "model": "trezor_t", "needs_pin_sent": false, "needs_passphrase_sent": false, "fingerprint": "fp_is_here"}]

So it seems like two issues:

  • Device detected as Jade ?
  • It takes about 1 minute or more to get a response

Tested different cable, different usb port, different hw wallet (also model t). Do not see any issues with bridge, trezord or trezor suite.

minioff avatar Aug 18 '22 04:08 minioff