diff options
author | Marc Schink <dev@zapb.de> | 2024-05-14 20:32:22 +0200 |
---|---|---|
committer | Marc Schink <dev@zapb.de> | 2024-05-14 20:32:25 +0200 |
commit | da0e8cd40dfdadd6226c9c9a146c8be25479cae1 (patch) | |
tree | 6fb364e3b86e691aeb882ecc37b5c65a5df534cb /contrib/60-libjaylink.rules | |
parent | cceddf4543aa43ac9650cd34066c9312139a42a2 (diff) | |
download | libjaylink-da0e8cd40dfdadd6226c9c9a146c8be25479cae1.zip libjaylink-da0e8cd40dfdadd6226c9c9a146c8be25479cae1.tar.gz libjaylink-da0e8cd40dfdadd6226c9c9a146c8be25479cae1.tar.bz2 |
contrib: Rename udev rules file
For the 'uaccess' tag to be effective, the udev rules filename has to
lexically precede /usr/lib/udev/rules.d/73-seat-late.rules, see [1].
[1] https://github.com/systemd/systemd/issues/4288#issuecomment-348166161
Signed-off-by: Marc Schink <dev@zapb.de>
Diffstat (limited to 'contrib/60-libjaylink.rules')
-rw-r--r-- | contrib/60-libjaylink.rules | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/contrib/60-libjaylink.rules b/contrib/60-libjaylink.rules new file mode 100644 index 0000000..961f377 --- /dev/null +++ b/contrib/60-libjaylink.rules @@ -0,0 +1,47 @@ +## +## This file is part of the libjaylink project. +## +## Copyright (C) 2015 Marc Schink <jaylink-dev@marcschink.de> +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see <http://www.gnu.org/licenses/>. +## + +ACTION!="add", GOTO="libjaylink_end_rules" +SUBSYSTEM!="usb", GOTO="libjaylink_end_rules" + +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="0101", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="0102", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="0103", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="0104", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="0105", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="0107", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="0108", MODE="664", GROUP="plugdev", TAG+="uaccess" + +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1010", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1011", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1012", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1013", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1014", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1015", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1016", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1017", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1018", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1020", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1024", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1051", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1055", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1059", MODE="664", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1367", ATTRS{idProduct}=="1061", MODE="664", GROUP="plugdev", TAG+="uaccess" + +LABEL="libjaylink_end_rules" |