Ubuntu – 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 ?

Best Answer

  • 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)

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