← Back to team overview

kernel-packages team mailing list archive

[Bug 1258919] Re: printing issue with parallel-to-usb adapter

 

Sorry I have been busy all week.

Before posting to the usb list, do you confirm my first guess that this
may be a kernel bug ? I saw that cups does not support usblp anymore.
Can we be sure that this is not a cups issue ? I just mentioned the
kernel because it seemed one possible thing to do. But is usblp is not
used, how can we diagnose eiher the kernel or cups ?  There are no
/dev/usb/lp? devices anymore.

I did another test : I generate a long list in the following way :

line 1
line 2
etc ...

I store it in a Postcsript file with groff

If the list is 20 lines long, it is printinted completely and the
printer releases the page. If it is 56 lines or more, one or two lines
at the end are not printed and the printer does not release the page. In
both situations, lpstat -t returns :

root@rubedo:~# lpstat -t
scheduler is running
system default destination: DESKJET-710C
device for DESKJET-710C: usb://HP/DESKJET%20710C
DESKJET-710C accepting requests since Sun 15 Dec 2013 09:34:18 PM CET
printer DESKJET-710C is idle.  enabled since Sun 15 Dec 2013 09:34:18 PM CET
        Sending data to printer.

Please note the final "Sending data to printer." which is not removed.

Do we have enough to say that the culprit is the kernel, of cups ?

What should I do now ? Can I write an alternate backend ? I saw an
example with usblp, but not with libusb ?

Best regards
R. Grasso

-- 
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/1258919

Title:
  printing issue with parallel-to-usb adapter

Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  Hello,

  So far I am assuming that the problem is a driver one.

  I have an old HP Deskjet 710C parallel printer. I really don't print a
  lot, so it ages well. I just replaced my former desktop with a new
  barebone without parallel port - no space to embed a PCI  IEEE 1284
  adapter. So I just bought a cable which is a parallel-to-usb adapter :
  it is a Sweex adapter, the kernel recognizes it as :

  Prolific Technology, Inc. PL2305 Parallel Port

  I configured cups to use this new adapter, with the same old pnm2ppa
  driver. When I try to print a test page from cups (or other printings)
  it goes well, until close to the end, when the printing suddenly
  stops, without the sheet being released : I have to power off the
  printer, which as a side effect triggers the sheet ejection before
  power off.

  I read various articles and forums on this topic before posting.
  Playing with usblp, kernel blacklists and /dev/usb/lp0 does not solve
  anything.

  I wanted to be sure that it was not the Prolific controller which was
  flawed. So I connected it to a windows 7 virtual machine into
  Virtualbox; Windows installed various drivers, and eventually various
  printings ran seamlessly - without my issue on GNU/Linux. So my
  conclusion is that the controller is ok.

  I also just tested a mainline kernel :

  http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13-rc3-trusty/linux-
  image-3.13.0-031300rc3-generic_3.13.0-031300rc3.201312061335_amd64.deb

  no improvement, my test page stops being printed at the same spot
  close to the end. So I can assume that there is a bug in the
  controller's driver.

  So I am posting this bug report here : can I do anything else for
  helping ? Is there any hope that this will be investigated further ?

  Best regards
  R. Grasso

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: linux-image (not installed)
  ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
  Uname: Linux 3.11.0-14-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/hwC0D3', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D2c', '/dev/snd/pcmC0D3p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  Date: Sun Dec  8 13:53:43 2013
  HibernationDevice: RESUME=UUID=a16e3a2c-0f38-4e72-9c51-145a864b60a1
  InstallationDate: Installed on 2013-11-06 (32 days ago)
  InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MachineType: Shuttle Inc. DS47D
  MarkForUpload: True
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-14-generic root=UUID=8c51cecc-9054-4edc-8b06-afb7bb4ebd2e ro
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-14-generic N/A
   linux-backports-modules-3.11.0-14-generic  N/A
   linux-firmware                             1.116
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/09/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1.03
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: FS47D
  dmi.board.vendor: Shuttle Inc.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 10
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.03:bd08/09/2013:svnShuttleInc.:pnDS47D:pvrV1.0:rvnShuttleInc.:rnFS47D:rvr1.0:cvnToBeFilledByO.E.M.:ct10:cvrToBeFilledByO.E.M.:
  dmi.product.name: DS47D
  dmi.product.version: V1.0
  dmi.sys.vendor: Shuttle Inc.

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


References