Ubuntu 20.04 stopped detecting HP LaserJet P2055dn after this morning's update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I printed yesterday.
I updated Ubuntu 20.04.3 this morning.
The system now does not detect the HP LaserJet P2055dn to which it has been connected for years.
The output of the command "apt-cache policy cups" is:
cups:
Installed: 2.3.1-9ubuntu1.1
Candidate: 2.3.1-9ubuntu1.1
Version table:
*** 2.3.1-9ubuntu1.1 500
500 http://
500 http://
100 /var/lib/
2.3.1-9ubuntu1 500
500 http://
What I expected to happen was to print a document. Then, for the system to recognize the printer when I tried to reinstall it.
What happened instead was that printing failed. Settings > Printers > Additional Printer Settings vomited an error message saying that the printer may not be connected. The print job hung on "Processing" for 5-10 minutes before I terminated it. I deleted the printer on the system and the system would / could not detect the device. No obvious means exists to install a printer driver for a specified printer, which is an astonishing design failure for the platform.
I have rebooted the system and the printer multiple times throughout this process. I also attempted to update the system but no updates are available. All the wiring and power is as before.
The system recognizes any number of other USB devices connected to it, including scanners, etc., that are freshly powered on. Power cycling the HP printer has no effect on lsusb output.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups 2.3.1-9ubuntu1.1
ProcVersionSign
Uname: Linux 5.4.0-99-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CupsErrorLog:
E [11/Feb/
E [11/Feb/
E [11/Feb/
CurrentDesktop: ubuntu:GNOME
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
Date: Fri Feb 11 00:44:52 2022
InstallationDate: Installed on 2020-08-20 (539 days ago)
InstallationMedia: Ubuntu-Server 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
KernLog:
Lpstat: device for CUPS-BRF-Printer: cups-brf:/
MachineType: System manufacturer System Product Name
Papersize: letter
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/19/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1602
dmi.board.
dmi.board.name: P9X79-E WS
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: System manufacturer
Can it be that you have earlier installed HPLIP directly from the upstream source? The system update could have overwritten parts of that installation and now your HPLIP does not work any more.
A safer way to have an always up-to-date HPLIP is using its Snap version.
Go to
https:/ /snapcraft. io/hplip- printer- app
Install the Snap, set up your printer in its web interface, and CUPS will see a network printer, as the Snap emulates a network printer. Print to this network printer.
In this Snap HPLIP is completely encapsulated and cannot be overwritten by any other installation. It gets also auto-updated by the Snap Store, so you will have an always up-to-date HPLIP.