← Back to team overview

kernel-packages team mailing list archive

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

 

$ 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 desktop kernel: [  605.464687] usb 2-1: New USB device found, idVendor=04e8, idProduct=300e
Sep 25 12:48:27 desktop kernel: [  605.464694] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 25 12:48:27 desktop kernel: [  605.464698] usb 2-1: Product: Samsung Laser Printer ML-1250
Sep 25 12:48:27 desktop kernel: [  605.464702] usb 2-1: Manufacturer: Samsung Electronics Co., Ltd.
Sep 25 12:48:27 desktop kernel: [  605.471791] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 12:48:27 desktop mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1"
Sep 25 12:48:27 desktop mtp-probe: bus: 2, device: 3 was not an MTP device
Sep 25 12:48:27 desktop udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 12:48:27 desktop udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 12:48:27 desktop udev-configure-printer: MFG:Samsung MDL:ML-1250 SERN:- serial:-

Let's check if printer connected:

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

Starting print second job:

Sep 25 12:48:29 desktop kernel: [  606.521800] usblp0: removed
Sep 25 12:48:29 desktop kernel: [  606.528290] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 12:48:29 desktop hp[2702]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 12:48:29 desktop python: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 12:48:29 desktop udev-configure-printer: URI matches without serial number: usb://Samsung/ML-1250
Sep 25 12:48:29 desktop udev-configure-printer: No serial number URI matches so using those without
Sep 25 12:48:29 desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 12:48:29 desktop udev-configure-printer: URI of print queue: usb://Canon/MF3200%20Series?serial=SBF690123007A&interface=1, normalized: canon mf3200 series serial sbf690123007a interface 1
Sep 25 12:48:29 desktop udev-configure-printer: URI of print queue: usb://HP/LaserJet%201000, normalized: laserjet 1000
Sep 25 12:48:29 desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 12:48:29 desktop udev-configure-printer: Queue ipp://localhost:631/printers/ML-1250 has matching device URI
Sep 25 12:49:34 desktop kernel: [  671.900788] usblp0: removed
Sep 25 12:49:45 desktop kernel: [  682.732911] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 12:49:45 desktop kernel: [  682.733025] usblp0: removed
Sep 25 12:49:45 desktop kernel: [  682.844040] usb 2-1: reset full-speed USB device number 3 using uhci_hcd
Sep 25 12:49:45 desktop kernel: [  682.964038] usb 2-1: device descriptor read/64, error -71
Sep 25 12:49:45 desktop kernel: [  683.188034] usb 2-1: device descriptor read/64, error -71
Sep 25 12:49:45 desktop kernel: [  683.404038] usb 2-1: reset full-speed USB device number 3 using uhci_hcd
Sep 25 12:49:46 desktop kernel: [  683.524043] usb 2-1: device descriptor read/64, error -71
Sep 25 12:49:46 desktop kernel: [  683.748054] usb 2-1: device descriptor read/64, error -71
Sep 25 12:49:46 desktop kernel: [  683.964036] usb 2-1: reset full-speed USB device number 3 using uhci_hcd
Sep 25 12:49:46 desktop kernel: [  684.372029] usb 2-1: device not accepting address 3, error -71
Sep 25 12:49:46 desktop kernel: [  684.484040] usb 2-1: reset full-speed USB device number 3 using uhci_hcd
Sep 25 12:49:47 desktop kernel: [  684.892019] usb 2-1: device not accepting address 3, error -71
Sep 25 12:49:47 desktop kernel: [  684.892095] usblp: can't set desired altsetting 0 on interface 0
Sep 25 12:49:47 desktop kernel: [  684.892243] usb 2-1: USB disconnect, device number 3
Sep 25 12:49:47 desktop udev-configure-printer: remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 12:49:47 desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 12:49:47 desktop udev-configure-printer: URI of print queue: usb://Canon/MF3200%20Series?serial=SBF690123007A&interface=1, normalized: canon mf3200 series serial sbf690123007a interface 1
Sep 25 12:49:47 desktop udev-configure-printer: URI of print queue: usb://HP/LaserJet%201000, normalized: laserjet 1000
Sep 25 12:49:47 desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 12:49:47 desktop udev-configure-printer: Queue ipp://localhost:631/printers/ML-1250 has matching device URI
Sep 25 12:49:47 desktop udev-configure-printer: Disabled printer ipp://localhost:631/printers/ML-1250 as the corresponding device was unplugged or turned off
Sep 25 12:49:47 desktop kernel: [  685.004045] usb 2-1: new full-speed USB device number 4 using uhci_hcd
Sep 25 12:49:47 desktop kernel: [  685.192299] usb 2-1: New USB device found, idVendor=04e8, idProduct=300e
Sep 25 12:49:47 desktop kernel: [  685.192307] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 25 12:49:47 desktop kernel: [  685.192311] usb 2-1: Product: Samsung Laser Printer ML-1250
Sep 25 12:49:47 desktop kernel: [  685.192314] usb 2-1: Manufacturer: Samsung Electronics Co., Ltd.
Sep 25 12:49:47 desktop kernel: [  685.199414] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 12:49:47 desktop mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1"
Sep 25 12:49:47 desktop mtp-probe: bus: 2, device: 4 was not an MTP device
Sep 25 12:49:47 desktop udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 12:49:47 desktop udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1
Sep 25 12:49:47 desktop udev-configure-printer: MFG:Samsung MDL:ML-1250 SERN:- serial:-
Sep 25 12:49:48 desktop kernel: [  686.244458] usblp0: removed
Sep 25 12:49:48 desktop kernel: [  686.252125] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300E
Sep 25 12:49:48 desktop hp[2764]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 12:49:48 desktop python: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 25 12:49:48 desktop udev-configure-printer: URI matches without serial number: usb://Samsung/ML-1250
Sep 25 12:49:48 desktop udev-configure-printer: No serial number URI matches so using those without
Sep 25 12:49:48 desktop udev-configure-printer: URI of detected printer: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 12:49:48 desktop udev-configure-printer: URI of print queue: usb://Canon/MF3200%20Series?serial=SBF690123007A&interface=1, normalized: canon mf3200 series serial sbf690123007a interface 1
Sep 25 12:49:48 desktop udev-configure-printer: URI of print queue: usb://HP/LaserJet%201000, normalized: laserjet 1000
Sep 25 12:49:48 desktop udev-configure-printer: URI of print queue: usb://Samsung/ML-1250, normalized: samsung ml 1250
Sep 25 12:49:48 desktop udev-configure-printer: Queue ipp://localhost:631/printers/ML-1250 has matching device URI
Sep 25 12:49:48 desktop udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/ML-1250

Successfully printed second job. Also tried third job and it was printed
too.

So, it seems with Kernel 3.16 all is ok, except of error messages in the
output. May be someone will explain me what does they means (about
device descriptor etc.).

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