← Back to team overview

kernel-packages team mailing list archive

[Bug 1428356] Re: USB printer will not print after boot

 

Christopher Penalver, after bringing my system back up this morning
because I ran memtest all night to ensure that my memory was good to add
that point to another bug report I noticed what I've extracted from my
syslog and put into the attached files. That way you can look at them
and tell me whether it's a kernel issue, CUPS issue or something else
because I have no idea. As far as what kernel worked, I can't remember I
currently have 3.13.0-44, -45, -46, 3.19.0 and 4.0rc2 installed on my
system.  I currently have this kernel loaded - 4.0.0-040000rc2-generic
#201503031836 SMP Tue Mar 3 18:37:51 UTC 2015 x86_64 x86_64 x86_64
GNU/Linux and it will not print. I'm going to post this and my
attachments then boot into 3.13.0 and come back and comment.


** Attachment added: "cups.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1428356/+attachment/4339491/+files/cups.txt

-- 
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/1428356

Title:
  USB printer will not print after boot

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  After a reboot due to a kernel update my HP1020 printer is not
  initialized. This is shown in my syslog:

  Mar  4 15:32:42 localhost kernel: [  178.196280] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
  Mar  4 15:32:42 localhost kernel: [  178.198667] usblp0: removed
  Mar  4 15:32:53 localhost kernel: [  189.196356] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
  Mar  4 15:32:53 localhost kernel: [  189.198743] usblp0: removed
  Mar  4 15:33:04 localhost kernel: [  200.196869] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
  Mar  4 15:33:04 localhost kernel: [  200.199629] usblp0: removed
  Mar  4 15:33:15 localhost kernel: [  211.200586] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

  This just continues on for hundreds of entries until I unplug and
  replug the printer back it and recycle power to it several times. It
  will then eventually print a test page via 'CUPS'.

  Some other information from my syslog

  Mar  4 15:42:10 localhost kernel: [  746.297929] usblp: can't set desired altsetting 0 on interface 0
  Mar  4 15:42:10 localhost kernel: [  746.488804] usb 1-3.5: USB disconnect, device number 5
  Mar  4 15:42:14 localhost kernel: [  750.528166] usb 1-3.5: new high-speed USB device number 7 using ehci-pci
  Mar  4 15:42:16 localhost udev-configure-printer: remove /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.5
  Mar  4 15:42:16 localhost colord: device removed: sysfs-Hewlett-Packard-HP_LaserJet_1020
  Mar  4 15:42:23 localhost kernel: [  758.976137] usb 1-3.5: new high-speed USB device number 8 using ehci-pci
  Mar  4 15:42:23 localhost kernel: [  759.088384] usb 1-3.5: New USB device found, idVendor=03f0, idProduct=2b17
  Mar  4 15:42:23 localhost kernel: [  759.088389] usb 1-3.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  Mar  4 15:42:23 localhost kernel: [  759.088392] usb 1-3.5: Product: HP LaserJet 1020
  Mar  4 15:42:23 localhost kernel: [  759.088394] usb 1-3.5: Manufacturer: Hewlett-Packard
  Mar  4 15:42:23 localhost kernel: [  759.088396] usb 1-3.5: SerialNumber: JL1F0DC
  Mar  4 15:42:23 localhost kernel: [  759.091958] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 8 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
  Mar  4 15:42:23 localhost logger: loading HP Device 001 008
  Mar  4 15:42:23 localhost udev-configure-printer: add /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.5
  Mar  4 15:42:23 localhost udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.5
  Mar  4 15:42:23 localhost udev-configure-printer: MFG:Hewlett-Packard MDL:HP LaserJet 1020 SERN:- serial:JL1F0DC
  Mar  4 15:42:24 localhost kernel: [  760.148568] usblp0: removed
  Mar  4 15:42:24 localhost kernel: [  760.159830] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 8 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
  Mar  4 15:42:24 localhost udev-configure-printer: URI contains USB serial number
  Mar  4 15:42:24 localhost udev-configure-printer: URI match: usb://HP/LaserJet%201020?serial=JL1F0DC
  Mar  4 15:42:24 localhost udev-configure-printer: SERN field matches USB serial number
  Mar  4 15:42:24 localhost udev-configure-printer: URI match: hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
  Mar  4 15:42:24 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201020?serial=JL1F0DC, normalized: laserjet 1020 serial jl1f0dc
  Mar  4 15:42:24 localhost udev-configure-printer: URI of print queue: usb://HP/LaserJet%201020?serial=JL1F0DC, normalized: laserjet 1020 serial jl1f0dc
  Mar  4 15:42:24 localhost udev-configure-printer: Queue ipp://localhost:631/printers/HP-LaserJet-1020 has matching device URI
  Mar  4 15:42:24 localhost udev-configure-printer: URI of detected printer: hp:/usb/HP_LaserJet_1020?serial=JL1F0DC, normalized: laserjet 1020 serial jl1f0dc
  Mar  4 15:42:24 localhost udev-configure-printer: Queue ipp://localhost:631/printers/HP-LaserJet-1020 has matching device URI
  Mar  4 15:42:26 localhost kernel: [  762.327990] usblp0: removed
  Mar  4 15:42:30 localhost colord: Device added: sysfs-Hewlett-Packard-HP_LaserJet_1020

  chris@localhost:~$ lsb_release -rd
  Description:	Ubuntu 14.04.2 LTS
  Release:	14.04

  Kernel version 3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:23:39 UTC
  2015 x86_64 x86_64 x86_64 GNU/Linux

  chris@localhost:~$ lsusb
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 008 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
  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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 001 Device 006: ID 1058:0830 Western Digital Technologies, Inc. 
  Bus 001 Device 008: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
  Bus 001 Device 004: ID 0bc2:2120 Seagate RSS LLC 
  Bus 001 Device 003: ID 050d:0237 Belkin Components F5U237 USB 2.0 7-Port Hub
  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 002: ID 1241:1166 Belkin MI-2150 Trust Mouse
  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

  chris@localhost:~$ hp-info -i

  HP Linux Imaging and Printing System (ver. 3.15.2)
  Device Information Utility ver. 5.2

  Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.

  error: No device found that support this feature.
  chris@localhost:~$ hp-makeuri 1:008

  HP Linux Imaging and Printing System (ver. 3.15.2)
  Device URI Creation Utility ver. 5.0

  Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.

  error: Device not found
  chris@localhost:~$ lpinfo -v
  network ipp14
  network ipps
  network https
  network ipp
  serial serial:/dev/ttyS0?baud=115200
  network http
  direct hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
  direct usb://HP/LaserJet%201020?serial=JL1F0DC
  network smb
  network socket
  direct hpfax
  network lpd
  direct parallel:/dev/lp0

  What should have happened - The printer should print after booting without having to go through a bunch of steps to get it to work. It has worked flawlessly in previous kernel versions.
  --- 
  ApportVersion: 2.14.1-0ubuntu3.7
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  chris      3929 F.... pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=bb329dc0-0642-4b6a-876a-12c2f02fb7f6
  InstallationDate: Installed on 2014-10-24 (134 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: Dell Inc. OptiPlex 780
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-46-generic root=UUID=4254a7e9-429b-4f53-a08c-ae7ff839b98f ro drm.debug=0x66
  ProcVersionSignature: Ubuntu 3.13.0-46.77-generic 3.13.11-ckt15
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-46-generic N/A
   linux-backports-modules-3.13.0-46-generic  N/A
   linux-firmware                             1.127.11
  RfKill:
   
  Tags:  trusty
  Uname: Linux 3.13.0-46-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 08/06/2013
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A15
  dmi.board.name: 0C27VV
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.asset.tag: LE0006476
  dmi.chassis.type: 6
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA15:bd08/06/2013:svnDellInc.:pnOptiPlex780:pvr:rvnDellInc.:rn0C27VV:rvrA01:cvnDellInc.:ct6:cvr:
  dmi.product.name: OptiPlex 780
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1428356/+subscriptions