[Pkg-cups-devel] Bug#370604: cupsys: Cupsys 1.2.1 fails to "wake" sleeping USB printer any more

Matthew Exley henley at guided-naafi.org
Tue Jun 6 01:53:23 UTC 2006


Package: cupsys
Version: 1.2.1-1
Severity: important


Since upgrading to Cupsys 1.2.1, printing has become most unreliable.

I have a Brother HL-1430 attached via USB; this worked fine under Cupsys 1.1.x.
The printer goes to a low-power sleep mode if inactive for 5 minutes.

Under 1.2.x, if the printer is in sleep mode, attempts to print to it are met
with the Web interface message:
	"/usr/lib/cups/backend/usb failed"
or:
	"Unable to open USB device, queuing on next printer in class..."

And with LogLevel = Debug, the following final error message is repeated in
/var/log/cups/error_log:
>
>E [06/Jun/2006:02:44:19 +0100] PID 23207 (/usr/lib/cups/backend/usb) stopped with status 1!
>
(There's lots of other rubbish in there; this seems to be the most useful message)


As a work-around, unplugging and replacing the USB cable causes everything to wake up, in
particular I believe Hotplug comes to life and detects a new printer. CUPS will then happily
flush the queue and/or print any new jobs that come along right up until the idle timeout
kicks in again and the printer goes back to sleep. 

So I deduce that something is failing to issue the appropriate kicks to wake up the printer
in 1.2.1.

BTW I'm using the PPD from:
/usr/share/ppd/linuxprinting.org-gs/Brother/Brother-HL-1430-hl1250.ppd.gz
(Brother HL-1430 Foomatic/hl1250 (recommended))

And the device is connected on:
(usb://Brother/HL-1430%20series)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (200, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.2006010301
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB)

Versions of packages cupsys depends on:
ii  adduser                  3.87            Add and remove users and groups
ii  debconf [debconf-2.0]    1.5.1           Debian configuration management sy
ii  gs-esp                   8.15.1.dfsg.1-2 The Ghostscript PostScript interpr
ii  libacl1                  2.2.37-1        Access control list shared library
ii  libc6                    2.3.6-13        GNU C Library: Shared libraries
ii  libcupsimage2            1.2.1-1         Common UNIX Printing System(tm) - 
ii  libcupsys2               1.2.1-1         Common UNIX Printing System(tm) - 
ii  libdbus-1-2              0.61-6          simple interprocess messaging syst
ii  libgnutls13              1.3.5-1.1       the GNU TLS library - runtime libr
ii  libldap2                 2.1.30-13       OpenLDAP libraries
ii  libpam0g                 0.79-3.1        Pluggable Authentication Modules l
ii  libpaper1                1.1.18          Library for handling paper charact
ii  libslp1                  1.2.1-5         OpenSLP libraries
ii  lsb-base                 3.1-9           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-5         Core Perl modules
ii  procps                   1:3.2.6-2.2     /proc file system utilities
ii  xpdf-utils [poppler-util 3.01-8          Portable Document Format (PDF) sui
ii  zlib1g                   1:1.2.3-11      compression library - runtime

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

-- debconf information:
* cupsys/raw-print: true
* cupsys/lpr-backend-setuid: false
* cupsys/ports: 127.0.0.1:631 192.168.0.2:631
* cupsys/backend: usb
  cupsys/portserror:
* cupsys/browse: true




More information about the Pkg-cups-devel mailing list