Bug#546558: cups: USB printer no longer works due to conflict with usb-storage

2009-09-16 Thread Victor Stinner
Hi,

I get the same issue with Debian Sid after last dist-upgrade. The problem can 
be related or is the same than:

   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545288

-- 
Victor Stinner
http://www.haypocalc.com/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#546558: cups: USB printer no longer works due to conflict with usb-storage

2009-09-14 Thread Gábor Gombás
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: 
XX
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 
EPSONStylus 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:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize064
  idVendor   0x04b8 Seiko Epson Corp.
  idProduct  0x082c Storage Device
  bcdDevice1.00
  iManufacturer   1 EPSON
  iProduct2 USB2.0 MFP(Hi-Speed)
  iSerial 3 XX
  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
MaxPower2mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  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
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x88  EP 8 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass 7 Printer
  bInterfaceSubClass  1 Printer
  bInterfaceProtocol  2 Bidirectional
  iInterface  6 USB2.0 Printer
  Endpoint Descriptor:
bLength