diff options
author | hselasky <hselasky@FreeBSD.org> | 2014-10-09 13:58:19 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2014-10-09 13:58:19 +0000 |
commit | afe30bff57647805e6b0295dfe0927d23ce1d3ce (patch) | |
tree | 04c8ff89b520e1ca504cb5fd534498cc7e02fb7c /etc/devd | |
parent | 9c75952aa6b07b2fcc733d59a5e9dfe2e0e46f08 (diff) | |
download | FreeBSD-src-afe30bff57647805e6b0295dfe0927d23ce1d3ce.zip FreeBSD-src-afe30bff57647805e6b0295dfe0927d23ce1d3ce.tar.gz |
Add example devd configuration file for USB printers.
Diffstat (limited to 'etc/devd')
-rw-r--r-- | etc/devd/Makefile | 2 | ||||
-rw-r--r-- | etc/devd/ulpt.conf | 18 |
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"; +#}; |