03f0:2b17 USB HP LaserJet 1020 printer will not print after boot

Bug #1428356 reported by chris pollock
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
HPLIP
Invalid
Undecided
Unassigned
hplip (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

After a reboot due to cups related package 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 in, and power cycle 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:~$ 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.

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

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1428356/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
chris pollock (cpollock) wrote :

I have no idea what source package to file this under. I've asked on the #ubuntu-bubs IRC channel almost an hour ago and have received no reply. All I can say that when the issue starts the kernel is referenced.

chris pollock (cpollock)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1428356

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Revision history for this message
chris pollock (cpollock) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
chris pollock (cpollock) wrote : BootDmesg.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : CRDA.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : CurrentDmesg.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : Lspci.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : Lsusb.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : ProcInterrupts.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : ProcModules.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : PulseList.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : UdevDb.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : UdevLog.txt

apport information

Revision history for this message
chris pollock (cpollock) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote : Re: USB printer will not print after boot

chris pollock, thank you for reporting this and helping make Ubuntu better. Could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test 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 bug 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-3.XY-rcZ

Where XY and Z are numbers corresponding to the kernel version.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-3.XY-rcZ

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

Thank you for your understanding.

tags: added: latest-bios-a15 regression-update
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
chris pollock (cpollock) wrote :

I already had this kernel installed - 3.19.0-031900-generic #201502091451 SMP Mon Feb 9 14:52:52 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux, booted into it and the printer did not even attempt to initialize during boot. Attempting to print a test page from the CUPS web interface shows:

processing since
Sat 07 Mar 2015 03:41:37 PM CST
"Waiting for printer to become available."

Should I see what I need to go through to get it to print and report back?

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

chris pollock, the latest mainline kernel is 4.0-rc2 (not 3.19.x).

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
chris pollock (cpollock) wrote :

You're absolutely right, I screwed up again as I sometimes do. Now I believe I'm running the correct kernel - 4.0.0-040000rc2-generic #201503031836 SMP Tue Mar 3 18:37:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux however still did not hear the printer initialize and CUPS still reports

processing since
Sat 07 Mar 2015 04:46:40 PM CST
"Waiting for printer to become available."

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

chris pollock, the next step is to fully commit bisect from the prior working kernel to 3.13.0-46 in order to identify the last good kernel commit, followed immediately by the first bad one. This will allow for a more expedited analysis of the root cause of your issue. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

Please note, finding adjacent kernel versions is not fully commit bisecting.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.0-rc2
tags: added: needs-bisect
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
chris pollock (cpollock) wrote :
Download full text (3.4 KiB)

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

Read more...

Revision history for this message
chris pollock (cpollock) wrote :

Christopher, please void this bug or if I can I need to change it to the CUPS package I believe.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
penalvch (penalvch) wrote :

chris pollock, based on your previously provided information, it is not clear to me how this is a cups issue, when you said you used a prior kernel and the issue didn't happen.

As well, this report is not considered Invalid, as you have an active issue in Ubuntu we are working through.

Hence, could please provide a short sentence detailing which prior kernel specifically this issue didn't happen in?

Changed in linux (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
chris pollock (cpollock) wrote :

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.

Revision history for this message
chris pollock (cpollock) wrote :
Revision history for this message
chris pollock (cpollock) wrote :
Revision history for this message
chris pollock (cpollock) wrote :

Booted into kernel 3.13.0-031300-generic #201401192235 SMP Mon Jan 20 03:36:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
it is not recognized until I turn the printer off then on again as you can see in the two attached files.

Revision history for this message
chris pollock (cpollock) wrote :
Revision history for this message
penalvch (penalvch) wrote :

chris pollock, please answer the following question:
+ If you boot into kernel 3.13.0-44, is this issue reproducible? Please just provide a yes or no answer, no additional attachments, or further information required unless requested.

Revision history for this message
chris pollock (cpollock) wrote :

Yes

Revision history for this message
penalvch (penalvch) wrote :

chris pollock, thank you for providing the requested information.

Could you please advise which date specifically (ex. March 1st, 2015) the printer last worked on?

Revision history for this message
chris pollock (cpollock) wrote : Re: [Bug 1428356] Re: USB printer will not print after boot

On Tue, 2015-03-10 at 01:49 +0000, Christopher M. Penalver wrote:
> chris pollock, thank you for providing the requested information.
>
> Could you please advise which date specifically (ex. March 1st, 2015)
> the printer last worked on?
>
Wednesday, 25 Feb 2015

--
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
20:58:04 up 4 min, 1 user, load average: 1.04, 1.28, 0.60
Ubuntu 14.04.2 LTS, kernel 3.13.0-46-generic

Revision history for this message
penalvch (penalvch) wrote : Re: USB printer will not print after boot

chris pollock, thank you for providing the requested information.

Could you please advise what packages specifically were updated on Wednesday, 25 Feb 2015?

Revision history for this message
chris pollock (cpollock) wrote :
Download full text (3.5 KiB)

Since the 25th of Feb was the last time it was recognized and printed here is what happened on the 26th of Feb:

Start-Date: 2015-02-26 07:44:17
Commandline: aptdaemon role='role-commit-packages' sender=':1.113'
Upgrade: language-pack-gnome-en:amd64 (14.04+20141110, 14.04+20150219), language-pack-gnome-en-base:amd64 (14.04+20140707, 14.04+20150219)
End-Date: 2015-02-26 07:44:37

Start-Date: 2015-02-26 16:28:56
Commandline: aptdaemon role='role-commit-packages' sender=':1.131'
Upgrade: multiarch-support:amd64 (2.19-0ubuntu6.5, 2.19-0ubuntu6.6), cups-core-drivers:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), cups-server-common:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), libcups2-dev:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), libcups2:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), cups-daemon:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), libcupsmime1:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), cups-client:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), libc-dev-bin:amd64 (2.19-0ubuntu6.5, 2.19-0ubuntu6.6), libcupsimage2:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), libc-bin:amd64 (2.19-0ubuntu6.5, 2.19-0ubuntu6.6), libc6:amd64 (2.19-0ubuntu6.5, 2.19-0ubuntu6.6), libc6:i386 (2.19-0ubuntu6.5, 2.19-0ubuntu6.6), cups:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), libcupsimage2-dev:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), cups-bsd:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), libcupscgi1:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), libcupsppdc1:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), libc6-i386:amd64 (2.19-0ubuntu6.5, 2.19-0ubuntu6.6), cups-common:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), cups-ppdc:amd64 (1.7.2-0ubuntu1.2, 1.7.2-0ubuntu1.5), libc6-dbg:amd64 (2.19-0ubuntu6.5, 2.19-0ubuntu6.6), libc6-dev:amd64 (2.19-0ubuntu6.5, 2.19-0ubuntu6.6)
End-Date: 2015-02-26 16:30:05

Start-Date: 2015-02-26 17:03:38
Commandline: aptdaemon role='role-commit-packages' sender=':1.144'
Upgrade: evolution:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), libebook-contacts-1.2-0:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), evolution-data-server-common:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), libebackend-1.2-7:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), libevolution:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), gir1.2-edataserver-1.2:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), evolution-data-server-online-accounts:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), gir1.2-ebook-1.2:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), evolution-plugins:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), libedata-book-1.2-20:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), libcamel-1.2-49:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), gir1.2-ebookcontacts-1.2:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), evolution-common:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), libecal-1.2-16:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), libebook-1.2-14:amd64 (3.12.10-0ubuntu0.1~trusty1, 3.12.11-0ubuntu0.1~trusty1), evolution-data-server:amd64 (3.12.10-0ub...

Read more...

Revision history for this message
penalvch (penalvch) wrote :

chris pollock, could you please attach any missing information following https://wiki.ubuntu.com/DebuggingPrintingProblems ?

tags: removed: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.0-rc2 needs-bisect
affects: linux (Ubuntu) → cups (Ubuntu)
description: updated
summary: - USB printer will not print after boot
+ 03f0:2b17 USB HP LaserJet 1020 printer will not print after boot
Revision history for this message
chris pollock (cpollock) wrote :

Attached is the output of all the commands in the USB printer section of the link you sent above. When you look at the output of 'lsusb' in the attached you can see that the printer is not shown however nor is the indicator lamp lit on my USB Hub (yes, I've tried connecting this printer to each and every USB port on my system whether it's physically on the computer itself or on the 7 Port Hub I have). Once I turn the printer off then on again as shown below it's recognized with 'lsusb' but still will not print.

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 009: ID 1058:0830 Western Digital Technologies, Inc.
Bus 001 Device 020: 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

penalvch (penalvch)
Changed in cups (Ubuntu):
status: Incomplete → New
affects: cups (Ubuntu) → hplip (Ubuntu)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Probably the printer's firmware did not get loaded into the printer during the boot process of your computer. This is usually done by HPLIP, HP's driver package for their printers and multi-function devices. Another possibility is a USB communication problem, somewhere in HP's CUPS backend "hp". In both cases the bug would be in HPLIP, therefore I am moving this report to HPLIP.

Can you please run the command

sudo hp-firmware

and see whether it loads the firmware into your printer and makes it working?

To the HPLIP developers at HP, can you have a look at this? Thanks.

Changed in hplip:
status: New → Incomplete
Changed in hplip (Ubuntu):
status: New → Incomplete
Revision history for this message
chris pollock (cpollock) wrote :

chris@localhost:~$ sudo hp-firmware
[sudo] password for chris:

HP Linux Imaging and Printing System (ver. 3.15.2)
Firmware Download Utility ver. 2.4

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.

Using device: hp:/usb/HP_LaserJet_1020?serial=JL1F0DC

error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
error: Unable to communicate with device or device is in an error state. Please check device setup and try again.

Revision history for this message
penalvch (penalvch) wrote :

chris pollock, to see if this already fixed in Ubuntu, could you please test http://cdimage.ubuntu.com/daily-live/current/ and advise to the results (i.e. just a one-liner confirming it's still an issue, or it's not).

Revision history for this message
chris pollock (cpollock) wrote :

Tested with Live DVD, no it still does not work. I even moved printer cable from USB Hub to USB port on computer and retested. Tried to save Syslog from Live DVD test but could not.

Revision history for this message
chris pollock (cpollock) wrote :

I had to go to an appointment but when I got back I tried again with 14.04.2 LTS to print a test page from the CUPS web interface. Syslog shows:

Mar 12 10:14:10 localhost hp[9034]: io/hpmud/musb.c 151: unable get_string_descriptor -7: Resource temporarily unavailable
Mar 12 10:14:10 localhost hp[9034]: io/hpmud/musb.c 600: invalid product id string ret=-7
Mar 12 10:14:10 localhost hp[9034]: io/hpmud/musb.c 1143: unable to open hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
Mar 12 10:14:10 localhost hp[9034]: prnt/backend/hp.c 824: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
Mar 12 10:14:10 localhost foo2zjs-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=500000000
Mar 12 10:14:10 localhost foo2zjs-wrapper: foo2zjs -r1200x600 -g10200x6600 -p1 -m1 -n1 -d1 -s7 -z1 -u 192x96 -l 192x96 -L 0 -T3 -P

The printers USB cable is plugged directly into the computer instead of the HUB. The printer is seen as lsusb shows:

Bus 002 Device 003: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
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 005: ID 1058:0830 Western Digital Technologies, Inc.
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

One thing I did not try when booted to 15.04 was to try and save the syslog to one of my external USB drives. If you wish I can give that a try.

penalvch (penalvch)
Changed in hplip (Ubuntu):
status: Incomplete → Triaged
Changed in hplip:
status: Incomplete → New
tags: added: vivid
Revision history for this message
chris pollock (cpollock) wrote :

Is there anything else I can check since the HP Device Manager keeps showing 'Communication Error'? What steps now will be taken to fix this bug and is there any kind of a timetable for the fix? I ask this because 1) I'm fairly new to bug reporting and still unsure how the system works and 2) I have some important documents that I'll need to print in the very near future.

