Samsung ML-1250 prints only first job and then disconnects

Bug #1495971 reported by Gannet
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Expired
Undecided
Unassigned
linux (Ubuntu)
Expired
Medium
Unassigned

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

Revision history for this message
Gannet (ken20001) wrote :
affects: systemd (Ubuntu) → udev (Ubuntu)
Revision history for this message
Gannet (ken20001) wrote :
Revision history for this message
Gannet (ken20001) wrote :
Martin Pitt (pitti)
affects: udev (Ubuntu) → system-config-printer (Ubuntu)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

For me it looks like some bad interference between the USB printer and the kernel. Adding kernel task ...

Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote : Re: Samsung ML-1250 ptints only first job and then disconnects

Gannet, could you please test the latest upstream kernel available from the very top line at the top of the page from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D (the release names are irrelevant for testing, and please do not test the daily folder)? Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds . This will allow additional upstream developers to examine the issue.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, Y, and Z are numbers corresponding to the kernel version.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Once testing of the latest upstream kernel is complete, please mark this report's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-1.32
no longer affects: system-config-printer (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Please also check the USB compatibility of your printer following the instructions of the section "USB printer does not print or prints garbage" on https://wiki.ubuntu.com/DebuggingPrintingProblems.

summary: - Samsung ML-1250 ptints only first job and then disconnects
+ Samsung ML-1250 prints only first job and then disconnects
Revision history for this message
Gannet (ken20001) wrote :
Download full text (4.5 KiB)

$ 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 002: ID 04e8:300e Samsung Electronics Co., Ltd Laser Printer
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

$ uname -a
Linux desktop 4.3.0-040300rc2-generic #201509201830 SMP Sun Sep 20 22:33:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Printing first time:

$ tail -f /var/log/syslog
Sep 22 13:46:44 desktop rtkit-daemon[2337]: Successfully made thread 2386 of process 2386 (n/a) owned by '1001' high priority at nice level -11.
Sep 22 13:46:44 desktop rtkit-daemon[2337]: Supervising 6 threads of 4 processes of 1 users.
Sep 22 13:46:44 desktop pulseaudio[2386]: [pulseaudio] pid.c: Daemon already running.
Sep 22 13:46:44 desktop rtkit-daemon[2337]: Successfully made thread 2388 of process 2388 (n/a) owned by '1001' high priority at nice level -11.
Sep 22 13:46:44 desktop rtkit-daemon[2337]: Supervising 7 threads of 5 processes of 1 users.
Sep 22 13:46:44 desktop pulseaudio[2388]: [pulseaudio] pid.c: Daemon already running.
Sep 22 13:46:51 desktop dbus[681]: [system] Activating service name='org.debian.AptXapianIndex' (using servicehelper)
Sep 22 13:46:51 desktop dbus[681]: [system] Successfully activated service 'org.debian.AptXapianIndex'
Sep 22 13:50:01 desktop CRON[2723]: (master) CMD (~/temp/ipv6save)
Sep 22 13:50:09 desktop CRON[2722]: (CRON) info (No MTA installed, discarding output)
Sep 22 13:51:25 desktop kernel: [ 356.362355] usblp0: removed
Sep 22 13:51:39 desktop kernel: [ 370.798294] usblp 2-2:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 22 13:51:39 desktop kernel: [ 370.798398] usblp0: removed
Sep 22 13:51:39 desktop kernel: [ 370.908066] usb 2-2: reset full-speed USB device number 2 using uhci_hcd
Sep 22 13:51:39 desktop kernel: [ 371.028039] usb 2-2: device descriptor read/64, error -71
Sep 22 13:51:40 desktop kernel: [ 371.252025] usb 2-2: device descriptor read/64, error -71
Sep 22 13:51:40 desktop kernel: [ 371.468026] usb 2-2: reset full-speed USB device number 2 using uhci_hcd
Sep 22 13:51:40 desktop kernel: [ 371.588024] usb 2-2: device descriptor read/64, error -71
Sep 22 13:51:40 desktop kernel: [ 371.812047] usb 2-2: device descriptor read/64, error -71
Sep 22 13:51:40 desktop kernel: [ 372.028028] usb 2-2: reset full-speed USB device number 2 using uhci_hcd
Sep 22 13:51:41 desktop kernel: [ 372.436027] usb 2-2: device not accepting address 2, error -71
Sep 22 13:51:41 desktop kernel: [ 372.548026] usb 2-2: reset full-speed USB device number 2 using uhci_hcd
Sep 22 13:51:41 desktop kernel: [ 372.956028] usb 2-2: device not accepting address 2, error -71
Sep 22 13:51:41 desktop kernel: [ 372.956094] usb 2-2: USB disconnect, device number 2
Sep 22 13:51:41 desktop kernel: [ 372.956133] usblp: can't set desired altsetting 0 on interface 0
Sep 22 13:51:41 desktop udev-configure-printer: remove /devices/pci0000:00/0000:00:1d.0/usb2/2-2
Sep 22 13:51:41 desktop kernel: [ 373.068029] u...

Read more...

tags: added: kernel-bug-exists-upstream
tags: added: kernel-bug-exists-upstream-4.3-rc2
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Gannet, did this issue not occur in a kernel series prior to 3.19?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Gannet (ken20001) wrote :

Also I've checked this:
>https://wiki.ubuntu.com/DebuggingPrintingProblems.
but it was not helped.

Revision history for this message
penalvch (penalvch) wrote :

Gannet, your post in #10 wasn't relevant to my question in #9.

Revision history for this message
Gannet (ken20001) wrote :

That was the answer not to question #9 but to #7. In a few days I'll be able to check Kernel 3.16 and give you relevant to #9 answer. This is not my home printer.

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

Gannet, you did not answer my question of comment #7. Please follow the instructions here:

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

Revision history for this message
Gannet (ken20001) wrote :

Till Kamppeter, I answered that it has no changes.
>$ lpadmin -p <queue> -o usb-unidir-default=true
>Does printing work correctly now?
no

>$ lpadmin -p <queue> -o usb-no-reattach-default=true
>Does printing work correctly for you now?
again no

All because it is disconnected but even when run those commands before first printing, printer disconnects anyway after it. So those command doesn't helps.

Revision history for this message
Gannet (ken20001) wrote :
Download full text (10.8 KiB)

$ uname -a
Linux desktop 3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:36:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ 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 003: ID 04e8:300e Samsung Electronics Co., Ltd Laser Printer
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Now we starting printing first job:

tail -f /var/log/syslog
Sep 25 12:39:38 desktop pulseaudio[2461]: [pulseaudio] pid.c: Daemon already running.
Sep 25 12:39:38 desktop rtkit-daemon[2396]: Successfully made thread 2463 of process 2463 (n/a) owned by '1001' high priority at nice level -11.
Sep 25 12:39:38 desktop rtkit-daemon[2396]: Supervising 7 threads of 5 processes of 1 users.
Sep 25 12:39:38 desktop pulseaudio[2463]: [pulseaudio] pid.c: Daemon already running.
Sep 25 12:39:46 desktop dbus[643]: [system] Activating service name='org.debian.AptXapianIndex' (using servicehelper)
Sep 25 12:39:48 desktop dbus[643]: [system] Successfully activated service 'org.debian.AptXapianIndex'
Sep 25 12:40:01 desktop CRON[2566]: (master) CMD (~/temp/ipv6save)
Sep 25 12:40:11 desktop CRON[2565]: (CRON) info (No MTA installed, discarding output)
Sep 25 12:45:01 desktop CRON[2602]: (master) CMD (~/temp/ipv6save)
Sep 25 12:45:08 desktop CRON[2601]: (CRON) info (No MTA installed, discarding output)
Sep 25 12:48:13 desktop kernel: [ 590.960834] usblp0: removed
Sep 25 12:48:25 desktop kernel: [ 603.000095] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 12:48:25 desktop kernel: [ 603.000205] usblp0: removed
Sep 25 12:48:25 desktop kernel: [ 603.112040] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
Sep 25 12:48:25 desktop kernel: [ 603.232034] usb 2-1: device descriptor read/64, error -71
Sep 25 12:48:25 desktop kernel: [ 603.456032] usb 2-1: device descriptor read/64, error -71
Sep 25 12:48:26 desktop kernel: [ 603.672032] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
Sep 25 12:48:26 desktop kernel: [ 603.792027] usb 2-1: device descriptor read/64, error -71
Sep 25 12:48:26 desktop kernel: [ 604.016033] usb 2-1: device descriptor read/64, error -71
Sep 25 12:48:26 desktop kernel: [ 604.232032] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
Sep 25 12:48:27 desktop kernel: [ 604.640020] usb 2-1: device not accepting address 2, error -71
Sep 25 12:48:27 desktop kernel: [ 604.752036] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
Sep 25 12:48:27 desktop kernel: [ 605.164021] usb 2-1: device not accepting address 2, error -71
Sep 25 12:48:27 desktop kernel: [ 605.164099] usblp: can't set desired altsetting 0 on interface 0
Sep 25 12:48:27 desktop kernel: [ 605.164255] usb 2-1: USB disconnect, device number 2
Sep 25 12:48:27 desktop udev-configure-printer: remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 12:48:27 desktop kernel: [ 605.276035] usb 2-1: new full-speed USB device number 3 using uhci_hcd
Sep 25 12:48:27 d...

Revision history for this message
Gannet (ken20001) wrote :

$ uname -a
Linux desktop 3.16.7-031607-generic #201410301735 SMP Thu Oct 30 17:37:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Also is ok.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Gannet (ken20001) wrote :

Look, this is very strange but I recently checked

$ uname -a
Linux desktop 3.19.0-28-generic #30~14.04.1-Ubuntu SMP Tue Sep 1 09:32:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

again and it is not disconnects too. o_O

I don't know what what was changed since last time...

Revision history for this message
Gannet (ken20001) wrote :
Download full text (4.4 KiB)

I took problematic computer to which this printer connected usually and checked it. The problem with it still is:

tail -f /var/log/syslog
Sep 25 14:05:12 Desktop kernel: [ 564.333384] usblp0: removed
Sep 25 14:05:12 Desktop kernel: [ 564.346921] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 14:05:12 Desktop hp[1919]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 14:05:12 Desktop python: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 14:05:12 Desktop udev-configure-printer: URI matches without serial number: usb://Samsung/ML-1250
Sep 25 14:05:12 Desktop udev-configure-printer: No serial number URI matches so using those without
Sep 25 14:05:12 Desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 14:05:12 Desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 14:05:12 Desktop udev-configure-printer: Queue ipp://localhost:631/printers/Samsung-ML-1250 has matching device URI
Sep 25 14:05:12 Desktop udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/Samsung-ML-1250
Sep 25 14:05:45 Desktop kernel: [ 598.140368] usblp0: removed
Sep 25 14:05:58 Desktop kernel: [ 610.321546] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 14:05:58 Desktop kernel: [ 610.321822] usblp0: removed
Sep 25 14:05:58 Desktop kernel: [ 610.432036] usb 2-1: reset full-speed USB device number 3 using uhci_hcd
Sep 25 14:05:58 Desktop kernel: [ 610.552031] usb 2-1: device descriptor read/64, error -71
Sep 25 14:05:58 Desktop kernel: [ 610.776036] usb 2-1: device descriptor read/64, error -71
Sep 25 14:05:58 Desktop kernel: [ 610.992021] usb 2-1: reset full-speed USB device number 3 using uhci_hcd
Sep 25 14:05:58 Desktop kernel: [ 611.112036] usb 2-1: device descriptor read/64, error -71
Sep 25 14:05:59 Desktop kernel: [ 611.336032] usb 2-1: device descriptor read/64, error -71
Sep 25 14:05:59 Desktop kernel: [ 611.552022] usb 2-1: reset full-speed USB device number 3 using uhci_hcd
Sep 25 14:05:59 Desktop kernel: [ 611.960022] usb 2-1: device not accepting address 3, error -71
Sep 25 14:05:59 Desktop kernel: [ 612.072035] usb 2-1: reset full-speed USB device number 3 using uhci_hcd
Sep 25 14:06:00 Desktop kernel: [ 612.484024] usb 2-1: device not accepting address 3, error -71
Sep 25 14:06:00 Desktop kernel: [ 612.484126] usblp: can't set desired altsetting 0 on interface 0
Sep 25 14:06:00 Desktop kernel: [ 612.485466] usb 2-1: USB disconnect, device number 3
Sep 25 14:06:00 Desktop udev-configure-printer: remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 14:06:00 Desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 14:06:00 Desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 14:06:00 Desktop udev-configure-printer: Queue ipp://localhost:631/printers/Samsung-ML-1250 has matching device URI
Sep 25 14:06:00 Desktop udev-configure-printer: Disabled printer ipp://localhost:631...

Read more...

Revision history for this message
penalvch (penalvch) wrote :

Gannet, to clarify, is the problematic computer the HP Compaq dc7800p Small Form Factor?

Also, does kernel 3.16 work with the problematic computer?

tags: added: regression-update
tags: added: needs-bisect
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Gannet (ken20001) wrote :

That time I checked it with HP and then with other no brand-computer all that computers was affected. But now I see that one of three I've checked earlier is not affected. And one, to which this printer connected all the time, is still affected (it's a Foxconn 8657MF-series motherboard).

Revision history for this message
Gannet (ken20001) wrote :

>Gannet, to clarify, is the problematic computer the HP Compaq dc7800p Small Form Factor?
I didn't check with that machine this time.

Revision history for this message
Gannet (ken20001) wrote :

A little update:

$ cancel -a
$ sudo lpadmin -p Samsung-ML-1250 -o usb-no-reattach-default=true

helped and after this two commands it prints well and doesn't disconnects.

Revision history for this message
Gannet (ken20001) wrote :

Should I execute 'ubuntu-bug cups' and write a new report ?
Thanks.

Revision history for this message
Gannet (ken20001) wrote :
Download full text (10.2 KiB)

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:...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Gannet, no need to open a new bug on CUPS. I have added a CUPS task now.

Your printer (Samsung ML-1250) has the USB IDs

ID 04e8:300e Samsung Electronics Co., Ltd Laser Printer

and

lpadmin -p Samsung-ML-1250 -o usb-no-reattach-default=true

fixes the problem for you.

Please first check whether it is solved now for all kernels you have tried. If so, we can close the kernel task.

Then run

lpadmin -p Samsung-ML-1250 -R usb-no-reattach-default

to remove the setting. The problem should occur again.

Now edit the file

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

adding the line

0x04e8 0x300e no-reattach

After saving the file run

cancel -a

and print some jobs. The problem should be gone again.

Please tell your results here.

Changed in cups (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Gannet (ken20001) wrote :

Thank you. I'll do it next week.

Furthermore, could you explain me did this command:

>lpadmin -p Samsung-ML-1250 -o usb-no-reattach-default=true

saves changes only until next rebooting or does it saves changes forever ?

Thanks again.

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

The command

lpadmin -p Samsung-ML-1250 -o usb-no-reattach-default=true

saves the changes forever, the changes are kept also after a reboot.

To undo the changes, you have to run

lpadmin -p Samsung-ML-1250 -R usb-no-reattach-default

The editing of the /usr/share/cups/usb/org.cups.usb-quirks file as I described in my previous comment has the same effect and it also survives reboots.

Revision history for this message
Gannet (ken20001) wrote :

Thank you for your answer. If it saves forever too, then why better to turn off usb reattaching through

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

instead of

lpadmin -p Samsung-ML-1250 -o usb-no-reattach-default=true

 ?

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

The use of /usr/share/cups/usb/org.cups.usb-quirks makes it easier to include printer-model-specific quirk rules into the packaging of Ubuntu. This way on setup of a print queue the lpadmin command does not need to be executed. CUPS already knows how to treat the printer by the /usr/share/cups/usb/org.cups.usb-quirks which is included in the package.

Revision history for this message
Gannet (ken20001) wrote :
Download full text (25.9 KiB)

uname -a
Linux Desktop 3.16.7-031607-generic #201410301735 SMP Thu Oct 30 17:37:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

First time I tested it, it successfully printed 3 jobs and than disconnected. I turned off and on the printer and checked again. This time it successfully printed 5 jobs without disconnection between and after.

$ uname -a
Linux Desktop 3.18.21-031821-generic #201509020527 SMP Wed Sep 2 05:29:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

The issue exist here too: successfully printed first and second jobs but then it disconnected. Here is output:

$ tail -f /var/log/syslog
Oct 3 15:55:37 Desktop colord: Profile added: icc-0383c34650771ce95ef93fe916867725
Oct 3 15:55:37 Desktop colord: Profile added: icc-6ad6d63767ce0393245528ada92f1cb2
Oct 3 15:55:37 Desktop colord: Profile added: icc-c227f46f246694ba9971f270cb61a0c1
Oct 3 15:55:37 Desktop colord: Profile added: icc-b0701c2ccf059287d0b067464df8bda9
Oct 3 15:55:37 Desktop colord: Profile added: icc-ea421e3a65cfa796e2732ce36086e327
Oct 3 15:55:37 Desktop colord: Profile added: icc-353a6bcabda00f04b6988f89126ce6f5
Oct 3 15:55:37 Desktop colord: Profile added: icc-654b99c87e67edb1c1cfb0dcb7fa9d04
Oct 3 15:55:37 Desktop colord: Profile added: Samsung-ML-1250-Gray..
Oct 3 15:55:37 Desktop colord: Device added: cups-Samsung-ML-1250
Oct 3 15:55:57 Desktop blueman-mechanism: Exiting
Oct 3 15:59:01 Desktop kernel: [ 260.620350] usblp0: removed
Oct 3 15:59:12 Desktop kernel: [ 271.696027] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
Oct 3 15:59:12 Desktop kernel: [ 271.816062] usb 2-1: device descriptor read/64, error -71
Oct 3 15:59:12 Desktop kernel: [ 272.040045] usb 2-1: device descriptor read/64, error -71
Oct 3 15:59:12 Desktop kernel: [ 272.256049] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
Oct 3 15:59:12 Desktop kernel: [ 272.376056] usb 2-1: device descriptor read/64, error -71
Oct 3 15:59:13 Desktop kernel: [ 272.600047] usb 2-1: device descriptor read/64, error -71
Oct 3 15:59:13 Desktop kernel: [ 272.816074] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
Oct 3 15:59:13 Desktop kernel: [ 273.228042] usb 2-1: device not accepting address 2, error -71
Oct 3 15:59:13 Desktop kernel: [ 273.340053] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
Oct 3 15:59:14 Desktop kernel: [ 273.748058] usb 2-1: device not accepting address 2, error -71
Oct 3 15:59:14 Desktop kernel: [ 273.748254] usb 2-1: USB disconnect, device number 2
Oct 3 15:59:14 Desktop udev-configure-printer: remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Oct 3 15:59:14 Desktop kernel: [ 273.860050] usb 2-1: new full-speed USB device number 3 using uhci_hcd
Oct 3 15:59:14 Desktop kernel: [ 274.048361] usb 2-1: New USB device found, idVendor=04e8, idProduct=300e
Oct 3 15:59:14 Desktop kernel: [ 274.048369] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 3 15:59:14 Desktop kernel: [ 274.048372] usb 2-1: Product: Samsung Laser Printer ML-1250
Oct 3 15:59:14 Desktop kernel: [ 274.048375] usb 2-1: Manufacturer: Samsung Electronics Co., Ltd.
Oct 3 15:59:14 Desktop kernel: [ 274.056180] usblp...

Changed in linux (Ubuntu):
status: Incomplete → New
Changed in cups (Ubuntu):
status: Incomplete → New
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Gannet (ken20001) wrote :

I checked this printer with windows XP on a system with the same hardware. No problems.

Revision history for this message
Ricardo Biloti (biloti) wrote :
Download full text (3.1 KiB)

I read this full issue report and replies and it seems I am experienced an analogous problem. Should I report the details of my case here or open a new issue?

Here are few initial information:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

uname -a:
Linux mangue 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

lsusb:
Bus 005 Device 025: ID 04e8:3301 Samsung Electronics Co., Ltd ML-1660 Series

/var/log/syslog: (the block below keeps popping out continuously)

Oct 10 20:11:27 mangue kernel: [ 1594.728192] usb 5-2: reset full-speed USB device number 40 using uhci_hcd
Oct 10 20:11:27 mangue kernel: [ 1594.885385] usb 5-2: USB disconnect, device number 40
Oct 10 20:11:27 mangue kernel: [ 1594.885804] usblp1: removed
Oct 10 20:11:27 mangue udev-configure-printer[6009]: remove /devices/pci0000:00/0000:00:1d.0/usb5/5-2
Oct 10 20:11:27 mangue kernel: [ 1595.000098] usb 5-2: new full-speed USB device number 41 using uhci_hcd
Oct 10 20:11:28 mangue kernel: [ 1595.169199] usb 5-2: New USB device found, idVendor=04e8, idProduct=3301
Oct 10 20:11:28 mangue kernel: [ 1595.169209] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 10 20:11:28 mangue kernel: [ 1595.169216] usb 5-2: Product: ML-1660 Series
Oct 10 20:11:28 mangue kernel: [ 1595.169222] usb 5-2: Manufacturer: Samsung Electronics Co., Ltd.
Oct 10 20:11:28 mangue kernel: [ 1595.169227] usb 5-2: SerialNumber: Z5ASBDAZ809914N.
Oct 10 20:11:28 mangue kernel: [ 1595.176325] usblp 5-2:1.0: usblp1: USB Bidirectional printer dev 41 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3301
Oct 10 20:11:28 mangue mtp-probe: checking bus 5, device 41: "/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2"
Oct 10 20:11:28 mangue mtp-probe: bus: 5, device: 41 was not an MTP device
Oct 10 20:11:28 mangue udev-configure-printer[5977]: no corresponding CUPS device found
Oct 10 20:11:28 mangue systemd[1]: Started Automatic USB/Bluetooth printer setup (-devices-pci0000:00-0000:00:1d.0-usb5-5\x2d2).
Oct 10 20:11:28 mangue systemd[1]: printer.target: Unit not needed anymore. Stopping.
Oct 10 20:11:28 mangue systemd[1]: Stopped target Printer.
Oct 10 20:11:28 mangue systemd[1]: Starting Automatic USB/Bluetooth printer setup (-devices-pci0000:00-0000:00:1d.0-usb5-5\x2d2)...
Oct 10 20:11:28 mangue systemd[1]: Reached target Printer.
Oct 10 20:11:28 mangue udev-configure-printer[6029]: add /devices/pci0000:00/0000:00:1d.0/usb5/5-2
Oct 10 20:11:28 mangue udev-configure-printer[6029]: device devpath is /devices/pci0000:00/0000:00:1d.0/usb5/5-2
Oct 10 20:11:28 mangue udev-configure-printer[6029]: MFG:Samsung MDL:ML-1660 Series SERN:- serial:Z5ASBDAZ809914N.

I am using Unified Linux Driver, from Samsung's HP, since the printer was not able to print without it. After installing it, the printer was automatically discovered and I could print one page. After that, the printer goes automatically to disabled state. Re-enabling it does not work, since it is disable few seconds later.

The printer used to work normally up to last week, when my computer was still running Ubuntu 14.04 (and Samsung Linux Driv...

Read more...

Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Gannet,
Thank you for submitting this bug and reporting a problem with cups. You made this bug report some time ago and Ubuntu and cups have been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 1495971
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu and cups better.
G

---
Ubuntu Bug Squad volunteer triager
https://wiki.ubuntu.com/BugSquad

Changed in cups (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
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.