Skip to content

libavahi needed for brother scanner #3374

@tartanpion

Description

@tartanpion

The how to is
For Network Users:

***Use brsaneconfig (for brscan models), brsaneconfig2 (for brscan2 models), brsaneconfig3 (for brscan3 models), brsaneconfig4 (for brscan4 models) or brsaneconfig5 (for brscan5 models) accordingly.
Add network scanner entry
Command : brsaneconfig4 -a name=(name your device) model=(model name) ip=xx.xx.xx.xx

Confirm network scanner entry
Command : brsaneconfig4 -q | grep (name of your device)

Open a scanner application and try a test scan.

I have the airscan working, but Brother drivers do not.

scanimage -L
device `airscan:w0:Brother DCP-L3560CDW series' is a WSD Brother DCP-L3560CDW series ip=192.168.1.19, 2a01:cb10:8b56:6100:96dd:f8ff:fe6c:5b3c
 sudo brsaneconfig5 -a name=Brother_L3560 model=DCP-L3560CDW ip=192.168.1.19
[BOX64] Box64 arm64 v0.4.1 8d53ad540 with Dynarec built on Jan 13 2026 18:35:46
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] Detected 48bits at least of address space
[BOX64] Counted 22 Env var
[BOX64] Library search path: 
[BOX64] Binary search path: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/bin/
[BOX64] Looking for /usr/bin/brsaneconfig5
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] argv[1]="-a"
[BOX64] argv[2]="name=Brother_L3560"
[BOX64] argv[3]="model=DCP-L3560CDW"
[BOX64] argv[4]="ip=192.168.1.19"
[BOX64] Rename process to "brsaneconfig5"
[BOX64] Using native(wrapped) libc.so.6
[BOX64] Using native(wrapped) ld-linux-x86-64.so.2
[BOX64] Using native(wrapped) libpthread.so.0
[BOX64] Using native(wrapped) libdl.so.2
[BOX64] Using native(wrapped) libutil.so.1
[BOX64] Using native(wrapped) librt.so.1
[BOX64] Using native(wrapped) libbsd.so.0
bloodmoon@arch-desktop:kk$  brsaneconfig5 -q | grep Brother_L3560
[BOX64] Error: Loading needed libs in elf /opt/brother/scanner/brscan5/brscan_cnetconfig
bloodmoon@arch-desktop:kk$ BOX64_LOG=1 brsaneconfig5 -q | grep Brother_L3560
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] Detected 48bits at least of address space
[BOX64] Counted 52 Env var
[BOX64] Library search path: 
[BOX64] Binary search path: ./:bin/:/usr/local/bin/:/usr/bin/:/usr/local/sbin/:/var/lib/flatpak/exports/bin/:/usr/lib/jvm/default/bin/:/usr/bin/site_perl/:/usr/bin/vendor_perl/:/usr/bin/core_perl/
[BOX64] Looking for /usr/bin/brsaneconfig5
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] BOX64ENV: Variables overridden:
	BOX64_LOG=1
[BOX64] argv[1]="-q"
[BOX64] Rename process to "brsaneconfig5"
[BOX64] Using native(wrapped) libc.so.6
[BOX64] Using native(wrapped) ld-linux-x86-64.so.2
[BOX64] Using native(wrapped) libpthread.so.0
[BOX64] Using native(wrapped) libdl.so.2
[BOX64] Using native(wrapped) libutil.so.1
[BOX64] Using native(wrapped) librt.so.1
[BOX64] Using native(wrapped) libbsd.so.0
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] Detected 48bits at least of address space
[BOX64] Counted 52 Env var
[BOX64] Library search path: 
[BOX64] Binary search path: ./:bin/:/usr/local/bin/:/usr/bin/:/usr/local/sbin/:/var/lib/flatpak/exports/bin/:/usr/lib/jvm/default/bin/:/usr/bin/site_perl/:/usr/bin/vendor_perl/:/usr/bin/core_perl/
[BOX64] Looking for /opt/brother/scanner/brscan5/brscan_cnetconfig
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] BOX64ENV: Variables overridden:
	BOX64_LOG=1
[BOX64] argv[1]="--query-network-scanner"
[BOX64] Rename process to "brscan_cnetconfig"
[BOX64] Error loading needed lib libavahi-client.so.3
[BOX64] Error loading needed lib libavahi-common.so.3
[BOX64] Using native(wrapped) libpthread.so.0
[BOX64] Using native(wrapped) libc.so.6
[BOX64] Using native(wrapped) ld-linux-x86-64.so.2
[BOX64] Using native(wrapped) libdl.so.2
[BOX64] Using native(wrapped) libutil.so.1
[BOX64] Using native(wrapped) librt.so.1
[BOX64] Using native(wrapped) libbsd.so.0
[BOX64] Error loading one of needed lib
[BOX64] Error: Loading needed libs in elf `/opt/brother/scanner/brscan5/brscan_cnetconfig

Edit

