← Back to team overview

kernel-packages team mailing list archive

[Bug 1313488] Re: cups multiple usb printers hangs after job sent

 

Usually, it is possible that it can be communicated with different USB
devices independently at the same time. This looks like some USB stack
problem, in the kernel or in libusb.

What happens here is that data is streamed to a first printer (the
Epson) and while this is happening a new print job for the Samsung is
sent. To find the printer on the USB something "lsusb"-like is done by
libusb, getting a list of all USB devices and the IEEE-1284 device IDs
of all devices which are printers. Can this "lsusb" poll break a runing
data transfer? It should not, if it is not possible to poll the device
data including the device ID while the device is busy, this device
should be skipped on the poll.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1313488

Title:
  cups multiple usb printers hangs after job sent

Status in “cups” package in Ubuntu:
  New
Status in “libusb-1.0” package in Ubuntu:
  New
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I have four printers:

  An Epson Photo Stylus T50 with the gutenprint driver
  An Epson Stylus T1110 with the gutenprint driver
  A Samsung ML 1860 with the ULD Samsung Proprietary Driver
  A Samsung ML 2160 wirh the ULD Samsung Proprietary Driver

  Everything works fine when I try to print to any of these printers,
  however, let's say I wanna print a picture on any of the epson
  printers, I just send the job, rigth?, but at the same time I want to
  print something on any of the Samsung Printers, I just send the job
  too, well the job sent to the samsung printer will print but the job
  sent to the epson printer hangs with the message "Unable to send data
  to printer" and won't print, I have to cancel the Epson job and send
  it again, this is the debug information I consider important to
  describe the problem, in this case [Job 684] is the job sent to the
  Epson Printer and [Job 685] is the job sent to the Samsung printer.

  [Job 684] Wrote 8192 bytes of print data...
  D [27/Apr/2014:21:28:21 -0500] [Job 684] Read 8192 bytes of print data...
  D [27/Apr/2014:21:28:21 -0500] [Job 685] Printing on printer with URI: usb://Samsung/ML-1860%20Series?serial=Z5SXBKDB400399N.
  D [27/Apr/2014:21:28:21 -0500] [Job 685] libusb_get_device_list=13
  D [27/Apr/2014:21:28:21 -0500] [Job 685] STATE: +connecting-to-device
  D [27/Apr/2014:21:28:21 -0500] Discarding unused printer-state-changed event...
  E [27/Apr/2014:21:28:21 -0500] [Job 684] Unable to send data to printer.
  D [27/Apr/2014:21:28:21 -0500] [Job 684] Set job-printer-state-message to "Unable to send data to printer.", current level=ERROR
  D [27/Apr/2014:21:28:21 -0500] [Job 684] libusb write operation returned fffffffc.
  D [27/Apr/2014:21:28:21 -0500] [Job 684] Sent 204800 bytes...
  D [27/Apr/2014:21:28:21 -0500] Discarding unused job-progress event...
  D [27/Apr/2014:21:28:21 -0500] Discarding unused printer-state-changed event...
  D [27/Apr/2014:21:28:21 -0500] [Job 685] STATE: -connecting-to-device

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.3-0ubuntu8.2
  ProcVersionSignature: Ubuntu 3.11.0-15.25~precise1-generic 3.11.10
  Uname: Linux 3.11.0-15-generic i686
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: i386
  Date: Sun Apr 27 21:51:56 2014
  InstallationMedia: Ubuntu-Server 12.04.4 LTS "Precise Pangolin" - Release i386 (20140204)
  Lpstat:
   device for Epson_Stylus_Office_T1110: usb://EPSON/Stylus%20Office%20T1110?serial=4C4E56593031393355
   device for Epson_Stylus_Photo_T50: usb://EPSON/Stylus%20Photo%20T50?serial=4C434C4B3138343743
   device for Samsung_ML-1860_Series: usb://Samsung/ML-1860%20Series?serial=Z5SXBKDB400399N.
   device for Samsung_ML-2160_Series: usb://Samsung/ML-2160%20Series?serial=Z2VJBFAZ232311P
  MachineType: CLEVO Co. M550SE
  MarkForUpload: True
  Papersize: letter
  PpdFiles:
   Samsung_ML-1860_Series: Samsung ML-1860 Series
   Samsung_ML-2160_Series: Samsung ML-2160 Series
   Epson_Stylus_Office_T1110: Epson Stylus Office T1110 - CUPS+Gutenprint v5.2.8-pre1
   Epson_Stylus_Photo_T50: Epson Stylus T50 - CUPS+Gutenprint v5.2.8-pre1
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-15-generic root=/dev/mapper/hostname--vg-root ro
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/12/2007
  dmi.bios.vendor: Phoenix Technologies LTD
  dmi.bios.version: 6.00
  dmi.board.asset.tag: Tag 12345
  dmi.board.name: M550SE/M660SE
  dmi.board.vendor: CLEVO Co.
  dmi.board.version: VT6363A
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 1
  dmi.chassis.vendor: VIA
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd10/12/2007:svnCLEVOCo.:pnM550SE:pvrVT6363A:rvnCLEVOCo.:rnM550SE/M660SE:rvrVT6363A:cvnVIA:ct1:cvrN/A:
  dmi.product.name: M550SE
  dmi.product.version: VT6363A
  dmi.sys.vendor: CLEVO Co.
  mtime.conffile..etc.cups.cupsd.conf: 2014-04-27T21:05:44.373803

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1313488/+subscriptions