[cups.bugs] [HIGH] STR #2324: USB driver uses backchannel, which doesn't work on NetBSD

Greg Troxel gdt at ir.bbn.com
Wed Apr 4 06:07:34 PDT 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

With cups 1.2.10 on NetBSD (i386, 4.0_BETA2), printing to an HP 1320
attached via USB fails.  It works with 1.1.23.  NetBSD's ulpt(4) driver
does not support reading from USB printers, but because use_bc=1, cups
tries to read and the usb driver hangs when no data is forthcoming.

With the attached patch (which is in pkgsrc/print/cups), I was able to
print a test page.

Fixing this correctly is tricky; one can't assume a printer is present at
configure time (especially for pkgsrc which does bulk builds for binary
packages).   NetBSD may in the future support the backchannel on ulpt(4). 
So probably the best approach is to read from the device, but with a
timeout, and essentially fall back to use_bc=0 if nothing is read.

Link: http://www.cups.org/str.php?L2324
Version: 1.2.8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-au
Type: application/octet-stream
Size: 524 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20070404/7de3f19f/attachment.obj>


More information about the cups mailing list