Bug#546558: cups: USB printer no longer works due to conflict with usb-storage
Package: cups
Version: 1.4.0-5
Severity: normal
Hi,
I have an USB connected Epson Stylus Photo R360. It worked fine with
cups 1.3, but it does not work with 1.4. The kernel log shows the
following when turning the printer on:
Sep 14 07:37:46 twister kernel: [ 1820.048041] usb 1-1: new high speed USB device using ehci_hcd and address 8
Sep 14 07:37:46 twister kernel: [ 1820.183909] usb 1-1: New USB device found, idVendor=04b8, idProduct=082c
Sep 14 07:37:46 twister kernel: [ 1820.183918] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 14 07:37:46 twister kernel: [ 1820.183924] usb 1-1: Product: USB2.0 MFP(Hi-Speed)
Sep 14 07:37:46 twister kernel: [ 1820.183928] usb 1-1: Manufacturer: EPSON
Sep 14 07:37:46 twister kernel: [ 1820.183932] usb 1-1: SerialNumber: XXXXXXXXXXXXXXXXXX
Sep 14 07:37:46 twister kernel: [ 1820.184086] usb 1-1: configuration #1 chosen from 1 choice
Sep 14 07:37:46 twister kernel: [ 1820.192514] scsi13 : SCSI emulation for USB Mass Storage devices
Sep 14 07:37:46 twister kernel: [ 1820.192847] usb-storage: device found at 8
Sep 14 07:37:46 twister kernel: [ 1820.192850] usb-storage: waiting for device to settle before scanning
Sep 14 07:37:51 twister kernel: [ 1825.195266] scsi 13:0:0:0: Direct-Access EPSON Stylus Storage 1.00 PQ: 0 ANSI: 2
Sep 14 07:37:51 twister kernel: [ 1825.195515] sd 13:0:0:0: Attached scsi generic sg10 type 0
Sep 14 07:37:51 twister kernel: [ 1825.195932] usb-storage: device scan complete
Sep 14 07:37:51 twister kernel: [ 1825.206962] sd 13:0:0:0: [sdi] Attached SCSI removable disk
Sep 14 07:39:13 twister kernel: [ 1907.119827] usb 1-1: usbfs: interface 0 claimed by usb-storage while 'usb' sets config #1
Sep 14 07:39:18 twister kernel: [ 1912.120371] usb 1-1: usbfs: interface 0 claimed by usb-storage while 'usb' sets config #1
Sep 14 07:39:23 twister kernel: [ 1917.121086] usb 1-1: usbfs: interface 0 claimed by usb-storage while 'usb' sets config #1
Sep 14 07:39:28 twister kernel: [ 1922.121839] usb 1-1: usbfs: interface 0 claimed by usb-storage while 'usb' sets config #1
Sep 14 07:39:33 twister kernel: [ 1927.123785] usb 1-1: usbfs: interface 0 claimed by usb-storage while 'usb' sets config #1
[the last line repeated endlessly]
If I remove/blacklist the usb-storage module, then printing works, but
that of course breaks removable storage devices. Previously the
usb-storage and usblp drivers coexisted peacefully and was able to drive
the same device simultaneously; that seems to be broken now with libusb.
"lsusb -v" output for reference:
Bus 001 Device 012: ID 04b8:082c Seiko Epson Corp. Storage 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 0x082c Storage Device
bcdDevice 1.00
iManufacturer 1 EPSON
iProduct 2 USB2.0 MFP(Hi-Speed)
iSerial 3 XXXXXXXXXXXXXXXXXX
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 7 USB2.0 Mass Storage
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x07 EP 7 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 0x88 EP 8 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
Gabor
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30.6-00001-g278b773
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cups depends on:
ii adduser 3.110 add and remove users and groups
ii bc 1.06.94-3.1 The GNU bc arbitrary precision cal
ii cups-client 1.4.0-5 Common UNIX Printing System(tm) -
ii cups-common 1.4.0-5 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii ghostscript 8.70~dfsg-2+b1 The GPL Ghostscript PostScript/PDF
ii libavahi-client3 0.6.25-1 Avahi client library
ii libavahi-common3 0.6.25-1 Avahi common library
ii libc6 2.9-26 GNU C Library: Shared libraries
ii libcups2 1.4.0-5 Common UNIX Printing System(tm) -
ii libcupscgi1 1.4.0-5 Common UNIX Printing System(tm) -
ii libcupsdriver1 1.4.0-5 Common UNIX Printing System(tm) -
ii libcupsimage2 1.4.0-5 Common UNIX Printing System(tm) -
ii libcupsmime1 1.4.0-5 Common UNIX Printing System(tm) -
ii libcupsppdc1 1.4.0-5 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libgcc1 1:4.4.1-4 GCC support library
ii libgnutls26 2.8.3-3 the GNU TLS library - runtime libr
ii libgssapi-krb5-2 1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii libijs-0.35 0.35-7 IJS raster image transport protoco
ii libkrb5-3 1.7dfsg~beta3-1 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.17-1 OpenLDAP libraries
ii libpam0g 1.1.0-3 Pluggable Authentication Modules l
ii libpaper1 1.1.23+nmu1 library for handling paper charact
ii libpoppler4 0.10.6-1 PDF rendering library
ii libslp1 1.2.1-7.6 OpenSLP libraries
ii libstdc++6 4.4.1-4 The GNU Standard C++ Library v3
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii perl-modules 5.10.0-25 Core Perl modules
ii poppler-utils [xpdf-ut 0.10.6-1 PDF utilitites (based on libpopple
ii procps 1:3.2.8-1 /proc file system utilities
ii ssl-cert 1.0.23 simple debconf wrapper for OpenSSL
ii ttf-freefont 20090104-4 Freefont Serif, Sans and Mono True
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
Versions of packages cups recommends:
ii cups-driver-gutenprint 5.2.4-1 printer drivers for CUPS
pn foomatic-filters <none> (no description available)
ii ghostscript-cups 8.70~dfsg-2+b1 The GPL Ghostscript PostScript/PDF
Versions of packages cups suggests:
ii cups-bsd 1.4.0-5 Common UNIX Printing System(tm) -
pn cups-pdf <none> (no description available)
pn cups-ppdc <none> (no description available)
pn foomatic-db <none> (no description available)
pn foomatic-db-engine <none> (no description available)
pn hplip <none> (no description available)
pn smbclient <none> (no description available)
pn xpdf-korean | xpdf-japanese | <none> (no description available)
-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, scsi, serial, socket, usb, snmp, dnssd
Reply to: