← Back to team overview

desktop-packages team mailing list archive

[Bug 1495971] Re: Samsung ML-1250 prints only first job and then disconnects

 

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1495971

Title:
  Samsung ML-1250 prints only first job and then disconnects

Status in cups package in Ubuntu:
  Incomplete
Status in linux package in Ubuntu:
  Incomplete

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/cups/+bug/1495971/+subscriptions