Do you get an actual xsane window saying the device was not found, or some other xsane report on the issue? The reports are sometimes very cryptic.

This has been a fairly common mode switching issue where the device is set  by default for printing for a multifunctional print/scan device. In my case for my brother printer/scanner I would place a rule in the UDEV rules.d folder which makes the mode switch to scanner for me when the application requests control of the device.

However a quick look on the internet for HP shows that there may have been an HP software install configuration glitch even as recently as June 2020 for some,

This mint user seems to have solved it for an earlier HP MFP device by doing a complete software reinstall.

HP Laserjet Pro MFP M26a - Could Scan, Can't Now (SOLVED)
https://forums.linuxmint.com/viewtopic.php?t=261065

This is from that link but there are several links to hp and other sites to help with troubleshooting; rc files are resource configurations for Linux. 
------
sudo apt-get --reinstall install hplip

Apparently, (code: rc) wasn't installed properly - I have no idea what this means and don't recall seeing it in the printout from the many commands I've input over the past few days. I also don't recall it being mentioned in any of the HP Help instructions.
------

HTH
Russell



On Tue, Oct 6, 2020, 12:10 PM Chris Aitken via talk, <talk@gtalug.org> wrote:
Hi. Just joined the group. I can't get scanner (on my hp LaserJet Pro
MFP M26nw) working. It was scanning fine on my ubuntu 14.0-something LTS
machine. However, I got a more powerful computer and had a fresh install
of ubuntu 20.04.1 LTS done. I typed sane in a terminal and got..

Command 'sane' not found, did you mean:

   command 'save' from deb atfs (1.4pl6-14)
   command 'xsane' from deb xsane (0.999-8ubuntu2)
   command 'sage' from deb sagemath-common (9.0-1ubuntu4)
   command 'saned' from deb sane-utils (1.0.29-0ubuntu5.2)

Try: sudo apt install <deb name>

I tried sudo apt-get install sane and got ...

[sudo] password for owner:
Reading package lists... Done
Building dependency tree
Reading state information... Done
sane is already the newest version (1.0.14-15).
The following packages were automatically installed and are no longer
required:
   hplip-data libimagequant0 printer-driver-postscript-hp python3-olefile
   python3-pil python3-renderpm python3-reportlab python3-reportlab-accel
Use 'sudo apt autoremove' to remove them.

0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.

So, I tried xsane and got ...

  Failed to load module "canberra-gtk-module"

Then an hp wizard offered to install it, then ...

  Failed to open device
'hpaio:/usb_HP_LaserJet_Pro_MFP_M26nw?serial=CNB6J9P50R': Error during
devioce I/O.

Printing is working fine.

Ideas?

Chris


---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk