From 62f9ed9540b0bba293025eefca69734ff0f6d5a1 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Thu, 9 Oct 2014 13:58:19 +0000 Subject: [PATCH] Add example devd configuration file for USB printers. --- etc/devd/Makefile | 2 +- etc/devd/ulpt.conf | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 etc/devd/ulpt.conf diff --git a/etc/devd/Makefile b/etc/devd/Makefile index 82a5000ff8a..6d1031ee598 100644 --- a/etc/devd/Makefile +++ b/etc/devd/Makefile @@ -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" diff --git a/etc/devd/ulpt.conf b/etc/devd/ulpt.conf new file mode 100644 index 00000000000..2082726cbf4 --- /dev/null +++ b/etc/devd/ulpt.conf @@ -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"; +#};