summarylogtreecommitdiffstats
path: root/03-udev-rules.patch
blob: 4673dcbd6658d8f33cf5797095db799606ff8881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/src/halimpl/pn54x/tml/lpcusbsio/97-lpcusbsio-hid.rules b/src/halimpl/pn54x/tml/lpcusbsio/97-lpcusbsio-hid.rules
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,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.
-
-# If you are using the hidraw implementation, then do something like the
-# following, substituting the VID and PID with your device. Busnum 1 is USB.
-
 # HIDAPI/hidraw
-KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0088", MODE="0666"
-KERNEL=="hidraw*", ATTRS{busnum}=="2", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0088", MODE="0666"
-KERNEL=="hidraw*", ATTRS{busnum}=="3", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0088", MODE="0666"
-KERNEL=="hidraw*", ATTRS{busnum}=="4", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0088", MODE="0666"
-
-# Once done, optionally rename this file for your device, and drop it into
-# /etc/udev/rules.d and unplug and re-plug your device. This is all that is
-# necessary to see the new permissions. Udev does not have to be restarted.
-
-# If you think permissions of 0666 are too loose, then see:
-# http://reactivated.net/writing_udev_rules.html for more information on finer
-# 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).
+SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0088", TAG+="uaccess"