Using the missing libraries does not work. No idea how to install the drivers to use the tray with simple scan or if this is possible.
Good new , The driver x64 ppd for the printer are recognized by compiling a modified pkgbuild aur/brother-dcpl3560cdw-cups-bin 3.5.1-1 CUPS driver for the Brother DCP-L3560CDW printer

brsaneconfig5 -a name=Brother_DCP-L3560CDW model=DCP-L3560CDW ip=192.168.1.19
[BOX64] Box64 arm64 v0.4.1 8d53ad540 with Dynarec built on Jan 13 2026 18:35:46
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] Detected 48bits at least of address space
[BOX64] Counted 52 Env var
[BOX64] Library search path: 
[BOX64] Binary search path: ./:bin/:/usr/local/bin/:/usr/bin/:/usr/local/sbin/:/var/lib/flatpak/exports/bin/:/usr/lib/jvm/default/bin/:/usr/bin/site_perl/:/usr/bin/vendor_perl/:/usr/bin/core_perl/
[BOX64] Looking for /usr/bin/brsaneconfig5
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] BOX64ENV: Variables overridden:
	BOX64_LD_LIBRARY_PATH=/home/bloodmoon/x86_64_libs:/usr/lib/box64-x86_64-linux-gnu
[BOX64] argv[1]="-a"
[BOX64] argv[2]="name=Brother_DCP-L3560CDW"
[BOX64] argv[3]="model=DCP-L3560CDW"
[BOX64] argv[4]="ip=192.168.1.19"
[BOX64] Rename process to "brsaneconfig5"
[BOX64] Using native(wrapped) libc.so.6
[BOX64] Using native(wrapped) ld-linux-x86-64.so.2
[BOX64] Using native(wrapped) libpthread.so.0
[BOX64] Using native(wrapped) libdl.so.2
[BOX64] Using native(wrapped) libutil.so.1
[BOX64] Using native(wrapped) librt.so.1
[BOX64] Using native(wrapped) libbsd.so.0
"Brother_DCP-L3560CDW" is already registered.
brsaneconfig5 -q
[BOX64] Box64 arm64 v0.4.1 8d53ad540 with Dynarec built on Jan 13 2026 18:35:46
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] Detected 48bits at least of address space
[BOX64] Counted 52 Env var
[BOX64] Library search path: 
[BOX64] Binary search path: ./:bin/:/usr/local/bin/:/usr/bin/:/usr/local/sbin/:/var/lib/flatpak/exports/bin/:/usr/lib/jvm/default/bin/:/usr/bin/site_perl/:/usr/bin/vendor_perl/:/usr/bin/core_perl/
[BOX64] Looking for /usr/bin/brsaneconfig5
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] BOX64ENV: Variables overridden:
	BOX64_LD_LIBRARY_PATH=/home/bloodmoon/x86_64_libs:/usr/lib/box64-x86_64-linux-gnu
[BOX64] argv[1]="-q"
[BOX64] Rename process to "brsaneconfig5"
[BOX64] Using native(wrapped) libc.so.6
[BOX64] Using native(wrapped) ld-linux-x86-64.so.2
[BOX64] Using native(wrapped) libpthread.so.0
[BOX64] Using native(wrapped) libdl.so.2
[BOX64] Using native(wrapped) libutil.so.1
[BOX64] Using native(wrapped) librt.so.1
[BOX64] Using native(wrapped) libbsd.so.0
[BOX64] Box64 arm64 v0.4.1 8d53ad540 with Dynarec built on Jan 13 2026 18:35:46
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] Detected 48bits at least of address space
[BOX64] Counted 52 Env var
[BOX64] Library search path: 
[BOX64] Binary search path: ./:bin/:/usr/local/bin/:/usr/bin/:/usr/local/sbin/:/var/lib/flatpak/exports/bin/:/usr/lib/jvm/default/bin/:/usr/bin/site_perl/:/usr/bin/vendor_perl/:/usr/bin/core_perl/
[BOX64] Looking for /opt/brother/scanner/brscan5/brscan_cnetconfig
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on Cortex-A76 with 4 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 54.0 MHz emulating 3.4 GHz
[BOX64] BOX64ENV: Variables overridden:
	BOX64_LD_LIBRARY_PATH=/home/bloodmoon/x86_64_libs:/usr/lib/box64-x86_64-linux-gnu
[BOX64] argv[1]="--query-network-scanner"
[BOX64] Rename process to "brscan_cnetconfig"
[BOX64] Using emulated /home/bloodmoon/x86_64_libs/libavahi-client.so.3
[BOX64] Using emulated /home/bloodmoon/x86_64_libs/libavahi-common.so.3
[BOX64] Using native(wrapped) libpthread.so.0
[BOX64] Using native(wrapped) libc.so.6
[BOX64] Using native(wrapped) ld-linux-x86-64.so.2
[BOX64] Using native(wrapped) libdl.so.2
[BOX64] Using native(wrapped) libutil.so.1
[BOX64] Using native(wrapped) librt.so.1
[BOX64] Using native(wrapped) libbsd.so.0
[BOX64] Using native(wrapped) libdbus-1.so.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions