Comment 4 for bug 1351351

Revision history for this message
Jens Herrmann (bugs-u) wrote :

##### 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?