Revision history for this message
penalvch (penalvch) wrote :

chris pollock, while waiting for a fix from the hplip maintainers, you can either try to install the older known version of the packages and pin the package to that version so it doesn't get further updated unless a fix lands, or test+reinstall with Precise.

Revision history for this message
chris pollock (cpollock) wrote :

I have my printer working again, for how long I don't know but here is what I did. I had hplip 3.14.3-0ubuntu3.2 installed. I removed it and installed hplip 3.15.2 from source, did not work, completely removed it by 'make uninstall', installed 3.14.6 from source, same thing, completely uninstalled, same thing with 3.14.10 from source. I then reinstalled the hplip 3.14.3-0ubuntu3.2 package, rebooted the system and printer worked on the first try. I can't say whether it will continue to work but it is for now.

Revision history for this message
chris pollock (cpollock) wrote :

Christopher, though the printer is working I don't think hplip is being used:

chris@localhost:~$ tail -f /var/log/syslog
Mar 15 07:42:24 localhost kernel: [43827.071459] usblp 2-6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Mar 15 07:42:29 localhost hp[10793]: io/hpmud/model.c 108: unable to open /etc/hp/hplip.conf: No such file or directory
Mar 15 07:42:29 localhost hp[10793]: io/hpmud/model.c 532: no HP_LaserJet_1020 attributes found in /data/models/models.dat
Mar 15 07:42:29 localhost hp[10793]: io/hpmud/model.c 543: no HP_LaserJet_1020 attributes found in /data/models/unreleased/unreleased.dat
Mar 15 07:42:30 localhost kernel: [43833.080441] usblp0: removed
Mar 15 07:42:30 localhost kernel: [43833.082718] usblp 2-6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Mar 15 07:42:31 localhost foo2zjs-wrapper: foo2zjs-wrapper -z1 -P -L0 -r1200x600 -p1 -T3 -m1 -s7 -n1
Mar 15 07:42:32 localhost kernel: [43834.992044] usblp0: removed
Mar 15 07:42:32 localhost foo2zjs-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=500000000
Mar 15 07:42:32 localhost foo2zjs-wrapper: foo2zjs -r1200x600 -g10200x6600 -p1 -m1 -n1 -d1 -s7 -z1 -u 192x96 -l 192x96 -L 0 -T3 -P
Mar 15 07:43:41 localhost kernel: [43904.763808] [drm:intel_crtc_cursor_set], cursor off
Mar 15 07:43:48 localhost hp[10975]: io/hpmud/model.c 108: unable to open /etc/hp/hplip.conf: No such file or directory
Mar 15 07:43:48 localhost hp[10975]: io/hpmud/model.c 532: no HP_LaserJet_1020 attributes found in /data/models/models.dat
Mar 15 07:43:48 localhost hp[10975]: io/hpmud/model.c 543: no HP_LaserJet_1020 attributes found in /data/models/unreleased/unreleased.dat
Mar 15 07:43:48 localhost foo2zjs-wrapper: foo2zjs-wrapper -z1 -P -L0 -r1200x600 -p1 -T3 -m1 -s7 -n1
Mar 15 07:43:49 localhost foo2zjs-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=500000000
Mar 15 07:43:49 localhost foo2zjs-wrapper: foo2zjs -r1200x600 -g10200x6600 -p1 -m1 -n1 -d1 -s7 -z1 -u 192x96 -l 192x96 -L 0 -T3 -P

I could be wrong though

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

Chris, in your case the printer uses the hp CUPS backend (software to do communication between PC and printer) of HPLIP but it uses the foo2zjs printer driver (software to convert print job data into the format which the printer needs).

Revision history for this message
chris pollock (cpollock) wrote :

Thanks Tim. This morning at 11:50 I had to do a reboot due to a lockup for an unknown reason. Since then I've seen probably thousands of lines like this in my syslog:

Mar 16 11:52:14 localhost kernel: [ 46.590988] usblp0: removed
Mar 16 11:52:14 localhost kernel: [ 46.595086] usblp 2-6:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

This is in my latest hourly log snippet:

Mar 16 18:59:55 localhost kernel: [25708.059774] usblp0: removed
Mar 16 18:59:55 localhost kernel: [25708.061232] usblp 2-6:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

The dev possibly changed since I turned the printer off and on again to see if this issue would go away. I have no idea what's causing it or if it's connected to this issue.

Revision history for this message
chris pollock (cpollock) wrote :
Download full text (3.4 KiB)

Ok, ,I don't know now whether this is now another bug, additional info to this bug or what. Today at 2:56pm I had to reboot my system because it again locked up with a black screen and just a moving mouse cursor. I see this during the reboot in my syslog:

Mar 17 14:56:37 localhost kernel: [ 30.333651] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Mar 17 14:56:37 localhost kernel: [ 30.333670] usbcore: registered new interface driver usblp
Mar 17 14:56:37 localhost cron[922]: (CRON) INFO (Running @reboot jobs)
Mar 17 14:56:37 localhost kernel: [ 30.500853] usblp0: removed
Mar 17 14:56:37 localhost kernel: [ 30.502154] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

Mar 17 14:56:43 localhost kernel: [ 36.345640] usblp0: removed
Mar 17 14:56:43 localhost kernel: [ 36.347018] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

Mar 17 14:56:49 localhost kernel: [ 42.353448] usblp0: removed
Mar 17 14:56:49 localhost kernel: [ 42.354934] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

This goes on and on and if you'll notice it's every six seconds:

Mar 17 14:59:13 localhost kernel: [ 186.542983] usblp0: removed
Mar 17 14:59:13 localhost kernel: [ 186.544975] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Mar 17 14:59:19 localhost kernel: [ 192.548783] usblp0: removed
Mar 17 14:59:19 localhost kernel: [ 192.550181] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Mar 17 14:59:25 localhost kernel: [ 198.561555] usblp0: removed
Mar 17 14:59:25 localhost kernel: [ 198.563629] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Mar 17 14:59:31 localhost kernel: [ 204.564720] usblp0: removed
Mar 17 14:59:31 localhost kernel: [ 204.566108] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Mar 17 14:59:37 localhost kernel: [ 210.572032] usblp0: removed
Mar 17 14:59:37 localhost kernel: [ 210.574257] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

It apparently quit at 4:31 after I printed a test page to ensure the printer was still working:

Mar 17 16:31:14 localhost kernel: [ 5707.702433] usblp0: removed
Mar 17 16:31:14 localhost kernel: [ 5707.704157] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Mar 17 16:31:18 localhost hp[17840]: io/hpmud/model.c 108: unable to open /etc/hp/hplip.conf: No such file or directory
Mar 17 16:31:18 localhost hp[17840]: io/hpmud/model.c 532: no HP_LaserJet_1020 attributes found in /data/models/models.dat
Mar 17 16:31:18 localhost hp[17840]: io/hpmud/model.c 543: no HP_LaserJet_1020 attributes found in /data/models/unreleased/unreleased.dat
Mar 17 16:31:19 localhost foo2zjs-wrapper: foo2zjs-wrapper -z1 -P -L0 -r1200x600 -p1 -T3 -m1 -s7 -n1
Mar 17 16:31:20 localhost kernel: [ 5713.532782] usblp0: removed
Mar 1...

Read more...

Revision history for this message
chris pollock (cpollock) wrote :

So here we are again after having to reboot the system last night at 7:26pm this is showing up:

Mar 19 19:49:34 localhost kernel: [ 380.280780] usblp0: removed
Mar 19 19:49:34 localhost kernel: [ 380.281759] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

