99-openfpgaloader.rules: reorder rules

This commit is contained in:
Gwenhael Goavec-Merou 2022-07-26 18:37:20 +02:00
parent 6c28318057
commit 93ff880a32
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,10 @@
# Copy this file to /etc/udev/rules.d/
ACTION!="add|change", GOTO="openfpgaloader_rules_end"
# gpiochip subsystem
SUBSYSTEM=="gpio", MODE="0664", GROUP="plugdev", TAG+="uaccess"
SUBSYSTEM!="usb|tty|hidraw", GOTO="openfpgaloader_rules_end"
# Original FT232/FT245 VID:PID
@ -44,7 +48,4 @@ ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6146", MODE="664", GROUP="plugdev",
# orbtrace-mini dfu
ATTRS{idVendor}=="1209", ATTRS{idProduct}=="3442", MODE="664", GROUP="plugdev", TAG+="uaccess"
# gpiochip subsystem
SUBSYSTEM=="gpio", MODE="0664", GROUP="plugdev", TAG+="uaccess"
LABEL="openfpgaloader_rules_end"