kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #136718
[Bug 1495971] Re: Samsung ML-1250 prints only first job and then disconnects
So with above commands executed:
1)
$ lsusb
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 033: ID 04e8:300e Samsung Electronics Co., Ltd Laser Printer
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
2)
$ sudo cancel -a
$ sudo lpadmin -p Samsung-ML-1250 -o usb-no-reattach-default=true
3)
printing first job:
$ tail -f /var/log/syslog
Sep 25 17:00:35 Desktop kernel: [ 8932.723597] usblp0: removed
Sep 25 17:00:35 Desktop kernel: [ 8932.738584] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 33 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 17:00:35 Desktop hp[3248]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 17:00:35 Desktop python: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 17:00:35 Desktop udev-configure-printer: URI matches without serial number: usb://Samsung/ML-1250
Sep 25 17:00:35 Desktop udev-configure-printer: No serial number URI matches so using those without
Sep 25 17:00:35 Desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 17:00:35 Desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 17:00:35 Desktop udev-configure-printer: Queue ipp://localhost:631/printers/Samsung-ML-1250 has matching device URI
Sep 25 17:00:35 Desktop udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/Samsung-ML-1250
Sep 25 17:04:32 Desktop kernel: [ 9169.962888] usblp0: removed
Sep 25 17:04:44 Desktop kernel: [ 9181.612023] usb 2-1: reset full-speed USB device number 33 using uhci_hcd
Sep 25 17:04:44 Desktop kernel: [ 9181.732047] usb 2-1: device descriptor read/64, error -71
Sep 25 17:04:44 Desktop kernel: [ 9181.956035] usb 2-1: device descriptor read/64, error -71
Sep 25 17:04:44 Desktop kernel: [ 9182.172031] usb 2-1: reset full-speed USB device number 33 using uhci_hcd
Sep 25 17:04:44 Desktop kernel: [ 9182.292037] usb 2-1: device descriptor read/64, error -71
Sep 25 17:04:45 Desktop kernel: [ 9182.516028] usb 2-1: device descriptor read/64, error -71
Sep 25 17:04:45 Desktop kernel: [ 9182.732051] usb 2-1: reset full-speed USB device number 33 using uhci_hcd
Sep 25 17:04:45 Desktop kernel: [ 9183.148044] usb 2-1: device not accepting address 33, error -71
Sep 25 17:04:45 Desktop kernel: [ 9183.260045] usb 2-1: reset full-speed USB device number 33 using uhci_hcd
Sep 25 17:04:46 Desktop kernel: [ 9183.672047] usb 2-1: device not accepting address 33, error -71
Sep 25 17:04:46 Desktop kernel: [ 9183.672277] usb 2-1: USB disconnect, device number 33
Sep 25 17:04:46 Desktop udev-configure-printer: remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 17:04:46 Desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 17:04:46 Desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 17:04:46 Desktop udev-configure-printer: Queue ipp://localhost:631/printers/Samsung-ML-1250 has matching device URI
Sep 25 17:04:46 Desktop udev-configure-printer: Disabled printer ipp://localhost:631/printers/Samsung-ML-1250 as the corresponding device was unplugged or turned off
Sep 25 17:04:46 Desktop kernel: [ 9183.784040] usb 2-1: new full-speed USB device number 34 using uhci_hcd
Sep 25 17:04:46 Desktop kernel: [ 9183.972887] usb 2-1: New USB device found, idVendor=04e8, idProduct=300e
Sep 25 17:04:46 Desktop kernel: [ 9183.972895] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 25 17:04:46 Desktop kernel: [ 9183.972898] usb 2-1: Product: Samsung Laser Printer ML-1250
Sep 25 17:04:46 Desktop kernel: [ 9183.972902] usb 2-1: Manufacturer: Samsung Electronics Co., Ltd.
Sep 25 17:04:46 Desktop kernel: [ 9183.980128] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 34 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 17:04:46 Desktop mtp-probe: checking bus 2, device 34: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1"
Sep 25 17:04:46 Desktop mtp-probe: bus: 2, device: 34 was not an MTP device
Sep 25 17:04:46 Desktop udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 17:04:46 Desktop udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 17:04:46 Desktop udev-configure-printer: MFG:Samsung MDL:ML-1250 SERN:- serial:-
Sep 25 17:04:47 Desktop kernel: [ 9185.153703] usblp0: removed
Sep 25 17:04:47 Desktop kernel: [ 9185.165295] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 34 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 17:04:47 Desktop hp[3301]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 17:04:48 Desktop python: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 17:04:48 Desktop udev-configure-printer: URI matches without serial number: usb://Samsung/ML-1250
Sep 25 17:04:48 Desktop udev-configure-printer: No serial number URI matches so using those without
Sep 25 17:04:48 Desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 17:04:48 Desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 17:04:48 Desktop udev-configure-printer: Queue ipp://localhost:631/printers/Samsung-ML-1250 has matching device URI
Sep 25 17:04:48 Desktop udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/Samsung-ML-1250
4)
$ lsusb
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 034: ID 04e8:300e Samsung Electronics Co., Ltd Laser Printer
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
5)
printing second job:
Sep 25 17:10:51 Desktop kernel: [ 9549.212087] usblp0: removed
Sep 25 17:11:07 Desktop kernel: [ 9564.456050] usb 2-1: reset full-speed USB device number 34 using uhci_hcd
Sep 25 17:11:07 Desktop kernel: [ 9564.576037] usb 2-1: device descriptor read/64, error -71
Sep 25 17:11:07 Desktop kernel: [ 9564.800038] usb 2-1: device descriptor read/64, error -71
Sep 25 17:11:07 Desktop kernel: [ 9565.016074] usb 2-1: reset full-speed USB device number 34 using uhci_hcd
Sep 25 17:11:07 Desktop kernel: [ 9565.136041] usb 2-1: device descriptor read/64, error -71
Sep 25 17:11:08 Desktop kernel: [ 9565.360029] usb 2-1: device descriptor read/64, error -71
Sep 25 17:11:08 Desktop kernel: [ 9565.576031] usb 2-1: reset full-speed USB device number 34 using uhci_hcd
Sep 25 17:11:08 Desktop kernel: [ 9565.984045] usb 2-1: device not accepting address 34, error -71
Sep 25 17:11:08 Desktop kernel: [ 9566.096041] usb 2-1: reset full-speed USB device number 34 using uhci_hcd
Sep 25 17:11:09 Desktop kernel: [ 9566.504074] usb 2-1: device not accepting address 34, error -71
Sep 25 17:11:09 Desktop kernel: [ 9566.504463] usb 2-1: USB disconnect, device number 34
Sep 25 17:11:09 Desktop udev-configure-printer: remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 17:11:09 Desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 17:11:09 Desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 17:11:09 Desktop udev-configure-printer: Queue ipp://localhost:631/printers/Samsung-ML-1250 has matching device URI
Sep 25 17:11:09 Desktop udev-configure-printer: Disabled printer ipp://localhost:631/printers/Samsung-ML-1250 as the corresponding device was unplugged or turned off
Sep 25 17:11:09 Desktop kernel: [ 9566.616096] usb 2-1: new full-speed USB device number 35 using uhci_hcd
Sep 25 17:11:09 Desktop kernel: [ 9566.804145] usb 2-1: New USB device found, idVendor=04e8, idProduct=300e
Sep 25 17:11:09 Desktop kernel: [ 9566.804152] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 25 17:11:09 Desktop kernel: [ 9566.804156] usb 2-1: Product: Samsung Laser Printer ML-1250
Sep 25 17:11:09 Desktop kernel: [ 9566.804159] usb 2-1: Manufacturer: Samsung Electronics Co., Ltd.
Sep 25 17:11:09 Desktop kernel: [ 9566.811364] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 35 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 17:11:09 Desktop mtp-probe: checking bus 2, device 35: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1"
Sep 25 17:11:09 Desktop mtp-probe: bus: 2, device: 35 was not an MTP device
Sep 25 17:11:09 Desktop udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 17:11:09 Desktop udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 17:11:09 Desktop udev-configure-printer: MFG:Samsung MDL:ML-1250 SERN:- serial:-
Sep 25 17:11:10 Desktop kernel: [ 9567.955432] usblp0: removed
Sep 25 17:11:10 Desktop kernel: [ 9567.976861] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 35 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 17:11:10 Desktop hp[3399]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 17:11:11 Desktop python: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 17:11:11 Desktop udev-configure-printer: URI matches without serial number: usb://Samsung/ML-1250
Sep 25 17:11:11 Desktop udev-configure-printer: No serial number URI matches so using those without
Sep 25 17:11:11 Desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 17:11:11 Desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 17:11:11 Desktop udev-configure-printer: Queue ipp://localhost:631/printers/Samsung-ML-1250 has matching device URI
Sep 25 17:11:11 Desktop udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/Samsung-ML-1250
6)
$ lsusb
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 035: ID 04e8:300e Samsung Electronics Co., Ltd Laser Printer
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
--
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/1495971
Title:
Samsung ML-1250 prints only first job and then disconnects
Status in linux package in Ubuntu:
Confirmed
Bug description:
We have:
lsusb
Bus 004 Device 009: ID 04e8:300e Samsung Electronics Co., Ltd Laser Printer
Just connected printer and started to print first job:
tail -f /var/log/syslog
Sep 15 14:50:18 desktop udev-configure-printer: URI matches without serial number: usb://Samsung/ML-1250
Sep 15 14:50:18 desktop udev-configure-printer: No serial number URI matches so using those without
Sep 15 14:50:18 desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 15 14:50:18 desktop udev-configure-printer: URI of print queue: usb://HP/LaserJet%201200?serial=00CNCF203187, normalized: laserjet 1200 serial 00cncf203187
Sep 15 14:50:18 desktop udev-configure-printer: About to add queue for usb://Samsung/ML-1250
Sep 15 14:50:20 desktop udev-add-printer: add_queue: URIs=['usb://Samsung/ML-1250']
Sep 15 14:50:20 desktop udev-add-printer: D-Bus method call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.NewPrinterNotification was not provided by any .service files
Sep 15 14:50:23 desktop udev-add-printer: PPD: foomatic-db-compressed-ppds:0/ppd/foomatic-ppd/Samsung-ML-1250-pxlmono.ppd; Status: 0
Sep 15 14:50:24 desktop colord: Profile added: ML-1250-Gray..
Sep 15 14:50:24 desktop colord: Device added: cups-ML-1250
Sep 15 14:53:51 desktop kernel: [22676.268686] usblp0: removed
Sep 15 14:54:03 desktop kernel: [22688.117044] usblp 4-2:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 15 14:54:03 desktop kernel: [22688.117121] usblp0: removed
Sep 15 14:54:03 desktop kernel: [22688.228040] usb 4-2: reset full-speed USB device number 4 using uhci_hcd
Sep 15 14:54:03 desktop kernel: [22688.348039] usb 4-2: device descriptor read/64, error -71
Sep 15 14:54:03 desktop kernel: [22688.572040] usb 4-2: device descriptor read/64, error -71
Sep 15 14:54:04 desktop kernel: [22688.788044] usb 4-2: reset full-speed USB device number 4 using uhci_hcd
Sep 15 14:54:04 desktop kernel: [22688.908039] usb 4-2: device descriptor read/64, error -71
Sep 15 14:54:04 desktop kernel: [22689.132029] usb 4-2: device descriptor read/64, error -71
Sep 15 14:54:04 desktop kernel: [22689.348038] usb 4-2: reset full-speed USB device number 4 using uhci_hcd
Sep 15 14:54:05 desktop kernel: [22689.756029] usb 4-2: device not accepting address 4, error -71
Sep 15 14:54:05 desktop kernel: [22689.868029] usb 4-2: reset full-speed USB device number 4 using uhci_hcd
Sep 15 14:54:05 desktop kernel: [22690.276040] usb 4-2: device not accepting address 4, error -71
Sep 15 14:54:05 desktop kernel: [22690.276130] usblp: can't set desired altsetting 0 on interface 0
Sep 15 14:54:05 desktop kernel: [22690.276265] usb 4-2: USB disconnect, device number 4
Sep 15 14:54:05 desktop udev-configure-printer: remove /devices/pci0000:00/0000:00:1a.1/usb4/4-2
Sep 15 14:54:05 desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 15 14:54:05 desktop udev-configure-printer: URI of print queue: usb://HP/LaserJet%201200?serial=00CNCF203187, normalized: laserjet 1200 serial 00cncf203187
Sep 15 14:54:05 desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 15 14:54:05 desktop udev-configure-printer: Queue ipp://localhost:631/printers/ML-1250 has matching device URI
Sep 15 14:54:05 desktop udev-configure-printer: Disabled printer ipp://localhost:631/printers/ML-1250 as the corresponding device was unplugged or turned off
Sep 15 14:54:05 desktop kernel: [22690.388029] usb 4-2: new full-speed USB device number 5 using uhci_hcd
Sep 15 14:54:05 desktop kernel: [22690.508023] usb 4-2: device descriptor read/64, error -71
Sep 15 14:54:06 desktop kernel: [22690.732024] usb 4-2: device descriptor read/64, error -71
Sep 15 14:54:06 desktop kernel: [22690.948037] usb 4-2: new full-speed USB device number 6 using uhci_hcd
Sep 15 14:54:06 desktop kernel: [22691.068035] usb 4-2: device descriptor read/64, error -71
Sep 15 14:54:06 desktop kernel: [22691.292039] usb 4-2: device descriptor read/64, error -71
Sep 15 14:54:06 desktop kernel: [22691.508031] usb 4-2: new full-speed USB device number 7 using uhci_hcd
Sep 15 14:54:07 desktop kernel: [22691.916031] usb 4-2: device not accepting address 7, error -71
Sep 15 14:54:07 desktop kernel: [22692.028039] usb 4-2: new full-speed USB device number 8 using uhci_hcd
Sep 15 14:54:07 desktop kernel: [22692.436036] usb 4-2: device not accepting address 8, error -71
Sep 15 14:54:07 desktop kernel: [22692.436071] usb usb4-port2: unable to enumerate USB device
Sep 15 14:55:01 desktop CRON[6650]: (master) CMD (~/temp/ipv6save)
Sep 15 14:55:04 desktop CRON[6649]: (CRON) info (No MTA installed, discarding output)
So as we see it prints first job and then disconnects for some unknown
reason. lsusb also confirms it:
lsusb
Bus 002 Device 002: ID 0bda:0111 Realtek Semiconductor Corp. RTS5111 Card Reader Controller
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
The only workaround is to turn off and on the printer. I've checked it
on two different desktops with the same result. Also I've tried
another cable but it not helped.
Some additional info:
Kubuntu/Xubuntu 14.04.3 LTS
Linux 3.19.0-28 x86_64
Tried Samsung ML-1250 Foomatic/pxlmono recommended driver
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: udev 204-5ubuntu20.13
ProcVersionSignature: Ubuntu 3.19.0-28.30~14.04.1-generic 3.19.8-ckt5
Uname: Linux 3.19.0-28-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.13
Architecture: amd64
CurrentDesktop: KDE
CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
CustomUdevRuleFiles: 60-ssd-scheduler.rules
Date: Tue Sep 15 15:12:00 2015
InstallationDate: Installed on 2014-04-01 (531 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140331)
MachineType: Hewlett-Packard HP Compaq dc7800p Small Form Factor
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-3.19.0-28-generic root=UUID=a8420fcb-26e9-480c-8cb0-7d33d308db8c ro rootflags=subvol=@ quiet splash vt.handoff=7
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/21/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 786F1 v01.32
dmi.board.asset.tag: CZC81123H7
dmi.board.name: 0AA8h
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: CZC81123H7
dmi.chassis.type: 4
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr786F1v01.32:bd07/21/2011:svnHewlett-Packard:pnHPCompaqdc7800pSmallFormFactor:pvr:rvnHewlett-Packard:rn0AA8h:rvr:cvnHewlett-Packard:ct4:cvr:
dmi.product.name: HP Compaq dc7800p Small Form Factor
dmi.sys.vendor: Hewlett-Packard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1495971/+subscriptions