freebsd-ports/print/cups/files/cups.conf.sample
Tijl Coosemans 420c6d6b94 Add a patch to print/cups and print/hplip to disable detaching of ulpt(4).
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]
2016-03-14 11:40:58 +00:00

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";
};