Ubuntu 22.04 SANE scanimage reports 'No SANE devices found' after installing vendor Brother driver—brsaneconfig2 lists device but scanimage does not
Environment
Ubuntu 22.04 LTS desktop, SANE 1.0.32 (distribution package), Brother ADS-2700W installed with Brother-provided deb packages (brsaneconfig2 present). Scanner has static IP 192.168.1.42. UFW enabled with port 6566 allowed. /etc/sane.d/brsane.conf contains the scanner IP.
Symptoms
brsaneconfig2/devices returns 'scanner 'ADS2700W' at 192.168.1.42', but 'scanimage -L' returns 'No SANE devices found'. GUI scanning apps (SimpleScan) also show nothing. Running 'brsaneconfig2 -a name=xxx model=ADS2700W ip=192.168.1.42' previously succeeded.
Observations
Package installed created /usr/lib/x86_64-linux-gnu/sane/libsane-brother* and /etc/sane.d/dll.conf contains 'brother'. strace of scanimage shows dlopen errors for the brother backend complaining about missing libatk-1.0 or relocation issues. Running 'ldd' on the libsane-brother library shows an unresolved dependency on libusb-0.1 (package absent).
Already attempted
Restarted saned and avahi-daemon, reinstalled Brother packages, added scanner IP to /etc/sane.d/net.conf and brsaneconfig2, allowed port 6566 on UFW, tried 32-bit compatibility libs suggested in vendor readme, ran scan via root (sudo scanimage -L) — still nothing.
Question
Why does brsaneconfig2 detect the scanner but scanimage fails to list it, and what safe steps will get SANE to recognize and use the Brother backend without breaking system libraries?
Verified community troubleshooting
Look for missing or wrong-architecture libraries used by Brother's SANE backend. Run ldd on the backend (e.g., /usr/lib/.../libsane-brother*) and install any missing packages (if it's a 32-bit binary, enable i386 multiarch and install the needed 32-bit libs). Make sure 'brother' is present in /etc/sane.d/dll.conf, run sudo ldconfig, restart saned, then run scanimage -L — it should now list the device. Verify by doing scanimage --format=tiff > test.tiff. If you changed system libs, note what you installed so you can remove them to rollback.
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags