summarylogtreecommitdiffstats
path: root/03-udev-rules.patch
diff options
context:
space:
mode:
authoraig2020-10-23 17:35:29 +0200
committeraig2020-10-23 17:35:29 +0200
commit80032389da224d38b127d16d9dfe5491ee82a144 (patch)
tree08c303d529fd31ab11784847d9f1b9fd34e5c311 /03-udev-rules.patch
parentd899b3436471db9f17f7a72df05c824e609f796c (diff)
downloadaur-libnfc-nci-lpcusbsio.tar.gz
Fix udev rules file
Diffstat (limited to '03-udev-rules.patch')
-rw-r--r--03-udev-rules.patch9
1 files changed, 3 insertions, 6 deletions
diff --git a/03-udev-rules.patch b/03-udev-rules.patch
index a14bfc3d328..4673dcbd665 100644
--- a/03-udev-rules.patch
+++ b/03-udev-rules.patch
@@ -1,8 +1,8 @@
diff --git a/src/halimpl/pn54x/tml/lpcusbsio/97-lpcusbsio-hid.rules b/src/halimpl/pn54x/tml/lpcusbsio/97-lpcusbsio-hid.rules
-index bf3c8db..04f24a7 100644
+index bf3c8db..f8a0827 100644
--- a/src/halimpl/pn54x/tml/lpcusbsio/97-lpcusbsio-hid.rules
+++ b/src/halimpl/pn54x/tml/lpcusbsio/97-lpcusbsio-hid.rules
-@@ -1,21 +1,5 @@
+@@ -1,21 +1,2 @@
-# This is a sample udev file for HIDAPI devices which changes the permissions
-# to 0666 (world readable/writable) for a specified device on Linux systems.
-
@@ -24,7 +24,4 @@ index bf3c8db..04f24a7 100644
-# grained permission setting. For example, it might be sufficient to just
-# set the group or user owner for specific devices (for example the plugdev
-# group on some systems).
-+KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0088", TAG+="uaccess"
-+KERNEL=="hidraw*", ATTRS{busnum}=="2", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0088", TAG+="uaccess"
-+KERNEL=="hidraw*", ATTRS{busnum}=="3", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0088", TAG+="uaccess"
-+KERNEL=="hidraw*", ATTRS{busnum}=="4", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0088", TAG+="uaccess"
++SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0088", TAG+="uaccess"