Ubuntu 20.04, simple scan does not detect scanner

Got ubuntu 20.04

Got HP Deskjet 2540

Got HP Officejet 3830

Connected via USB

All worked fine in Ubuntu 19.10

In Ubuntu 20.04 simple scan gives error "Failed to scan Unable to connect to scanner. " Also error code 5012

Doesn't work with HPLIP, doesn't work with preinstalled ubuntu drivers.

Help please ?


Solution 1:

I have found a workaround for this problem that has really annoyed me for three months now on my HP Envy 4500 with embedded scanner connected via USB (printing was affected too).
Several bug reports have linked this problem to a conflict between hplip (HP linux drivers) and ippusbxd (Daemon for IPP USB printer support)

  • Simple Scan stops working after upgrade to 20.04
  • USB scanning broken on focal --> hpmud and ippusbxd conflict
  • Printer cannot be set up as long as the package ippusbxd is installed

I tried uninstaling hplip and ippusbxd separately to see what was best, but the only working solution was really to uninstall ippusbxd as it solved all my problems of multiple printers being displayed and reappearing even if i deleted them.

> sudo apt purge ippusbxd

Note : I had to disconnect my printer from the USB port and to reinstall it after having purged ippusbxd and every printer definition that was left.

And so the scanning problem is solved too even if i still got the same annoying modal error pop up after each single page scan (but it's working)..

Solution 2:

I had a problem with a Brother MFC-250C on Ubuntu 20.4. Printing worked, but no scanner found. Multifunction device connected via USB. Solved it by installing libusb-0.1-4. Maybe this will help in your case too.