Once I turn the firewall off, the autodiscovery starts working (without any changes to /etc/sane.d/epson2.conf):
# service ufw stop # scanimage -L device `epson2:net:192.168.8.8' is a Epson PID 085E flatbed scanner If I reload the firewall rules, the autodiscovery stops working again. This is probably the only relevant difference between my Ubuntu 21.10 and my Ubuntu 22.04 installations. Perhaps the stock firewall rules should be amended to make them autodiscovery-friendly. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/1973619 Title: Sane net autodiscovery not working in 22.04 Status in sane-backends package in Ubuntu: New Bug description: I have used every Ubuntu version since 16.10 and on all of them my network scanner EPSON SX525WD could be discovered out of the box. On 22.04 the output of 'scanimage -L' is: No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). To double-check if something hadn't changed in my network, I opened a laptop which still has Ubuntu 21.10 installed. I ran 'scanimage -L' and it shows: device `epson2:net:192.168.8.8' is a Epson PID 085E flatbed scanner device `airscan:w0:EPSON Epson Stylus SX525WD' is a WSD EPSON Epson Stylus SX525WD ip=192.168.8.8 My current workaround for 22.04 is to append the line: net 192.168.8.8 to /etc/sane.d/epson2.conf. The command 'scanimage -L' detects the scanner (albeit no 'airscan' result shows up): device `epson2:net:192.168.8.8' is a Epson PID 085E flatbed scanner NOTE: I filled this bug under the 'sane-backends' package because this form gave this error: "sane-utils" does not exist in Ubuntu ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: sane-utils 1.1.1-5 ProcVersionSignature: Ubuntu 5.15.0-30.31-generic 5.15.30 Uname: Linux 5.15.0-30-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Mon May 16 15:53:46 2022 InstallationDate: Installed on 2020-02-02 (833 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) SourcePackage: sane-backends UpgradeStatus: Upgraded to jammy on 2022-05-06 (9 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1973619/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp