FULL AI ANALYSIS

Ubuntu 22.04 SANE scanimage reports 'No SANE devices found' after installing vendor Brother driver—brsaneconfig2 lists device but scanimage does not

Generated Oct 25, 2026, 9:44:56 AM

Analysis summary

The brsaneconfig2 utility is a vendor tool that registers the device but the SANE front-end (scanimage) fails to load the vendor backend due to missing or ABI-mismatched shared-library dependencies. ldd reveals an unresolved dependency (e.g., legacy libusb-0.1 or 32-bit compatibility libraries). If the backend was built against different libc/ABI or 32-bit libs, the loader will skip it and SANE won't list the device despite registration.

Possible causes

Vendor backend binary depends on missing or incorrect-version libraries (32-bit vs 64-bit mismatch)

85%

dll.conf missing the backend entry or wrong path to libsane plugin (configuration mismatch)

45%

Permissions on /var/run/saned or socket preventing normal users from seeing devices

25%

Firewall blocking saned network probe despite brsaneconfig listing (less likely given brsaneconfig can reach device)

15%

Suggested fixes

1

Diagnostic step 1

Run ldd /usr/lib/x86_64-linux-gnu/sane/libsane-brother* and install any missing dependencies (e.g., libusb-0.1-4:i386 or libatk) rather than copying random libs; prefer distro packages.

2

Diagnostic step 2

If vendor binary is 32-bit, install multiarch support and required 32-bit libs (sudo dpkg --add-architecture i386; sudo apt update; sudo apt install libc6:i386 libusb-0.1-4:i386).

3

Diagnostic step 3

Ensure /etc/sane.d/dll.conf contains a line 'brother' (no typo) and run sudo ldconfig; then restart saned or re-login.

4

Diagnostic step 4

Run scanimage -L under strace to confirm backend dlopen now succeeds; if it lists the scanner, test a small scan to a file.

5

Diagnostic step 5

If changes break other services, revert by removing the added compatibility packages; keep backups of apt operations and document installed packages for rollback.