1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00

core/tools: Clarify hid-bridge README.

This commit is contained in:
Andrew Kozlik 2019-08-08 15:38:40 +02:00
parent 1d56b8b9a1
commit 55f69becff

View File

@ -6,9 +6,9 @@ Creates a virtual hid device which can be controlled by a user driver via a UDP
You need Python 3.5 or higher. You need Python 3.5 or higher.
The uhid driver is required. If it is build as a module and not loaded, load it by `modprobe uhid`. 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 same as to the newly created `/dev/hidraw*` device. This may be accomplished by copying `50-hid-bridge.rules` into `/dev/udev/rules.d/`. You may need to reload the driver. 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 ## Usage
@ -16,6 +16,6 @@ Run [Trezor emulator](https://github.com/trezor/trezor-core/blob/master/docs/emu
## Known issues ## Known issues
Does not work with Firefox. Firefox closes hid devices on the lost of the focus. Does not work with Firefox. Firefox closes hid devices upon loss of focus.
Does not work with the emulator in the debug mode since emulator doesn't start hid interface. Does not work with the emulator in debug mode since the emulator doesn't start the hid interface in debug mode.