Add new files usefull for desktop GNU/Linux users: some rules for udev to allow non-root access to PN53x USB devices.
This commit is contained in:
parent
9526d5debc
commit
7e26ce3471
4 changed files with 23 additions and 1 deletions
|
@ -3,7 +3,7 @@ SUBDIRS = src
|
|||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libnfc.pc
|
||||
|
||||
EXTRA_DIST = Doxyfile
|
||||
EXTRA_DIST = Doxyfile pn53x.rules
|
||||
CLEANFILES = Doxygen.log
|
||||
|
||||
if DOC_ENABLED
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
libnfc (1.2.1-4) unstable; urgency=low
|
||||
|
||||
* Add udev rules for USB PN53x.
|
||||
|
||||
-- Romuald Conty <rconty@il4p.fr> Fri, 20 Nov 2009 16:42:42 +0100
|
||||
|
||||
libnfc (1.2.1-3) unstable; urgency=low
|
||||
|
||||
* Don't use CDBS anymore, should now cross compile.
|
||||
|
|
1
debian/libnfc0.install
vendored
1
debian/libnfc0.install
vendored
|
@ -1 +1,2 @@
|
|||
debian/tmp/usr/lib/libnfc.so.*
|
||||
pn53x.rules etc/udev/rules.d/
|
||||
|
|
15
pn53x.rules
Normal file
15
pn53x.rules
Normal file
|
@ -0,0 +1,15 @@
|
|||
# udev rules file for PN531 and PN533 devices (for udev 0.98 version)
|
||||
# to be installed in /etc/udev/rules.d
|
||||
|
||||
SUBSYSTEM!="usb|usb_device", GOTO="pn53x_rules_end"
|
||||
ACTION!="add", GOTO="pn53x_rules_end"
|
||||
|
||||
# PN531
|
||||
ATTRS{idVendor}=="04cc", ATTRS{idProduct}=="0531", MODE="0664", GROUP="plugdev"
|
||||
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0193", MODE="0664", GROUP="plugdev"
|
||||
|
||||
# PN533
|
||||
ATTRS{idVendor}=="04cc", ATTRS{idProduct}=="2533", MODE="0664", GROUP="plugdev"
|
||||
ATTRS{idVendor}=="04e6", ATTRS{idProduct}=="5591", MODE="0664", GROUP="plugdev"
|
||||
|
||||
LABEL="pn53x_rules_end"
|
Loading…
Reference in a new issue