420c6d6b94
This isn't needed on FreeBSD and it always fails because the process doesn't have the required privileges. Add a sample devd configuration file to print/cups that gives users in group cups access to USB printers. [1] Submitted by: hselasky, Alexander Zagrebin <alex@zagrebin.ru> [1]
13 lines
332 B
Text
13 lines
332 B
Text
# $FreeBSD$
|
|
#
|
|
# Allow members of group cups to access generic USB printer devices
|
|
|
|
notify 100 {
|
|
match "system" "USB";
|
|
match "subsystem" "INTERFACE";
|
|
match "type" "ATTACH";
|
|
match "intclass" "0x07";
|
|
match "intsubclass" "0x01";
|
|
match "intprotocol" "(0x01|0x02|0x03)";
|
|
action "chgrp cups /dev/$cdev; chmod g+rw /dev/$cdev";
|
|
};
|