Add devd(8) rules to change USB devices permissions when they are plugged-in on FreeBSD.
This commit is contained in:
parent
0b962a3b3b
commit
219d5657e8
1 changed files with 22 additions and 0 deletions
22
pn53x.conf
Normal file
22
pn53x.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
# 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";
|
||||
};
|
Loading…
Reference in a new issue