← Back to team overview

kernel-packages team mailing list archive

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

 

Christopher, maybe I'm barking up the wrong tree here.  After booting
yesterday into the 4.0rc kernel without the printer working and then
back to the 3.13.0 kernel with the same result I booted this morning
into 3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:23:39 UTC 2015 x86_64
x86_64 x86_64 GNU/Linux. I had been noticing this during boots but never
paid attention to it:

Mar  8 08:40:10 localhost kernel: [   19.500050] usb 1-3.4: device
descriptor read/64, error -110

With the printer turned on and plugged into my Belkin 7 port USB hub and
an indicator light showing for that port I then run lsusb -v -v -v from
a terminal:

Bus 001 Device 033: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x03f0 Hewlett-Packard
  idProduct          0x2b17 LaserJet 1020
  bcdDevice            1.00
  iManufacturer           1 Hewlett-Packard
  iProduct                2 HP LaserJet 1020
  iSerial                 3 JL1F0DC
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower               98mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

The printer seems to be recognized however I can't print a test page
from the CUPS web interface nor can I print any documents. The HPLIP
popup shows the job starting and stopping however the CUPS interface
shows the job(s) as being held. So, question is Christopher where do I
jump to in trying to debug this or at least find the answer? I've
Googled and even gone so far as shutting down, removing the computer
power cable and waiting a few minutes then bringing it back up again as
was suggested as a fix on one Ubuntu forum.

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