summaryrefslogtreecommitdiffstats
path: root/etc/devd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/devd')
-rw-r--r--etc/devd/Makefile2
-rw-r--r--etc/devd/ulpt.conf18
2 files changed, 19 insertions, 1 deletions
diff --git a/etc/devd/Makefile b/etc/devd/Makefile
index 82a5000..6d1031e 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 0000000..2082726
--- /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";
+#};
OpenPOWER on IntegriCloud