6

This seems to be a reoccurring problem. There has been other questions similar to this without a decent answer. Ubuntu 20.04.1 locates the scanner when Document Scanner starts up but when told to scan it fails with "Failed to scan Unable to connect to scanner". The scanner is a HP LaserJet M1522nf network connected which worked without problems under 19.10. The printer portion works just fine. This is a straight upgrade from 19.10 to 20.04.1. Xsane fails with "Failed to open device 'hpaio:/usb/HP_LaserJet_M1522nf_MPF? serial=00CNC986V086':Error during device I/O"

What changed between 19.10 and 20.04 that would affect scanners? Any help would be appreciated.

DanM
  • 61

1 Answers1

2

Install and be happy:

sudo apt install sane-airscan ipp-usb

Why these are not part of the regular installation routine, I have no idea.

When installed, scanning works normally. When not, apparently some scanners still work, but many do not. Perhaps a bug report is in order.

u2n
  • 923
  • 1
  • 9
  • 22
  • Unable to locate both packages – Self Dot Feb 08 '23 at 10:49
  • @SelfDot, what distro? Check with 'apt list sane-airscan ipp-usb' Should see both in output. – u2n Feb 09 '23 at 16:39
  • Ubuntu 20.04.5. 'apt list sane-airscan ipp-usb' gives the result "Listing... Done" – Self Dot Feb 11 '23 at 23:55
  • @SelfDot, this shows a more general problem of being unable to update your system. Once that's fixed, you should be able to install these packages and have scanning work.

    A few things to try: 'sudo apt update' should return a dozen sequentially numbered lines and summary info. If not, then your sources would likely need updating (servers could be down).

    Once able to update successfully, then adding these packages should be no problem.

    – u2n Feb 13 '23 at 21:54
  • If you're saying 'sudo apt update' should fix the problem, it did not. If you're saying 'sudo apt update' should tell me further things to do to fix my inability to install these packagaes, then maybe you're right, but I don't know how to take all this information and figure out what is wrong. I've got 60+ lines of info. – Self Dot Feb 15 '23 at 00:31
  • @SelfDot, since you're unable to fetch updates, there's a connection problem caused by either your Internet connection or source configuration. You might try running 'software-properties-gtk', click the 'Restore the default settings' button, then retry the update. If successful, then do a 'sudo apt upgrade', then install the scanner fix here. If not, it would be best to open a separate thread since the trouble is unrelated to this one. Best of luck! – u2n Feb 17 '23 at 15:40