← Back to team overview

touch-packages team mailing list archive

[Bug 1351351] Re: Printer does print only after reconnect

 

##### 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 matches so using those without
Aug 16 19:28:34 blackbox udev-configure-printer: URI of detected printer: usb://Samsung/ML-1640%20Series?serial=144QBAIS500148D., normalized: samsung ml 1640 series serial 144qbais500148d
Aug 16 19:28:34 blackbox udev-configure-printer: URI of print queue: usb://Samsung/ML-1640%20Series?serial=144QBAIS500148D., normalized: samsung ml 1640 series serial 144qbais500148d
Aug 16 19:28:34 blackbox udev-configure-printer: Queue ipp://localhost:631/printers/Samsung-ML-1640-Series has matching device URI

7.
ls -l /dev/usb/lp* /dev/bus/usb/003/003
crw-rw-r-- 1 root lp 189, 258 Aug 16 19:28 /dev/bus/usb/003/003
crw-rw---- 1 root lp 180,   1 Aug 16 19:28 /dev/usb/lp1

8.
sudo usb_printerid /dev/usb/lp0 
sudo: usb_printerid: command not found

10.
lpinfo -v
network https
network socket
network lpd
network ipps
network smb
network ipp14
network http
network ipp
direct parallel:/dev/lp0

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

1.
ML-1640 is USB only

2.
Printing does not work correctly with uni-directional USB communication

3.
Printing does not work correctly with usb-no-reattach

lsusb 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 017: ID 046a:010d Cherry GmbH 
Bus 001 Device 016: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse (M-BT58)
Bus 001 Device 015: ID 04b3:4485 IBM Corp. Serial Converter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 040: ID 04e8:3292 Samsung Electronics Co., Ltd ML-1640 Series Laser Printer
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

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

1. ok

2.
cupsctl LogLevel=debug 
cupsctl: not found

3.
cupsctl LogDebugHistory=999999 
cupsctl: not found

6. 
error_log not in "Stopped" state but 10 mins later with no printout
There are some german statements in the log. How can this be changed to Englisch?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1351351

Title:
  Printer does print only after reconnect

Status in “cups” package in Ubuntu:
  Incomplete

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

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


References