Add example devd configuration file for USB printers.

This commit is contained in:
hselasky 2014-10-09 13:58:19 +00:00
parent 9c75952aa6
commit afe30bff57
2 changed files with 19 additions and 1 deletions

View File

@ -11,7 +11,7 @@ FILES+= asus.conf
.endif
.if ${MK_USB} != "no"
FILES+= uath.conf usb.conf
FILES+= uath.conf ulpt.conf usb.conf
.endif
.if ${MK_ZFS} != "no"

18
etc/devd/ulpt.conf Normal file
View File

@ -0,0 +1,18 @@
#
# $FreeBSD$
#
#
# Example devd configuration file for USB printers.
# Uncomment the notify rule below to enable.
#
# 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 "chown root:wheel /dev/$cdev";
#};