[sane-devel] Scan process aborts with Brother ADS-2400N network scanner using SANE daemon

Jens Schaepe jens.schaepe at uhlhorn.de
Fri May 25 09:27:25 BST 2018


Hello SANE community,

I hope the community can help me with my Brother ADS-2400N Network 
Scanner. The Scanner runs with the brscan5 driver.

The Scanner is connected via Ethernet to a scan server that runs Ubuntu 
18.04 LTS, xinetd and saned. The Scanner itself is the only one in the 
network.

The ip-address of the scan-server is: 192.168.10.11 (please find the 
corresponding .conf files in the attachment).

The SANE client stands in the same subnet (ip-address:192.168.10.75) and 
$ scanimage -L gives the output: "device 
`net:192.168.10.11:brother5:net1:dev0' is a Brother". (please find the 
cooresponding net.conf in the attachments)

Issue:

When I now test or scan the with "$ scanimage -T" or "$ scanimage > 
test.tiff" on the client PC, the scan process starts but aborts with the 
comment "scanimage: sane_read: Invalid argument" and the test.tiff file 
is empty.

On the other hand the same commands both work fine on the server.

I run the commands with $ export SANE_DEBUG_DLL=128 on server and client 
and scripted them (please find the txt files in the attachment). The 
FAIL Error is in line 136 and 137 
(scanimage_client_SANE_DEBUG_DLL=128.txt) and seems to occur in the 
function sane_read.

I hope information help the community to help me ;-), please don't be 
shy to ask for more information and thank you for your help.

Best regards

Jens Schäpe


-------------- next part --------------
Script started on 2018-05-25 09:14:32+0200
]0;jens at Twistringen76: ~/Shared-Folderjens at Twistringen76:~/Shared-Folder$ export SANE_DEBUG_DLL=128.
]0;jens at Twistringen76: ~/Shared-Folderjens at Twistringen76:~/Shared-Folder$ scanimage -L
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.27git
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `brother5'
[dll] sane_get_devices
[dll] load: searching backend `brother5' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] init: initializing backend `brother5'
[dll] init: backend `brother5' is version 1.0.1
[dll] load: searching backend `net' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] init: initializing backend `net'
[dll] init: backend `net' is version 1.0.27
[dll] load: searching backend `hpaio' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_get_devices: found 1 devices
device `net:192.168.10.11:brother5:net1:dev0' is a Brother  
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `brother5's exit function
[dll] sane_exit: calling backend `net's exit function
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: finished
]0;jens at Twistringen76: ~/Shared-Folderjens at Twistringen76:~/Shared-Folder$ scanimage -LT
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.27git
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `brother5'
[dll] sane_get_devices
[dll] load: searching backend `brother5' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] init: initializing backend `brother5'
[dll] init: backend `brother5' is version 1.0.1
[dll] load: searching backend `net' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] init: initializing backend `net'
[dll] init: backend `net' is version 1.0.27
[dll] load: searching backend `hpaio' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `net:192.168.10.11:brother5:net1:dev0'
[dll] sane_open: open successful
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=0)
[dll] sane_control_option(handle=0x55c04ce585c0,option=0,action=0,value=0x7ffc2b170b7c,info=(nil))
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=0)
[dll] sane_control_option(handle=0x55c04ce585c0,option=0,action=0,value=0x7ffc2b170a80,info=(nil))
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=1)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=2)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=3)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=4)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=5)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=6)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=7)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=8)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=9)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=10)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=11)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=12)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=13)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=14)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=15)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=16)
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=17)
[dll] sane_control_option(handle=0x55c04ce585c0,option=16,action=0,value=0x55c04c9b63a0,info=(nil))
[dll] sane_control_option(handle=0x55c04ce585c0,option=14,action=0,value=0x7ffc2b170a84,info=(nil))
[dll] sane_control_option(handle=0x55c04ce585c0,option=17,action=0,value=0x55c04c9b63a4,info=(nil))
[dll] sane_control_option(handle=0x55c04ce585c0,option=15,action=0,value=0x7ffc2b170a84,info=(nil))
[dll] sane_control_option(handle=0x55c04ce585c0,option=14,action=0,value=0x7ffc2b170bb0,info=(nil))
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=16)
[dll] sane_control_option(handle=0x55c04ce585c0,option=16,action=1,value=0x7ffc2b170bd0,info=0x7ffc2b170a94)
scanimage: rounded value of br-x from 215.9 to 215.88
[dll] sane_control_option(handle=0x55c04ce585c0,option=15,action=0,value=0x7ffc2b170bb0,info=(nil))
[dll] sane_get_option_descriptor(handle=0x55c04ce585c0,option=17)
[dll] sane_control_option(handle=0x55c04ce585c0,option=17,action=1,value=0x7ffc2b170bd0,info=0x7ffc2b170a94)
scanimage: rounded value of br-y from 355.6 to 355.567
[dll] sane_start(handle=0x55c04ce585c0)
[dll] sane_get_parameters(handle=0x55c04ce585c0,params=0x7ffc2b170bd0)
scanimage: scanning image of size 846x1398 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 2538 bytes...	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=2538,lenp=0x7ffc2b170bb0)
PASS
scanimage: reading one byte...		[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=1,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 2 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=2,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 4 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=4,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 8 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=8,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 16 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=16,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 32 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=32,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 64 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=64,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 128 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=128,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 256 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=256,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 512 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=512,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 1024 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=1024,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 2048 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=2048,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 4096 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=4096,lenp=0x7ffc2b170bb0)
PASS
scanimage: stepped read, 4095 bytes... 	[dll] sane_read(handle=0x55c04ce585c0,data=0x55c04ce6cf30,maxlen=4095,lenp=0x7ffc2b170bb0)
FAIL Error: Invalid argument
[dll] sane_cancel(handle=0x55c04ce585c0)
[dll] sane_close(handle=0x55c04ce585c0)
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `brother5's exit function
[dll] sane_exit: calling backend `net's exit function
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: finished
]0;jens at Twistringen76: ~/Shared-Folderjens at Twistringen76:~/Shared-Folder$ scanimage -T<> test.tiff
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.27git
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `brother5'
[dll] sane_get_devices
[dll] load: searching backend `brother5' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] init: initializing backend `brother5'
[dll] init: backend `brother5' is version 1.0.1
[dll] load: searching backend `net' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] init: initializing backend `net'
[dll] init: backend `net' is version 1.0.27
[dll] load: searching backend `hpaio' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `net:192.168.10.11:brother5:net1:dev0'
[dll] sane_open: open successful
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=0)
[dll] sane_control_option(handle=0x55cf9bac2c50,option=0,action=0,value=0x7ffc08f8ab7c,info=(nil))
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=0)
[dll] sane_control_option(handle=0x55cf9bac2c50,option=0,action=0,value=0x7ffc08f8aa80,info=(nil))
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=1)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=2)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=3)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=4)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=5)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=6)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=7)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=8)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=9)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=10)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=11)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=12)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=13)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=14)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=15)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=16)
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=17)
[dll] sane_control_option(handle=0x55cf9bac2c50,option=16,action=0,value=0x55cf9ad053a0,info=(nil))
[dll] sane_control_option(handle=0x55cf9bac2c50,option=14,action=0,value=0x7ffc08f8aa84,info=(nil))
[dll] sane_control_option(handle=0x55cf9bac2c50,option=17,action=0,value=0x55cf9ad053a4,info=(nil))
[dll] sane_control_option(handle=0x55cf9bac2c50,option=15,action=0,value=0x7ffc08f8aa84,info=(nil))
[dll] sane_control_option(handle=0x55cf9bac2c50,option=14,action=0,value=0x7ffc08f8abb0,info=(nil))
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=16)
[dll] sane_control_option(handle=0x55cf9bac2c50,option=16,action=1,value=0x7ffc08f8abd0,info=0x7ffc08f8aa94)
scanimage: rounded value of br-x from 215.9 to 215.88
[dll] sane_control_option(handle=0x55cf9bac2c50,option=15,action=0,value=0x7ffc08f8abb0,info=(nil))
[dll] sane_get_option_descriptor(handle=0x55cf9bac2c50,option=17)
[dll] sane_control_option(handle=0x55cf9bac2c50,option=17,action=1,value=0x7ffc08f8abd0,info=0x7ffc08f8aa94)
scanimage: rounded value of br-y from 355.6 to 355.567
[dll] sane_start(handle=0x55cf9bac2c50)
[dll] sane_get_parameters(handle=0x55cf9bac2c50,params=0x7ffc08f8abb0)
[dll] sane_read(handle=0x55cf9bac2c50,data=0x55cf9bade550,maxlen=32768,lenp=0x7ffc08f8ab84)
[dll] sane_read(handle=0x55cf9bac2c50,data=0x55cf9bade550,maxlen=32768,lenp=0x7ffc08f8ab84)
[dll] sane_read(handle=0x55cf9bac2c50,data=0x55cf9bade550,maxlen=32768,lenp=0x7ffc08f8ab84)
scanimage: sane_read: Invalid argument
[dll] sane_cancel(handle=0x55cf9bac2c50)
[dll] sane_close(handle=0x55cf9bac2c50)
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `brother5's exit function
[dll] sane_exit: calling backend `net's exit function
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: finished
]0;jens at Twistringen76: ~/Shared-Folderjens at Twistringen76:~/Shared-Folder$ scanimage > test.tiff-TLexport SANE_DEBUG_DLL=128itscanimage -Texport SANE_DEBUG_DLL=128itscanimage -Texport SANE_DEBUG_DLL=128scanimage -Ludo nano /etc/sane.d/dll.confcanimage -Lping 192.168.10.11sudo nano /etc/sane.d/net.confdll.confcanimage -Lbrsaneconfig5scanimage -Lbrsaneconfig5scanimage -Ludo nano dll.conflscd sane.detc/etcsudo nano /etc/sane.d/net.confcanimage -Ludo apt-get dist-upgradeh hplip-3.18.5.runlscd Downloads..scanimagebrsaneconfig5 -Lp-helpcanhplipscanimage -Tane-find-scannercanimage -LTudo apt install python-pilimagingpython-imagingh ./hplip-3.18.5.runlscd /home/jens/Downloadsscript scanimage_client_syslog.txtqscanimage -Ttail -f /var/log/syslogscript scanimage_client_syslog.txtcd Shared-Folder..scanimage -Tinfo sanescanimage -Tinfo sanescanimage -TLT> test.tiffcd testsBilder..Bilderscanimage -Ludo nano /etc/environment
-------------- next part --------------
Script started on 2018-05-25 07:11:31+0000
jens at scan-server:/media/sf_shared-folder$ export SANE_DEBUG_DLL=128.txt
jens at scan-server:/media/sf_shared-folder$ scanimage -L
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.27git
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `brother5'
[dll] sane_get_devices
[dll] load: searching backend `brother5' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] init: initializing backend `brother5'
[dll] init: backend `brother5' is version 1.0.1
[dll] load: searching backend `net' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] init: initializing backend `net'
[dll] init: backend `net' is version 1.0.27
[dll] sane_get_devices: found 1 devices
device `brother5:net1:dev0' is a Brother  
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `brother5's exit function
[dll] sane_exit: calling backend `net's exit function
[dll] sane_exit: finished
jens at scan-server:/media/sf_shared-folder$ scanimage -LT
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.27git
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `brother5'
[dll] sane_get_devices
[dll] load: searching backend `brother5' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] init: initializing backend `brother5'
[dll] init: backend `brother5' is version 1.0.1
[dll] load: searching backend `net' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] init: initializing backend `net'
[dll] init: backend `net' is version 1.0.27
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `brother5:net1:dev0'
[dll] sane_open: open successful
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=0)
[dll] sane_control_option(handle=0x564a89dcc460,option=0,action=0,value=0x7ffdf5244a5c,info=(nil))
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=0)
[dll] sane_control_option(handle=0x564a89dcc460,option=0,action=0,value=0x7ffdf5244960,info=(nil))
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=1)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=2)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=3)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=4)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=5)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=6)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=7)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=8)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=9)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=10)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=11)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=12)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=13)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=14)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=15)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=16)
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=17)
[dll] sane_control_option(handle=0x564a89dcc460,option=16,action=0,value=0x564a88b913a0,info=(nil))
[dll] sane_control_option(handle=0x564a89dcc460,option=14,action=0,value=0x7ffdf5244964,info=(nil))
[dll] sane_control_option(handle=0x564a89dcc460,option=17,action=0,value=0x564a88b913a4,info=(nil))
[dll] sane_control_option(handle=0x564a89dcc460,option=15,action=0,value=0x7ffdf5244964,info=(nil))
[dll] sane_control_option(handle=0x564a89dcc460,option=14,action=0,value=0x7ffdf5244a90,info=(nil))
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=16)
[dll] sane_control_option(handle=0x564a89dcc460,option=16,action=1,value=0x7ffdf5244ab0,info=0x7ffdf5244974)
scanimage: rounded value of br-x from 215.9 to 215.88
[dll] sane_control_option(handle=0x564a89dcc460,option=15,action=0,value=0x7ffdf5244a90,info=(nil))
[dll] sane_get_option_descriptor(handle=0x564a89dcc460,option=17)
[dll] sane_control_option(handle=0x564a89dcc460,option=17,action=1,value=0x7ffdf5244ab0,info=0x7ffdf5244974)
scanimage: rounded value of br-y from 355.6 to 355.567
[dll] sane_start(handle=0x564a89dcc460)
[dll] sane_get_parameters(handle=0x564a89dcc460,params=0x7ffdf5244ab0)
scanimage: scanning image of size 846x1398 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 2538 bytes...	[dll] sane_read(handle=0x564a89dcc460,data=0x564a89dd2840,maxlen=2538,lenp=0x7ffdf5244a90)
PASS
scanimage: reading one byte...		[dll] sane_read(handle=0x564a89dcc460,data=0x564a89dd2840,maxlen=1,lenp=0x7ffdf5244a90)
FAIL Error: Invalid argument
[dll] sane_cancel(handle=0x564a89dcc460)
[dll] sane_close(handle=0x564a89dcc460)
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `brother5's exit function
[dll] sane_exit: calling backend `net's exit function
[dll] sane_exit: finished
jens at scan-server:/media/sf_shared-folder$ exitscanimage -T> test-.tiff
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.27git
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `brother5'
[dll] sane_get_devices
[dll] load: searching backend `brother5' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-brother5.so.1'
[dll] init: initializing backend `brother5'
[dll] init: backend `brother5' is version 1.0.1
[dll] load: searching backend `net' in `/usr/lib/x86_64-linux-gnu/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1'
[dll] init: initializing backend `net'
[dll] init: backend `net' is version 1.0.27
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `brother5:net1:dev0'
[dll] sane_open: open successful
[dll] sane_get_option_descriptor(handle=0x565361196570,option=0)
[dll] sane_control_option(handle=0x565361196570,option=0,action=0,value=0x7ffc3f98a3cc,info=(nil))
[dll] sane_get_option_descriptor(handle=0x565361196570,option=0)
[dll] sane_control_option(handle=0x565361196570,option=0,action=0,value=0x7ffc3f98a2d0,info=(nil))
[dll] sane_get_option_descriptor(handle=0x565361196570,option=1)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=2)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=3)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=4)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=5)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=6)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=7)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=8)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=9)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=10)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=11)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=12)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=13)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=14)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=15)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=16)
[dll] sane_get_option_descriptor(handle=0x565361196570,option=17)
[dll] sane_control_option(handle=0x565361196570,option=16,action=0,value=0x56536045b3a0,info=(nil))
[dll] sane_control_option(handle=0x565361196570,option=14,action=0,value=0x7ffc3f98a2d4,info=(nil))
[dll] sane_control_option(handle=0x565361196570,option=17,action=0,value=0x56536045b3a4,info=(nil))
[dll] sane_control_option(handle=0x565361196570,option=15,action=0,value=0x7ffc3f98a2d4,info=(nil))
[dll] sane_control_option(handle=0x565361196570,option=14,action=0,value=0x7ffc3f98a400,info=(nil))
[dll] sane_get_option_descriptor(handle=0x565361196570,option=16)
[dll] sane_control_option(handle=0x565361196570,option=16,action=1,value=0x7ffc3f98a420,info=0x7ffc3f98a2e4)
scanimage: rounded value of br-x from 215.9 to 215.88
[dll] sane_control_option(handle=0x565361196570,option=15,action=0,value=0x7ffc3f98a400,info=(nil))
[dll] sane_get_option_descriptor(handle=0x565361196570,option=17)
[dll] sane_control_option(handle=0x565361196570,option=17,action=1,value=0x7ffc3f98a420,info=0x7ffc3f98a2e4)
scanimage: rounded value of br-y from 355.6 to 355.567
[dll] sane_start(handle=0x565361196570)
[dll] sane_get_parameters(handle=0x565361196570,params=0x7ffc3f98a400)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_read(handle=0x565361196570,data=0x565361196f80,maxlen=32768,lenp=0x7ffc3f98a3d4)
[dll] sane_cancel(handle=0x565361196570)
[dll] sane_close(handle=0x565361196570)
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `brother5's exit function
[dll] sane_exit: calling backend `net's exit function
[dll] sane_exit: finished
jens at scan-server:/media/sf_shared-folder$ exit
exit

Script done on 2018-05-25 07:13:44+0000
-------------- next part --------------
# saned.conf
# Configuration for the saned daemon

## Daemon options
# Port range for the data connection. Choose a range inside [1024 - 65535].
# Avoid specifying too large a range, for performance reasons.
#
# ONLY use this if your saned server is sitting behind a firewall. If your
# firewall is a Linux machine, we strongly recommend using the
# Netfilter nf_conntrack_sane connection tracking module instead.
#
#data_portrange = 10000 - 10100


## Access list
localhost
192.168.10.0/24
# A list of host names, IP addresses or IP subnets (CIDR notation) that
# are permitted to use local SANE devices. IPv6 addresses must be enclosed
# in brackets, and should always be specified in their compressed form.
#
# The hostname matching is not case-sensitive.

#scan-client.somedomain.firm
#192.168.0.1
#192.168.0.1/29
#[2001:db8:185e::42:12]
#[2001:db8:185e::42:12]/64

# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
# /etc/services must also be properly configured to start
# the saned daemon as documented in saned(8), services(4)
# and inetd.conf(4) (or xinetd.conf(5)).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saned.socket
Type: text/x-systemd-unit
Size: 342 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20180525/a6f74af5/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saned at .service
Type: text/x-dbus-service
Size: 241 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20180525/a6f74af5/attachment-0003.bin>
-------------- next part --------------
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
# Please note that you need a log_type line to be able to use log_on_success
# and log_on_failure. The default is the following :
#log_type = SYSLOG daemon info
#log_type FILE /var/log/xinetd.log
}

service sane-port
{
	socket_type = stream
	server = /usr/sbin/saned
	protocol = tcp
	user = saned
	group = saned
	wait = no
	disable = no 
}


includedir /etc/xinetd.d
-------------- next part --------------
# This is the net backend config file.

## net backend options
# Timeout for the initial connection to saned. This will prevent the backend
# from blocking for several minutes trying to connect to an unresponsive
# saned host (network outage, host down, ...). Value in seconds.
connect_timeout = 60

## saned hosts
192.168.10.11

# Each line names a host to attach to.
# If you list "localhost" then your backends can be accessed either
# directly or through the net backend.  Going through the net backend
# may be necessary to access devices that need special privileges.
# localhost



More information about the sane-devel mailing list