git: kernel - Add kqueue support to ulpt for CUPS printing

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Apr 19 17:29:40 PDT 2011


commit 6717ffa7c5072e21eb7ee64102bf07de5d1c642f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Apr 19 17:26:30 2011 -0700

    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).

Summary of changes:
 sys/dev/usbmisc/ulpt/ulpt.c |   76 +++++++++++++++++++++++++++++++++++++-----
 1 files changed, 67 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6717ffa7c5072e21eb7ee64102bf07de5d1c642f


-- 
DragonFly BSD source repository





More information about the Commits mailing list