summarylogtreecommitdiffstats
path: root/70-solokeys-access.rules
diff options
context:
space:
mode:
authorSquare2019-05-20 01:42:15 +0200
committerSquare2019-05-20 01:42:15 +0200
commit1b4d5ca7d3a091e8159e4ace7eb4ea89d6bf0532 (patch)
tree871f4aeb5b5928687ff16b0decd61c806425d638 /70-solokeys-access.rules
downloadaur-1b4d5ca7d3a091e8159e4ace7eb4ea89d6bf0532.tar.gz
initial commit
Diffstat (limited to '70-solokeys-access.rules')
-rw-r--r--70-solokeys-access.rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/70-solokeys-access.rules b/70-solokeys-access.rules
new file mode 100644
index 000000000000..0243401793a7
--- /dev/null
+++ b/70-solokeys-access.rules
@@ -0,0 +1,19 @@
+# Notify ModemManager this device should be ignored
+ACTION!="add|change|move", GOTO="mm_usb_device_blacklist_end"
+SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_end"
+ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_device_blacklist_end"
+
+ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a2ca", ENV{ID_MM_DEVICE_IGNORE}="1"
+
+LABEL="mm_usb_device_blacklist_end"
+
+
+# Solo bootloader + firmware access
+SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a2ca", TAG+="uaccess"
+SUBSYSTEM=="tty", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a2ca", TAG+="uaccess"
+
+# ST DFU access
+SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", TAG+="uaccess"
+
+# U2F Zero
+SUBSYSTEM=="hidraw", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="8acf", TAG+="uaccess"