Cannot initialize device via trezorctl

  1. installed latest python as of today.
  2. upgraded/installed pip, wheels , setuptools, trezor for python
  3. installed microsoft visualc++14.2 due to error when installing/building ‘pyblake2’ extension. required by trezor-python package
  4. dommand prompt with elevated privileges
  5. entered boodloader trezor, reset to factory settings
  6. installed latest firmware (2.6.0) via trezorctl.Firmware installation successful.

Although trezor suite installed not running. Want to initialize device in command prompt with trezorctl.

trezorctl list device is not recognized. In bootloader mode it is seen.

trezorctl reset-device (options)
Error: UnexpectedMessage: Unexpected message

trezorctl usb-reset
does nothing

trezorctl device self-test
Error: UnexpectedMessage: Unexpected message

trezorctl device setup
Error: UnexpectedMessage: Unexpected message

If using trezor suite, after a factory reset,

  • bootloader: device detected
  • installed firmware within trezor suite, then nothing happens.
  • after unplugging and after installing firmware, Trezor suite does not recognize de device

Uninstalled Trezor suite from all locations, reinstalled python, reinstalled packages

Cannot initialize device in command prompt /trezorctl

installed USB drivers zadig-2.8.exe latest.

Although visual c++ 14.2 is intalled it is not seen by python when installing pyblake2

Other errors
Failed to find a Trezor device. in command prompt with device booted not in bootloader
Failed to enumerate WebUsbTransport. USBErrorAccess: LIBUSB_ERROR_ACCESS [-3]

With trezorbridge on in command prompt
bridge:2 - Failed to read details

Tried other firmware (lower versions, similar behavior)

None of those can work in bootloader mode. self-test actually only works on factory builds of Trezor One.

This sounds like that thing where since windows of particular version, you need to have admin access for libusb to work? This would affect Bridge too, so you can try running it manually as an administrator and see if that helps.

Is your Windows up to date?

Do we have any guidance for this problem @radekP

Unfortunately, I don’t think we have guidance for this issue.

yes used in cmd with elevated privileges.

what exactly needs to be updated in windows, certificates?

Ah, wait, so this happens while you’re already elevated?

Are you by any chance running Suite or Trezor Bridge at the same time? In that case the ERROR_ACCESS could indicate that the device is in use by something else.

Is the device visible with trezorctl list -n?

If you don’t use Bridge, maybe try installing it and forcing trezorctl to go through bridge, via trezorctl -p bridge <your command here>?

installed latest python as of today.
upgraded/installed pip, wheels , setuptools, trezor for python
installed microsoft visualc++14.2 due to error when installing/building ‘pyblake2’ extension. required by trezor-python package

pyblake2 has not been a requirement for quite some time. where exactly are you getting the trezor package from? What is the version? what does pip show trezor tell you?

2 Likes