I've also experienced this issue on several machines, with the primary symptom being a message "Scanner Busy" after recent update. Here are more details if this might help anyone to figure out what's going on. I've already posted this to the Linux Mint Forum, but don't really expect a response there. Here is what I posted there:
I'm running Linux Mint 20 on several machines and have used all features of my HP OfficeJet 6700 for several years and several linux Distros. The multi-function device is (and has been for years) connected wirelessly.
For some reason a recent Mint update removed the ability to use the scanner portion. When running xsane, for instance, I get the message that the scanner is "busy" any time I attempt to do a preview.
I believe this problem can be traced to a Debian bug (
https://bugs.debian.org/cgi-bin/bugrepo ... bug=950646) since the symptoms match what I'm seeing; it is marked as "fixed in versions sane-backends/1.0.31-2. Request was from Jörg Frings-Fürst <debian@jff.email> to
control@bugs.debian.org. (Wed, 30 Sep 2020 16:48:04 GMT)" Can anyone tell me if this is something that will be incorporated into Mint in the near future?
Of course, I tried the usual [shut everything down] and [reboot everything one at a time], but no luck. I attached the HP-6700 itself via USB to a Windows laptop and it scans just fine, so I don't believe the problem is hardware. Just in case, here are some other things I did (in addition to reading through the many, many postings about similar issues in the past):
==================================================================
Checked Groups:
Code:
$ groups
frank adm cdrom sudo dip plugdev lpadmin sambashare
Code:
$ getent group | grep frank
adm:x:4:syslog,frank
cdrom:x:24:frank
sudo:x:27:frank
dip:x:30:frank
plugdev:x:46:frank
lpadmin:x:114:frank
frank:x:1000:
sambashare:x:134:frank
lpadmin exists, but on-line ubuntu docs say "make sure your user is member of the scanner and saned groups."
Both these groups still exist (per below) and, as shown above, I'm not in either of them.
Code:
$ getent group | grep saned
scanner:x:124:saned
saned:x:127:
Code:
$ getent group | grep scanner
scanner:x:124:saned
SO, I tried:
Code:
sudo usermod -a -G saned frank
sudo usermod -a -G scanner frank
Scanner is still "busy."
==================================================================
Checked libraries
libsane and hpaio show up as installed in synaptic ...
==================================================================
Checked various status commands
Code:
$ scanimage -L
device `hpaio:/net/Officejet_6700?hostname=HPD4C9EF72FAD7.local' is a Hewlett-Packard Officejet_6700 all-in-one
Code:
$ systemctl status saned.socket
● saned.socket - saned incoming socket
Loaded: loaded (/lib/systemd/system/saned.socket; disabled; vendor preset: enabled)
Active: inactive (dead)
Listen: [::]:6566 (Stream)
Accepted: 0; Connected: 0;
The word "disabled" seemed suspicious, so I tried
Code:
$ systemctl enable saned.socket
Created symlink /etc/systemd/system/sockets.target.wants/saned.socket → /lib/systemd/system/saned.socket.
Xsane still reports the scanner is "busy"
Code:
$ systemctl start saned.socket
Xsane still reports the scanner is "busy"
==================================================================
I also used sane's scanner finder, although I seem to recall that never works with networked devices.
Code:
$ sudo sane-find-scanner
[sudo] password for frank:
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
I have no idea if this is normal or not, as I never used this command on a working system.
==================================================================
Tried scanning from the command line
Code:
$ scanimage --device-name=net:localhost:test:0 --format=png > testscan.png
...creates a png file, but it is completely black. Tried a few other options, but no joy.
==================================================================
As for FrankBell's comment, I did actually try Simple Scan, but that simply (no pun intended) ignored any scan requests as well, though it provided no error messages.
Conclusion:
The last time I scanned was only a few weeks ago at max, so I expect what I need to restore is still available (I have several Timeshift snapshots going back far enough, but I have no clue what elements I might need to restore, nor how to locate and restore them without wiping out other subsequent changes.)
Thanks for any assistance.