Re: [MOD] STR #4128: libusb-based USB backend: Further fixes

Till Kamppeter <[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

I have continued the development of the USB CUPS backend, especially with a
Prolific Technology USB -> Parallel adapter at hand.

The new patches are

usb-libusb-c-update-1-6-x-2.patch
usb-libusb-c-update-1-5-x-2.patch

The added changes are:

- Added the quirk management of the usblp kernel module. So the problems
  of all printers which were worked around in the kernel module are 
  also worked around in the libusb-based CUPS backend now.

- Added new quirk type to quirk manager: Printers for which the usblp
  kernel module should not get reattached after printing a job.

- Added additional quirks for the Prolific Technology USB -> Parallel 
  adapter, as the adapter needs uni-directional mode to be forced and
  also does not like re-attaching the usblp kernel module after the
  job (last third of last page gets cut off, re-attaching probably 
  sends a reset to the printer while there is still data to be printed
  in the printer's internal buffer.

- Do not restore the configuration setting when the old configuration 
  was zero, as zero means "unconfigured".

- Added missing braces around code for restoring device's configuration
  in close_device().

- Printer-class-specific soft reset is now fully compliant to USB spec:
  It tries both possible request types now.

Can you please apply these updated patches to CUPS 1.6.x and 1.5.x? This
should solve most problems.

Link: http://www.cups.org/str.php?L4128
Version: 1.6-current
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.