You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/tools/hid-bridge/README.md

827 B

hid-bridge

Creates a virtual hid device which can be controlled by a user driver via a UDP port.

Installation

You need Python 3.5 or higher.

The uhid driver is required. If it is built as a module and not loaded, load it by modprobe uhid.

You must have read/write permission to the /dev/uhid/ device as well as to the newly created /dev/hidraw* device. This may be accomplished by copying 50-hid-bridge.rules into /etc/udev/rules.d/. You may need to reload the driver afterwards.

Usage

Run Trezor emulator and ./hid-bridge.

Known issues

Does not work with Firefox. Firefox closes hid devices upon loss of focus.

Does not work with the emulator in debug mode since the emulator doesn't start the hid interface in debug mode.