I believe I am in a similar situation to Tero:

    Originally on 12.04 but upgraded to 12.10 to try and see if my issue
was resolved with newer CUPS so here is the relevant info for a failure
on 12.10

   Situation:
        1)  LaserJet 6P connected to system by a USB<->LPT cable (Belkin brand 
cable)
             lsusb  for the appropriate device
                Bus 001 Device 003: ID 050d:0002 Belkin Components
           and printing using Gutenprint
        2) before printing there is a /dev/usb/lp0 dev setup
        2)  First print after a reboot of system works (I have not had a case 
where this fails)
After the first print
        3) at this point I see in the syslog
                  usblp0: removed
        4) the /dev/usb/lp0 is NO longer present ... 
        5) If I try to print again the job hangs with Status "Processing"
        6) Looking at the cups error log with the logging set to "debug" I see 
the following:
                   [Job 1164] Got USB transaction timeout during write.
              (this message periodically repeats as it keeps trying to send the 
queued job)
        7)  at this point the usblp seems to still be present
$ lsmod |egrep usblp
usblp                  18140  0
        
        Breaking out of this bad state ...
            1) if I try to simply power off the printer ... no help ...
            2) if I disconnect the USB cable it does one of two things (both of 
which can lead to the job getting printed)
                    a) sometimes unplugging and plugging it back in causes the 
job to immediately start printing
                    b) sometimes during the unplug/replug the job gets put in a 
"held" state ... and then if I release the job it will
                         start printing
            3)  If I reboot the system it will print the pending job upon reboot

      Generally it seems that 2) and 3) force the /dev/usb/lp0 to get
re-insterted which allows printing of a job but it seems after printing
a job the /dev/usb/lp0 gets lost

   Some other relevant info
D [18/Nov/2012:14:07:33 -0800] [Job 1167] Gutenprint:  CUPS option 25 
usb-no-reattach = true
D [18/Nov/2012:14:07:33 -0800] [Job 1167] Gutenprint:  CUPS option 26 
usb-unidir = true

   I tried to play with blacklist of the usblp but did not seem to impact ...
   I tried making the udev-configure-print not executable but was not able to 
seemingly get it to reliably work (although at one point of testing a 
combination of things it did seem for a while things were behaving somewhat 
good -multiple prints without having to disconnect the cable- but then I 
somehow lost the good state ...)

lpinfo -v (filtered to the line of interest)
direct usb://HP/LaserJet%206P

relevant unplug/replug syslog for situation where 2 jobs were in the queue ... 
but only one gets printed and the other gets
stuck:
Nov 18 14:15:53 golum kernel: [ 9429.761218] usb 1-1.2: USB disconnect, device 
number 10
Nov 18 14:15:53 golum kernel: [ 9429.761432] usblp0: removed
Nov 18 14:15:53 golum udev-configure-printer: remove 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2
Nov 18 14:15:53 golum udev-configure-printer: URI of detected printer: 
usb://HP/LaserJet%206P, normalized: laserjet 6p
Nov 18 14:15:53 golum udev-configure-printer: URI of print queue: 
usb://HP/LaserJet%206P, normalized: laserjet 6p
Nov 18 14:15:53 golum udev-configure-printer: Queue 
ipp://localhost:631/printers/HP_LaserJet_6P has matching device URI
Nov 18 14:15:53 golum udev-configure-printer: Disabled printer 
ipp://localhost:631/printers/HP_LaserJet_6P as the corresponding device was 
unplugged or turned off
Nov 18 14:16:14 golum kernel: [ 9450.954632] usb 1-1.2: new full-speed USB 
device number 11 using ehci_hcd
Nov 18 14:16:14 golum kernel: [ 9451.052738] usb 1-1.2: New USB device found, 
idVendor=050d, idProduct=0002
Nov 18 14:16:14 golum kernel: [ 9451.052743] usb 1-1.2: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
Nov 18 14:16:14 golum kernel: [ 9451.052746] usb 1-1.2: Product: IEEE-1284 
Controller
Nov 18 14:16:14 golum kernel: [ 9451.052748] usb 1-1.2: Manufacturer: Belk USB 
Printing Support
Nov 18 14:16:14 golum mtp-probe: checking bus 1, device 11: 
"/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
Nov 18 14:16:14 golum kernel: [ 9451.059318] usblp 1-1.2:1.0: usblp0: USB 
Bidirectional printer dev 11 if 0 alt 1 proto 2 vid 0x050D pid 0x0002
Nov 18 14:16:14 golum mtp-probe: bus: 1, device: 11 was not an MTP device
Nov 18 14:16:14 golum udev-configure-printer: add 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0
Nov 18 14:16:14 golum udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2
Nov 18 14:16:14 golum udev-configure-printer: MFG:Hewlett-Packard MDL:HP 
LaserJet 6P SERN:- serial:-
Nov 18 14:16:15 golum kernel: [ 9452.128879] usblp0: removed
Nov 18 14:16:15 golum kernel: [ 9452.142659] usblp 1-1.2:1.0: usblp0: USB 
Bidirectional printer dev 11 if 0 alt 1 proto 2 vid 0x050D pid 0x0002
Nov 18 14:16:15 golum udev-configure-printer: URI matches without serial 
number: usb://HP/LaserJet%206P
Nov 18 14:16:15 golum udev-configure-printer: No serial number URI matches so 
using those without
Nov 18 14:16:15 golum udev-configure-printer: URI of detected printer: 
usb://HP/LaserJet%206P, normalized: laserjet 6p
Nov 18 14:16:15 golum udev-configure-printer: Consider also queues with 
"/usb/lp0" or "/usblp0" in their URIs as matching
Nov 18 14:16:15 golum udev-configure-printer: URI of print queue: 
usb://HP/LaserJet%206P, normalized: laserjet 6p
Nov 18 14:16:15 golum udev-configure-printer: Queue 
ipp://localhost:631/printers/HP_LaserJet_6P has matching device URI
Nov 18 14:16:15 golum udev-configure-printer: Re-enabled printer 
ipp://localhost:631/printers/HP_LaserJet_6P
Nov 18 14:16:15 golum kernel: [ 9452.210973] usblp0: removed

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

