[Pkg-cups-devel] Bug#378847: cupsys: usb:// sluggish with Canon printers

Paul Martin pm at debian.org
Wed Jul 19 10:14:46 UTC 2006


Package: cupsys
Version: 1.2.1-3
Severity: normal
Tags: patch

Canon inkjet printers are sluggish using the usb:// interface, and 
sometimes reboot before the page has competed.

backend/usb-unix.c says:

 /*
  * Disable backchannel data when printing to Canon USB printers - apparently
  * Canon printers will return the IEEE-1284 device ID over and over and over
  * when they get a read request...
  */

  use_bc = strcasecmp(hostname, "Canon") != 0;

But it never uses the use_bc variable after that.

The fix is to change the final argument to the backendRunLoop() call, as 
per the attached patch.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (99, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages cupsys depends on:
ii  adduser                3.94              Add and remove users and groups
ii  debconf [debconf-2.0]  1.5.2             Debian configuration management sy
ii  gs-esp                 8.15.1.dfsg.1-2.1 The Ghostscript PostScript interpr
ii  libacl1                2.2.39-1          Access control list shared library
ii  libc6                  2.3.6-15          GNU C Library: Shared libraries
ii  libcupsimage2          1.2.1-3           Common UNIX Printing System(tm) - 
ii  libcupsys2             1.2.1-3           Common UNIX Printing System(tm) - 
ii  libdbus-1-2            0.62-4            simple interprocess messaging syst
ii  libgnutls13            1.4.1-1           the GNU TLS library - runtime libr
ii  libldap2               2.1.30-13+b1      OpenLDAP libraries
ii  libpam0g               0.79-3.1          Pluggable Authentication Modules l
ii  libpaper1              1.1.19            Library for handling paper charact
ii  libslp1                1.2.1-5           OpenSLP libraries
ii  lsb-base               3.1-10            Linux Standard Base 3.1 init scrip
ii  patch                  2.5.9-4           Apply a diff file to an original
ii  perl-modules           5.8.8-6           Core Perl modules
ii  procps                 1:3.2.7-2         /proc file system utilities
ii  xpdf-utils [poppler-ut 3.01-9            Portable Document Format (PDF) sui
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client           1.2.1-3          Common UNIX Printing System(tm) - 
ii  foomatic-filters        3.0.2-20060712-1 linuxprinting.org printer support 
ii  smbclient               3.0.22-1         a LanManager-like simple client fo

-- debconf information:
* cupsys/raw-print: true
* cupsys/ports: localhost:631
* cupsys/backend: ipp, lpd, parallel, socket, usb
  cupsys/portserror:
* cupsys/browse: true
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usb-unix.dpatch
Type: application/x-shellscript
Size: 712 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20060719/0e05310e/usb-unix.bin


More information about the Pkg-cups-devel mailing list