I have an HP PhotoSmart C4180 All-In-One.
simplescan stopped working when I upgraded from Fedora 28 to 30.
So I have a similar problem.
Key observation: "sane-find-scanner" didn't find the scanner but "
sudo sane-find-scanner" did. So this looks like a permissions problem.
Quote:
found USB scanner (vendor=0x03f0 [HP], product=0x5711 [Photosmart C4100 series]) at libusb:003:006
|
libusb:003:006 means that it is using /dev/bus/usb/003/006. This would change if the AIO were moved to a different USB socket.
Quote:
$ ls -l /dev/bus/usb/003/006
crw-rw-r--+ 1 root lp 189, 261 Dec 14 21:38 /dev/bus/usb/003/006
|
A temporary fix: "sudo chmod o+w /dev/bus/usb/003/006". After this, simplescan works. I'm pretty sure that it will again fail after a reboot since this device node will be recreated.
I'm not sure what the correct fix would be.
Perhaps adding the user to the "lp" group. But I don't know what being in the lp group is supposed to mean. Perhaps it is intended only for trusted daemons and the like.
Perhaps some program(s) should be setgid lp. Which program(s)?
Perhaps adding udev rules. I don't know how to do that appropriately.