svn commit: r272820 - head/etc/devd
Hans Petter Selasky
hselasky at FreeBSD.org
Thu Oct 9 13:58:20 UTC 2014
Author: hselasky
Date: Thu Oct 9 13:58:19 2014
New Revision: 272820
URL: https://svnweb.freebsd.org/changeset/base/272820
Log:
Add example devd configuration file for USB printers.
Added:
head/etc/devd/ulpt.conf (contents, props changed)
Modified:
head/etc/devd/Makefile
Modified: head/etc/devd/Makefile
==============================================================================
--- head/etc/devd/Makefile Thu Oct 9 13:36:37 2014 (r272819)
+++ head/etc/devd/Makefile Thu Oct 9 13:58:19 2014 (r272820)
@@ -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"
Added: head/etc/devd/ulpt.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/etc/devd/ulpt.conf Thu Oct 9 13:58:19 2014 (r272820)
@@ -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";
+#};
More information about the svn-src-all
mailing list