summaryrefslogtreecommitdiffstats
path: root/rules.d
diff options
context:
space:
mode:
authorvdovhanych <dovhanych@me.com>2024-07-22 22:57:25 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2024-07-24 09:22:44 +0200
commit2cf425ec573b8f67025c5e74cd267015129e7349 (patch)
tree7b2aeb8ba2298397644e2b33329d41504b2725e7 /rules.d
parentresolved: report svc params as a json object (diff)
downloadsystemd-2cf425ec573b8f67025c5e74cd267015129e7349.tar.xz
systemd-2cf425ec573b8f67025c5e74cd267015129e7349.zip
add udev rules for trezor hw wallet devices
Diffstat (limited to 'rules.d')
-rw-r--r--rules.d/70-uaccess.rules.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.d/70-uaccess.rules.in b/rules.d/70-uaccess.rules.in
index e683bb1114..cf68c95177 100644
--- a/rules.d/70-uaccess.rules.in
+++ b/rules.d/70-uaccess.rules.in
@@ -99,4 +99,8 @@ SUBSYSTEM=="hidraw", ENV{ID_AV_PRODUCTION_CONTROLLER}=="1", TAG+="uaccess"
# This also allows accessing HID devices with the libusb backend of hidapi.
SUBSYSTEM=="usb", ENV{ID_AV_PRODUCTION_CONTROLLER}=="1", TAG+="uaccess"
+# Hardware wallets
+SUBSYSTEM=="usb", ENV{ID_HARDWARE_WALLET}=="1", TAG+="uaccess"
+SUBSYSTEM=="hidraw", ENV{ID_HARDWARE_WALLET}=="1", TAG+="uaccess"
+
LABEL="uaccess_end"