Printer does print only after reconnect

Bug #1351351 reported by Jens Herrmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I use a USB printer Samsung ML-1640. Since the latest ubuntu upgrade the printer does not start to print anymore when I send a print job via libreoffice or evince. The printer queue says its processing the print job but nothing happens. By trial and error I found that it is possible to print when I follow a certain sequence:

1. The printer is switched on but not connected to the PC
2. I open the document and send a print job
3. About 4s later I connect the printer to the PC
4. The printer prints

To print another document I have to repeat steps 1 to 4 again.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cups 1.7.2-0ubuntu1.1
ProcVersionSignature: Error: [Errno 2] No such file or directory: '/proc/version_signature'
Uname: Linux 3.15.6-031506-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CupsErrorLog:

Date: Fri Aug 1 16:56:48 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-11-26 (248 days ago)
InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
Lpstat: device for Samsung-ML-1640-Series: usb://Samsung/ML-1640%20Series?serial=144QBAIS500148D.
MachineType: LENOVO 2731A11
Papersize: a4
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
PpdFiles: Samsung-ML-1640-Series: Samsung ML-1640, 2.0.0
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.15.6-031506-generic root=UUID=ec5b1571-ab35-4cc5-bce8-3b36ea5596c3 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: Upgraded to trusty on 2014-04-22 (101 days ago)
dmi.bios.date: 02/13/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 7YET85WW (3.15 )
dmi.board.name: 2731A11
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7YET85WW(3.15):bd02/13/2012:svnLENOVO:pn2731A11:pvrThinkPadR500:rvnLENOVO:rn2731A11:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2731A11
dmi.product.version: ThinkPad R500
dmi.sys.vendor: LENOVO

Revision history for this message
Jens Herrmann (bugs-u) wrote :
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :
Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

And a https://wiki.ubuntu.com/DebuggingPrintingProblems#CUPS_error_log of the problem (without disconnecting).

Revision history for this message
Jens Herrmann (bugs-u) wrote :
Download full text (5.5 KiB)

##### https://wiki.ubuntu.com/DebuggingPrintingProblems#USB_printer #####

2.
jens@blackbox:~$ lsmod | grep usb
usblp 23075 0
usbhid 53121 0
hid 106436 4 hid_generic,usbhid,hid_logitech_dj

3.+4.
jens@blackbox:~$ tail -f /var/log/syslog
Aug 16 19:26:11 blackbox kernel: [52718.338112] usb 3-1: Product: ML-1640 Series
Aug 16 19:26:11 blackbox kernel: [52718.338116] usb 3-1: Manufacturer: Samsung Electronics Co., Ltd.
Aug 16 19:26:11 blackbox kernel: [52718.338120] usb 3-1: SerialNumber: 144QBAIS500148D.
Aug 16 19:26:11 blackbox mtp-probe: checking bus 3, device 2: "/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1"
Aug 16 19:26:11 blackbox mtp-probe: bus: 3, device: 2 was not an MTP device
Aug 16 19:26:12 blackbox kernel: [52718.888267] usblp 3-1:1.0: usblp1: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3292
Aug 16 19:26:12 blackbox kernel: [52718.888317] usbcore: registered new interface driver usblp
Aug 16 19:27:44 blackbox kernel: [52811.268141] usb 3-1: USB disconnect, device number 2
Aug 16 19:27:44 blackbox kernel: [52811.268398] usblp1: removed
Aug 16 19:27:44 blackbox udev-configure-printer: remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1
Aug 16 19:28:32 blackbox kernel: [52859.012126] usb 3-1: new full-speed USB device number 3 using uhci_hcd
Aug 16 19:28:32 blackbox kernel: [52859.185126] usb 3-1: New USB device found, idVendor=04e8, idProduct=3292
Aug 16 19:28:32 blackbox kernel: [52859.185135] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 16 19:28:32 blackbox kernel: [52859.185140] usb 3-1: Product: ML-1640 Series
Aug 16 19:28:32 blackbox kernel: [52859.185144] usb 3-1: Manufacturer: Samsung Electronics Co., Ltd.
Aug 16 19:28:32 blackbox kernel: [52859.185148] usb 3-1: SerialNumber: 144QBAIS500148D.
Aug 16 19:28:32 blackbox kernel: [52859.192250] usblp 3-1:1.0: usblp1: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3292
Aug 16 19:28:32 blackbox mtp-probe: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1"
Aug 16 19:28:32 blackbox mtp-probe: bus: 3, device: 3 was not an MTP device
Aug 16 19:28:33 blackbox udev-configure-printer: add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0
Aug 16 19:28:33 blackbox udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0
Aug 16 19:28:33 blackbox udev-configure-printer: MFG:Samsung MDL:ML-1640 Series SERN:- serial:-
Aug 16 19:28:34 blackbox kernel: [52860.755747] ttyS0: LSR safety check engaged!
Aug 16 19:28:34 blackbox kernel: [52860.755766] audit: type=1400 audit(1408210114.395:74): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=23450 comm="serial" capability=21 capname="sys_admin"
Aug 16 19:28:34 blackbox kernel: [52860.763710] usblp1: removed
Aug 16 19:28:34 blackbox kernel: [52860.780566] usblp 3-1:1.0: usblp1: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3292
Aug 16 19:28:34 blackbox udev-configure-printer: URI matches without serial number: usb://Samsung/ML-1640%20Series?serial=144QBAIS500148D.
Aug 16 19:28:34 blackbox udev-configure-printer: No serial number URI ma...

Read more...

Revision history for this message
Jens Herrmann (bugs-u) wrote :
Jens Herrmann (bugs-u)
Changed in cups (Ubuntu):
status: Incomplete → New
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

In the file

/usr/share/cups/usb/org.cups.usb-quirks

There is a line

0x04e8 soft-reset

Please try the following:

1. Comment out the line, by modifying it to

#0x04e8 soft-reset

Turn off and turn on your printer again. Can you print normally now? Try printing several jobs.

2. Modify it as follows

0x04e8 no-reattach
0x04e8 unidir
0x04e8 unidir no-reattach
0x04e8 soft-reset no-reattach
0x04e8 soft-reset unidir
0x04e8 soft-reset unidir no-reattach

For each of these possibilities turn off and turn on the printer and after that try to print several jobs. Are you able to print normally again?

With which versions of the line did you get it finally working?

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Jens Herrmann (bugs-u) wrote :

First I want to point out that I had to reinstall my system a week ago. While I still have trouble to print its not the same syptom it was before. Now I am not able to print anything anymore, independent from when I connect the printer to the computer. However, I have tried all the modifications you mentioned and did not have success with any of them.

Would you suggest to open a new bug with current log files or should I attach them here?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Jens, so please post a new bug with your current problem. I will close this one, but feel free to re-open it if you get to the same problem again.

Changed in cups (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.