[cups.bugs] [MOD] STR #4128: libusb-based USB backend: Further fixes
Till Kamppeter
till.kamppeter at gmail.com
Fri Jun 22 03:27:38 PDT 2012
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Based on work together with Ubuntu bug reporters I succeeded to fix several
issues with the libusb-based CUPS backend. Now practically all real USB
printers (no USB->Parallel adapters) work.
Patches for 1.6.x and 1.5.x are attached.
Following Ubuntu bugs are solved:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253
Brother HL-1440 printing extra page with PJL codes
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/995111
Print failure since upgrade to 12.04
For following bug I have added a configuration option:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1001028
Delay after every print job on USB
Blacklisting the usblp kernel module is not needed any more, the usblp
backend correctly detaches and re-attaches the module.
The changes I have done are:
- Support for mon-directional devices, both protocol-1 devices and
devices where no read endpoint is found.
- Soft reset specific to the "PRINTER" device class. This allows a
reset without reconnecting.
- When closing the device, it will also get reset to its original
configuration, before re-attaching the usblp kernel module.
- Added option "usb-unidir" to force the backend into uni-directional
mode. This allows to work around problems with bi-di communications,
especially also a delay at the end of the job caused by closing the
read channel (happens only for some devices). Also useful for
debugging.
- Some extra debug messages.
- Added a missing libusb_free_config_descriptor().
Can this be put into CUPS 1.6.x/1.5.x? Thanks.
Link: http://www.cups.org/str.php?L4128
Version: 1.6-current
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: usb-libusb-c-update-1-6-x.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20120622/3ab2a5aa/attachment.ksh>
More information about the cups-devel
mailing list