Title:
  cups will not print to USB connected Samsung ML-4500 (with USB ->
  Parallel adapter)

Status in “cups” package in Ubuntu:
  Incomplete
Status in “cups” source package in Precise:
  Incomplete

Bug description:
  I have a working parallel laser printer: Samsung ML-4500. I have
  connected this to my computer with a usb-to-parallel cable.

  The cable is listed in as:

  $ lsusb -s 005:005
  Bus 005 Device 005: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel 
Port

  Cups recognises the printer model and gnome correctly lists the
  printer in system-config-printer. Any attempt to print to the printer,
  however, results in the printer spinning up it's cooling fans and
  heating the fusing lamp while the "data" led on the front flashes for
  about 5minutes. In the cups admin screen the print job is listed as
  "Sending data to printer." The printer eventually stops whirring and
  shuts back down into standby with the Data led remaining static to
  indicate that the printer is idle. At no point does the printer
  actually begin, or finish, printing anything.

  After plugging the usb cable dmesg reports:

  [ 2952.148182] usb 5-3: new full-speed USB device number 5 using ohci_hcd
  [ 2952.321367] usblp0: USB Bidirectional printer dev 5 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305

  Upon attempting to print to the device dmesg reports:

  [ 2964.457576] usblp0: removed
  [ 2964.479420] usblp0: USB Bidirectional printer dev 5 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
  [ 2965.505493] usblp0: removed
  [ 2965.537417] usblp0: USB Bidirectional printer dev 5 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
  [ 2969.733454] usblp0: removed

  (The time period between these two dmesg output snippets shows a print
  attempt directly after plugging the cable. The "usblp0: removed" does
  not appear until the print spool is actively trying to print, and thus
  is not a result of the hotplug event.)

  Now that I have a job in the queue, cups admin screen reports that the
  printer is in the following state:

  ML-4500 Samsung ML-4500 daniel-MS-7693  Samsung ML-4500 Foomatic/gdi
  (recommended)      Processing - "Sending data to printer."

  The printer is idle, however, and does not appear to be receiving any
  communication since the initial attempt at printing the job (which is
  also listed below):

  ML-4500-3       Unknown         Withheld        1k      Unknown
  processing since Mon 19 Mar 2012 20:05:15 GMT "Sending data to
  printer."

  The time is now 20:24, around twenty minutes since this particular
  test job was started and still no sign of an output. Previous jobs I
  have cancelled to clear the queue.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.2-8
  ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
  Uname: Linux 3.2.0-18-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: amd64
  CupsErrorLog:
   W [19/Mar/2012:19:27:50 +0000] failed to CreateProfile: 
org.freedesktop.ColorManager.AlreadyExists:profile id 'ML-4500-Gray..' already 
exists
   W [19/Mar/2012:19:27:50 +0000] failed to CreateDevice: 
org.freedesktop.ColorManager.AlreadyExists:device id 'cups-ML-4500' already 
exists
   W [19/Mar/2012:19:27:50 +0000] failed to CreateProfile: 
org.freedesktop.ColorManager.AlreadyExists:profile id 
'Photosmart-C4100-series-Gray..' already exists
   W [19/Mar/2012:19:27:50 +0000] failed to CreateProfile: 
org.freedesktop.ColorManager.AlreadyExists:profile id 
'Photosmart-C4100-series-RGB..' already exists
   W [19/Mar/2012:19:27:50 +0000] failed to CreateDevice: 
org.freedesktop.ColorManager.AlreadyExists:device id 
'cups-Photosmart-C4100-series' already exists
  Date: Mon Mar 19 20:09:47 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
  Lpstat: device for ML-4500: usb://Samsung/ML-4500
  MachineType: MSI MS-7693
  Papersize: a4
  PpdFiles: ML-4500: Samsung ML-4500 Foomatic/gdi (recommended)
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-18-generic 
root=UUID=60ea4233-8504-473c-8911-ce68b72b19b8 ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: Upgraded to precise on 2012-03-12 (6 days ago)
  dmi.bios.date: 02/16/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V1.5
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: 970A-G46 (MS-7693)
  dmi.board.vendor: MSI
  dmi.board.version: 2.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MSI
  dmi.chassis.version: 2.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrV1.5:bd02/16/2012:svnMSI:pnMS-7693:pvr2.0:rvnMSI:rn970A-G46(MS-7693):rvr2.0:cvnMSI:ct3:cvr2.0:
  dmi.product.name: MS-7693
  dmi.product.version: 2.0
  dmi.sys.vendor: MSI

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to