Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udev rule is executed to early #286

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments
Open

udev rule is executed to early #286

GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. copy 42-pn53x.rules to  /etc/udev/rules.d/ and reload rules
2. try to use nfc device as user (member of plugdev group)

What is the expected output? What do you see instead?
expected is to have access to device. 
device can not be accessed .

What version of the product are you using? On what operating system?
libnfc 1.7.1
debian 7.8

Please provide any additional information below.
udevadm test /sys/bus/usb/devices/....
"....
udev_rules_apply_to_event: GROUP 46 /etc/udev/rules.d/42-pn53x.rules:18
udev_rules_apply_to_event: MODE 0664 /etc/udev/rules.d/42-pn53x.rules:18
....
udev_rules_apply_to_event: MODE 0664 /lib/udev/rules.d/91-permissions.rules:36
udev_rules_apply_to_event: GROUP 0 /lib/udev/rules.d/92-libccid.rules:19
...."

Solution:
Make sure that rule is executed after rule 92-libccid.rules by renaming it to 
93-pn53x.rules

Original issue reported on code.google.com by silver.k...@gmail.com on 25 Jan 2015 at 1:20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant