Score:0

Ubuntu 20.04 suddenly does not detect printer

es flag

An hour or so ago, Ubuntu stopped detecting the HP LaserJet P2055dn printer to which it has been connected for years.

The OS is fully updated, in fact, I updated it this morning. I haven't tried to print since then until just now, so this morning's update probably is the cause. No subsequent update exists.

The online help is predictably impenetrable (HTF am I supposed to know what a USB kernel module looks like? A file name might help).

I've rebooted a time or two, deleted the printer after it vomited an error saying it may not be connected (it is/was), and can't re-install it because the system isn't recognizing the printer.

So, the questions are:

  • How to report a bug for this morning's update.

  • How to get the printer working.

Many thanks in advance for any thoughts and assistance.

waltinator avatar
it flag
How is the printer "connected"? Did someone kick, or step on, the printer cable? Look for printer messages at system startup with `sudo journalctl -b 0`
ebsf avatar
es flag
The printer is connected locally via USB. Nothing physical happened to the device or its cables, which are routed out of the way. Among other things, I uninstalled and purged CUPS / cupsd and hplip, ran autoremove, rebooted everything, and reinstalled, with no effect. Running # journalctl -b 0 yielded >2000 entries as follows, however: AVC apparmor="DENIED" operation="create" profile="snap.hplip-printer-app.hplip-printer-app-server" pid=2211 comm="hplip-printer-a" family="inet" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
Score:0
cn flag

I had the same problem recently. The two main suggestions posted here: Printer problems after installing Ubuntu 20.04

are:

  1. Remove the ippusbxd package (which may somehow interfere with hplip).
  2. Run sudo hp-setup -i

I did the first, then deleted and reinstalled the printer, and it works! Didn't try the second.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.