and on through the night:

Mar 20 07:44:40 localhost kernel: [43286.401455] usblp0: removed
Mar 20 07:44:40 localhost kernel: [43286.403001] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

I run a test page:

Mar 20 07:44:43 localhost hp[30508]: io/hpmud/model.c 108: unable to open /etc/hp/hplip.conf: No such file or directory
Mar 20 07:44:43 localhost hp[30508]: io/hpmud/model.c 532: no HP_LaserJet_1020 attributes found in /data/models/models.dat
Mar 20 07:44:43 localhost hp[30508]: io/hpmud/model.c 543: no HP_LaserJet_1020 attributes found in /data/models/unreleased/unreleased.dat
Mar 20 07:44:44 localhost foo2zjs-wrapper: foo2zjs-wrapper -z1 -P -L0 -r1200x600 -p1 -T3 -m1 -s7 -n1
Mar 20 07:44:45 localhost kernel: [43291.272254] usblp0: removed
Mar 20 07:44:45 localhost foo2zjs-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=500000000
Mar 20 07:44:45 localhost foo2zjs-wrapper: foo2zjs -r1200x600 -g10200x6600 -p1 -m1 -n1 -d1 -s7 -z1 -u 192x96 -l 192x96 -L 0 -T3 -P

Once I run a test page this stops.

Revision history for this message
Suma Byrappa (suma-byrappa) wrote :

Hello,

It looks like HPLIP is not installed properly, as some hplip config files are not found as per syslog report.

Please try installing latest Linux driver and reconfiguring the queues. Given below are the steps to do it.

=> Download and install the latest HPLIP release from http://hplipopensource.com/hplip-web/install/install/index.html (automatic installer) or http://hplipopensource.com/hplip-web/install/manual/index.html (manual installation, if automatic installer does not work)

=> Reconfigure print queue using below commands.
       => hp-setup -r (remove all print queues)

       => hp-setup

=> Try printing

=> In case the problem persists, send us the output of running the command "hp-doctor", /var/log/syslog and /var/log/cups/error_log

Revision history for this message
chris pollock (cpollock) wrote :

I'd actually forgotten about this bug report since the printer has been working flawlessly for awhile. I went through your suggested steps for the automatic install, which failed and the printer would not print. I did get it working again by just removing it using the CUPS Web Interface and reinstalling via the interface. I've attached all the pertinent files. The printer shows up in the interface as:

Description: HP LaserJet 1020
Location: Local Printer
Driver: HP LaserJet 1020 Foomatic/foo2zjs-z1 (recommended) (grayscale, 2-sided printing)
Connection: usb://HP/LaserJet%201020?serial=JL1F0DC
Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided

Revision history for this message
chris pollock (cpollock) wrote :

File attachments for failed hplip install on 15 April 2015.

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

I hope you are aware of that the HP LaserJet 1020 has no non-volatile memory to hold its firmware. Everytime when it is turned on a firmware file needs to be uploaded into the printer before the first job can be printed. The Upload is simply done by "printing" the file unfiltered from the computer where the printer is connected to.

When you turn on the printer your hear its mechanics rotating for a self check. If the computer is correctly configured for automatic firmware upload you will hear the mechanics for a second time, telling that the firmware got uploaded. You will also hear the mechanics rotating one time when you manually upload the firmware (for example by running the hp-firmware command). If you send an arbitrary bunch of data instead of a firmware file, the mechanics will not rotate, so you can distinguish by the noise whether the printer got valid firmware. So turn on the printer while the computer is running, and check whether you get noise two times or when you have the printer already turned on and boot the computer, you need to get noise from the printer twice before you can print (once the reset from the USB, after that the firmware upload).

The hp-doctor output suggests that the proprietary plugin from HP is installed but at least the files /usr/share/hplip/plugin.spec and /usr/share/hplip/data/firmware/hp_laserjet_1020.fw.gz are missing. The latter is the firmware file.

Please run sudo hp-plugin to re-install the plugin and tell whether this helps.

Revision history for this message
chris pollock (cpollock) wrote : Re: [Bug 1428356] Re: 03f0:2b17 USB HP LaserJet 1020 printer will not print after boot

On Wed, 2015-04-15 at 22:12 +0000, Till Kamppeter wrote:
> I hope you are aware of that the HP LaserJet 1020 has no non-volatile
> memory to hold its firmware. Everytime when it is turned on a firmware
> file needs to be uploaded into the printer before the first job can be
> printed. The Upload is simply done by "printing" the file unfiltered
> from the computer where the printer is connected to.
>
> When you turn on the printer your hear its mechanics rotating for a self
> check. If the computer is correctly configured for automatic firmware
> upload you will hear the mechanics for a second time, telling that the
> firmware got uploaded. You will also hear the mechanics rotating one
> time when you manually upload the firmware (for example by running the
> hp-firmware command). If you send an arbitrary bunch of data instead of
> a firmware file, the mechanics will not rotate, so you can distinguish
> by the noise whether the printer got valid firmware. So turn on the
> printer while the computer is running, and check whether you get noise
> two times or when you have the printer already turned on and boot the
> computer, you need to get noise from the printer twice before you can
> print (once the reset from the USB, after that the firmware upload).
>
> The hp-doctor output suggests that the proprietary plugin from HP is
> installed but at least the files /usr/share/hplip/plugin.spec and
> /usr/share/hplip/data/firmware/hp_laserjet_1020.fw.gz are missing. The
> latter is the firmware file.
>
> Please run sudo hp-plugin to re-install the plugin and tell whether this
> helps.
>

Output of sudo hp-plugin:

chris@localhost:~$ sudo hp-plugin

HP Linux Imaging and Printing System (ver. 3.15.2)
Plugin Download and Install Utility ver. 2.1

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.

warning: /usr/share/hplip/plugin.spec file doesn't exists.
Checking for network connection...
Downloading plug-in from:
error: /home/chris/.hplip/hplip-3.15.2-plugin.run file does not match
its checksum. File may have been corrupted or altered

Done.

I do not have /home/chris/.hplip/hplip-3.15.2-plugin.run

chris@localhost:~/.hplip$ ls -al
total 44
drwxr-xr-x 3 chris chris 4096 Apr 15 17:31 .
drwxr-xr-x 100 chris chris 12288 Apr 15 17:33 ..
drwxr-xr-x 2 chris chris 4096 Mar 14 09:36 .gnupg
-rw-r----- 1 chris chris 13321 Apr 15 07:58 hp-doctor.log
-rw-rw-rw- 1 chris chris 544 Apr 15 07:58 hplip.conf
-rw-r----- 1 chris chris 0 Apr 15 07:49 hp-systray.lock
-rw-r----- 1 chris chris 0 Mar 14 17:38 hp-toolbox.lock
-rw-r----- 1 chris chris 71 Apr 15 07:55 hp-upgrade.log

Chris

--
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
17:31:36 up 7 days, 1:09, 2 users, load average: 0.09, 0.15, 0.14
Ubuntu 14.04.2 LTS, kernel 4.0.0-997-generic #201503310205 SMP Tue Mar
31 02:07:04 UTC 2015

Revision history for this message
Suma Byrappa (suma-byrappa) wrote :

Hello Chris,

As Till pointed out there are still errors with plugin config file and plugin files are missing.

Please try the below steps once again.

=> Run the command "hp-uninstall" to cleanly uninstall HPLIP. Remove plug-ins too when prompted.

=> Install the latest (or already downloaded 3.15.2 run file)

=> Remove all the existing queues by running the command "hp-setup -r"

=> Re-configure the queue by running the command "hp-setup". This step will also prompt for installing the plugin. Follow the prompts to install the plugins.

=> Try printing to the queue named HP_LaserJet_1020

I see in the log files that there is also a filter called foo2zjs is used. Looks like this is the auto queue configured for the device. But lets see first if the problem is solved in a cleaned setup.

Revision history for this message
chris pollock (cpollock) wrote :

Thank you Suma, the removal and install went perfectly. The printer now works. I can't test it with a reboot at this time due to the fact that I'm running a custom kernel that is being tested to see if it corrects another bug report I've generated relating to video lockups. If/when I do reboot I'll add to this report whether the printer works or not. I suspect though that I'll have no more problems.

Revision history for this message
Suma Byrappa (suma-byrappa) wrote :

Glad to know that the problem is solved for you.

Closing the bug based on above comment.

Changed in hplip:
status: New → Invalid
Revision history for this message
chris pollock (cpollock) wrote :

I need to get help again whether I need to re-open this bug I don't know. HPlip 3.15.6 was automatically installed as an update this evening. Since then I have not been able to print. I followed the directions in comment 60 again and when it comes to running hp-setup the printer can't be found again -

Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb

I'll try again in the morning to see what I can do. I'll uninstall 3.15.6 again and go from there.

Revision history for this message
penalvch (penalvch) wrote :

chris pollock, as this appears to be a regression going from one hplip version to another in Wily (not Trusty as originally reported), please file a new report (not reopen this one) to track this regression via a terminal:
ubuntu-bug hplip

Please be sure to include all relevant information following https://wiki.ubuntu.com/DebuggingPrintingProblems .

Also, please feel free to subscribe me to it.

Changed in hplip (Ubuntu):
status: Triaged → Invalid
Revision history for this message
chris pollock (cpollock) wrote :

Chris, one additional step I had to take to get the firmware to download and that was besides unplugging and replugging the printer usb cable I also had to turn the printer off wait a second or two and then turn back on again. When I did that the printer was recognized in hp-setup and the firmware was downloaded successfully. Do you still want me to submit a new bug report stating that this additional step seems to be necessary?

Revision history for this message
penalvch (penalvch) wrote :

chris pollock, please do include that information in the new report.

Revision history for this message
chris pollock (cpollock) wrote :

On Fri, 2015-06-12 at 10:51 +0000, Christopher M. Penalver wrote:
> chris pollock, as this appears to be a regression going from one hplip version to another in Wily (not Trusty as originally reported), please file a new report (not reopen this one) to track this regression via a terminal:
> ubuntu-bug hplip
>
> Please be sure to include all relevant information following
> https://wiki.ubuntu.com/DebuggingPrintingProblems .
>
> Also, please feel free to subscribe me to it.
>
> ** Changed in: hplip (Ubuntu)
> Status: Triaged => Invalid
>
Christopher I filed a new bug on 06/26 and I think I subscribed you to
it correctly.

https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1469313

Chris

--
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
08:51:02 up 4 days, 22:48, 1 user, load average: 0.23, 0.25, 0.28
Ubuntu 14.04.2 LTS, kernel 4.0.0-997-generic #201503310205 SMP Tue Mar
31 02:07:04 UTC 2015

Revision history for this message
Michael Baker (mjb32803) wrote :

Just thought I'd share my miser with the HP 1020 printer.
I've suddenly started having the same issues with my HP 1020.
Running MATE 19.04, with mainline 5.1.9 kernel, and HPLIP 3.19.5

I've removed and install HPLIP from scratch (multiple times), printer works fine, but after reboot I get HPLIP pop up "printer communication error" messages, and when doing dmesg, i get "device descriptor read/64, error -110" regardless of which USB port I plug into.

Just today, I used the hp-firmware command as recommended in this thread, and often times that fixes the issue, until i reboot or turn printer off.

I should mention that I was NOT having any printer issues while i was using 18.04.2 LTS. All these issues surfaced after I moved to 19.04 (fresh install, not an upgrade).

Revision history for this message
penalvch (penalvch) wrote :

Michael Baker, as this report is closed, it will help immensely if you filed a new report with Ubuntu via a terminal:
ubuntu-bug cups

Please feel free to subscribe me to it.

To post a comment you must log in.