kernel - Add kqueue support to ulpt for CUPS printing
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 20 Apr 2011 00:26:30 +0000 (17:26 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 20 Apr 2011 00:26:30 +0000 (17:26 -0700)
commit6717ffa7c5072e21eb7ee64102bf07de5d1c642f
tree7dcdaf242c5eaac077af252ecdff6cc69cd2f6df
parentdac7444ffc2f1f619da706f1cc6565452dfac115
kernel - Add kqueue support to ulpt for CUPS printing

* Adjust the ulpt driver to add kqueue support (reporting always write-ready).
  Otherwise CUPS will stall indefinitely on a usb printer device.

* NOTE: For CUPS operation /dev/ulpt* must be chgrp'd lp and modes 664,
by adding this to your /etc/devfs.conf:

perm ulpt* root:lp 664

(group 'lp' is added by the CUPS package).
sys/dev/usbmisc/ulpt/ulpt.c