mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-12 02:23:47 +00:00
contrib: move udev and devd files into contrib/
This commit is contained in:
36
contrib/devd/pn53x.conf
Normal file
36
contrib/devd/pn53x.conf
Normal file
@@ -0,0 +1,36 @@
|
||||
# FreeBSD devd(8) rules for PN531 & PN533 devices.
|
||||
|
||||
attach 110 {
|
||||
match "vendor" "0x04cc";
|
||||
match "product" "(0x0531|0x2533)";
|
||||
action "/usr/bin/chgrp nfc /dev/$device-name";
|
||||
action "/bin/chmod g+rw /dev/$device-name";
|
||||
};
|
||||
|
||||
attach 110 {
|
||||
match "vendor" "0x04e6";
|
||||
match "product" "0x5591";
|
||||
action "/usr/bin/chgrp nfc /dev/$device-name";
|
||||
action "/bin/chmod g+rw /dev/$device-name";
|
||||
};
|
||||
|
||||
attach 110 {
|
||||
match "vendor" "0x054c";
|
||||
match "product" "0x0193";
|
||||
action "/usr/bin/chgrp nfc /dev/$device-name";
|
||||
action "/bin/chmod g+rw /dev/$device-name";
|
||||
};
|
||||
|
||||
attach 110 {
|
||||
match "vendor" "0x1fd3";
|
||||
match "product" "0x0608";
|
||||
action "/usr/bin/chgrp nfc /dev/$device-name";
|
||||
action "/bin/chmod g+rw /dev/$device-name";
|
||||
};
|
||||
|
||||
attach 110 {
|
||||
match "vendor" "0x054c";
|
||||
match "product" "0x02e1";
|
||||
action "/usr/bin/chgrp nfc /dev/$device-name";
|
||||
action "/bin/chmod g+rw /dev/$device-name";
|
||||
};
|
||||
Reference in New Issue
Block a user