[Pkg-cups-devel] Bug#635041: cups: USB printer conflict with usb-storage (bug #546558 again?)

R&C rcbattelle at woh.rr.com
Fri Jul 22 01:06:32 UTC 2011


Subject: cups: USB printer conflict with usb-storage (bug #546558 again?)
Package: cups
Version: 1.4.6-9
Severity: important

My Epson USB printer (model R300) quit working after a recent upgrade to 
cups
1.4.6-9.

This problem seems a lot like the old bug #546558, which was solved by 
the cups
team as of 1.4.1-4 in 2009.  Here's a link to that closed bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546558

Turning on the printer generates the following lines in /var/log/messages:

Jul 21 17:56:23 Main kernel: [ 2334.940081] usb 1-5: new high speed USB 
device number 5 using ehci_hcd
Jul 21 17:56:23 Main kernel: [ 2335.072988] usb 1-5: New USB device 
found, idVendor=04b8, idProduct=0803
Jul 21 17:56:23 Main kernel: [ 2335.072997] usb 1-5: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
Jul 21 17:56:23 Main kernel: [ 2335.073004] usb 1-5: Product: USB2.0 
MFP(Hi-Speed)
Jul 21 17:56:23 Main kernel: [ 2335.073009] usb 1-5: Manufacturer: EPSON
Jul 21 17:56:23 Main kernel: [ 2335.073013] usb 1-5: SerialNumber: 
M16P10403261602300
Jul 21 17:56:23 Main kernel: [ 2335.074838] scsi4 : usb-storage 1-5:1.0
Jul 21 17:56:25 Main kernel: [ 2336.783603] scsi 4:0:0:0: 
Direct-Access     EPSON    Stylus Storage   1.00 PQ: 0 ANSI: 2
Jul 21 17:56:25 Main kernel: [ 2336.784780] sd 4:0:0:0: Attached scsi 
generic sg4 type 0
Jul 21 17:56:25 Main kernel: [ 2336.809340] sd 4:0:0:0: [sdc] Attached 
SCSI removable disk

Subsequently sending it a print job causes the following line to be appended
each time the spooler tries to send the job to the printer:

Jul 21 17:59:09 Main kernel: [ 2500.808404] usb 1-5: usbfs: interface 0 
claimed by usb-storage while 'usb' sets config #1

Here's a copy of the relevant portions from lsusb -v:

Bus 001 Device 005: ID 04b8:0803 Seiko Epson Corp. Printer (Composite 
Device)
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               2.00
   bDeviceClass            0 (Defined at Interface level)
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0        64
   idVendor           0x04b8 Seiko Epson Corp.
   idProduct          0x0803 Printer (Composite Device)
   bcdDevice            1.00
   iManufacturer           1 EPSON
   iProduct                2 USB2.0 MFP(Hi-Speed)
   iSerial                 3 M16P10403261602300
   bNumConfigurations      1
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength           55
     bNumInterfaces          2
     bConfigurationValue     1
     iConfiguration          4 USB2.0 MFP(Hi-Speed)
     bmAttributes         0xc0
       Self Powered
     MaxPower                2mA
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           2
       bInterfaceClass         8 Mass Storage
       bInterfaceSubClass      6 SCSI
       bInterfaceProtocol     80 Bulk (Zip)
       iInterface              5 USB2.0 Mass Storage
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x01  EP 1 OUT
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0200  1x 512 bytes
         bInterval               0
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x82  EP 2 IN
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0200  1x 512 bytes
         bInterval               0
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       0
       bNumEndpoints           2
       bInterfaceClass         7 Printer
       bInterfaceSubClass      1 Printer
       bInterfaceProtocol      2 Bidirectional
       iInterface              6 USB2.0 Printer
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x04  EP 4 OUT
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0200  1x 512 bytes
         bInterval               0
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x85  EP 5 IN
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0200  1x 512 bytes
         bInterval               0
Device Qualifier (for other device speed):
   bLength                10
   bDescriptorType         6
   bcdUSB               2.00
   bDeviceClass            0 (Defined at Interface level)
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0        64
   bNumConfigurations      1
Device Status:     0x0001
   Self Powered

If this bug is not a bug but rather some other problem, I apologize for 
wasting
time.



-- System Information:
Debian Release: wheezy/sid
   APT prefers testing
   APT policy: (850, 'testing'), (850, 'stable'), (800, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser                 3.113            add and remove users and groups
ii  bc                      1.06.95-2        The GNU bc arbitrary 
precision cal
ii  cups-client             1.4.6-9          Common UNIX Printing 
System(tm) -
ii  cups-common             1.4.6-9          Common UNIX Printing 
System(tm) -
ii  cups-ppdc               1.4.6-9          Common UNIX Printing 
System(tm) -
ii  debconf [debconf-2.0]   1.5.40           Debian configuration 
management sy
ii  ghostscript             9.02~dfsg-3      interpreter for the 
PostScript lan
ii  libacl1                 2.2.51-3         Access control list shared 
library
ii  libavahi-client3        0.6.30-5         Avahi client library
ii  libavahi-common3        0.6.30-5         Avahi common library
ii  libc6                   2.13-7           Embedded GNU C Library: 
Shared lib
ii  libcups2                1.4.6-9          Common UNIX Printing 
System(tm) -
ii  libcupscgi1             1.4.6-9          Common UNIX Printing 
System(tm) -
ii  libcupsdriver1          1.4.6-9          Common UNIX Printing 
System(tm) -
ii  libcupsimage2           1.4.6-9          Common UNIX Printing 
System(tm) -
ii  libcupsmime1            1.4.6-9          Common UNIX Printing 
System(tm) -
ii  libcupsppdc1            1.4.6-9          Common UNIX Printing 
System(tm) -
ii  libdbus-1-3             1.4.12-4         simple interprocess 
messaging syst
ii  libgcc1                 1:4.6.1-4        GCC support library
ii  libgnutls26             2.10.5-2         the GNU TLS library - 
runtime libr
ii  libgssapi-krb5-2        1.9.1+dfsg-1+b1  MIT Kerberos runtime 
libraries - k
ii  libijs-0.35             0.35-7           IJS raster image transport 
protoco
ii  libkrb5-3               1.9.1+dfsg-1+b1  MIT Kerberos runtime libraries
ii  liblcms1                1.18.dfsg-1.2+b4 Color management library
ii  libldap-2.4-2           2.4.25-1+b1      OpenLDAP libraries
ii  libpam0g                1.1.3-2          Pluggable Authentication 
Modules l
ii  libpaper1               1.1.24+nmu1      library for handling paper 
charact
ii  libpoppler5             0.12.4-1.2       PDF rendering library
ii  libslp1                 1.2.1-7.8        OpenSLP libraries
ii  libstdc++6              4.6.1-4          GNU Standard C++ Library v3
ii  libusb-0.1-4            2:0.1.12-17      userspace USB programming 
library
ii  lsb-base                3.2-27           Linux Standard Base 3.2 
init scrip
ii  poppler-utils           0.12.4-1.2       PDF utilitites (based on 
libpopple
ii  procps                  1:3.2.8-10       /proc file system utilities
ii  ssl-cert                1.0.28           simple debconf wrapper for 
OpenSSL
ii  ttf-freefont            20100919-1       Freefont Serif, Sans and 
Mono True
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages cups recommends:
ii  avahi-daemon                 0.6.30-5    Avahi mDNS/DNS-SD daemon
ii  cups-driver-gutenprint       5.2.6-1     printer drivers for CUPS
ii  foomatic-filters             4.0.7-1     OpenPrinting printer 
support - fil
ii  ghostscript-cups             9.02~dfsg-3 interpreter for the 
PostScript lan

Versions of packages cups suggests:
ii  cups-bsd                  1.4.6-9        Common UNIX Printing 
System(tm) -
pn  cups-pdf <none>         (no description available)
ii  foomatic-db               20110617-1     OpenPrinting printer 
support - dat
ii  hplip                     3.11.5-1.1     HP Linux Printing and 
Imaging Syst
ii  smbclient                 2:3.5.8~dfsg-5 command-line SMB/CIFS 
clients for
ii  udev                      171-3          /dev/ and hotplug 
management daemo

-- debconf information:
   cupsys/raw-print: true
   cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, 
dnssd





More information about the Pkg-cups-devel mailing list