[patch] LaserJet 1020 firmware load fix

Bug #1922404 reported by dgcampea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

Tested on Laserjet 1020 but might apply to any similar printer that requires firmware loading.

HPLIP attempts to establish contact with the printer too soon after uploading the firmware, while the printer is potentially not fully initialized or ready to respond over usb. This causes udev-configure-printer and hplip to time out, resulting in the printer unable to be recognized by the system.

Inserting a delay in config_usb_printer.py right after it calls hp-firmware allows enough time for the printer to complete initializing, which fixes the issue.

Edit: patch applies against hplip 3.21.2

Tags: patch
Revision history for this message
dgcampea (dgcampea) wrote :
dgcampea (dgcampea)
description: updated
dgcampea (dgcampea)
description: updated
Revision history for this message
dgcampea (dgcampea) wrote :

When cleaning up the original fix attempt in order to create a patch, I incorrectly applied the delay before the firmware update command was sent.
This has been corrected in the second revision of fix1020.patch

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.