[sane-devel] Fwd: Can you reproduce this?

Olaf Meeuwissen paddy-hack at member.fsf.org
Fri Aug 19 11:30:44 UTC 2016

Hi pqwoerituy,

Not sure if you sent something before you finished writing, but
Cc:ing the collective wisdom of the sane-devel mailing list.

pqwoerituy trueiwoq writes:

> A while back you helped me get issue #314696 fixed
> I have my raspberry pi setup to share my scanner from
> chad at Z97K1LLER:~$ ssh pi at scanimage -V;scanimage -V
> scanimage (sane-backends) 1.0.24; backend version 1.0.24
> scanimage (sane-backends) 1.0.26git; backend version 1.0.26
> My server has 1.0.24 and my client system has 1.0.26git
> This command results in a I/O error every time with a networked scanner
> chad at Z97K1LLER:~$ scanimage -A -d "$(scanimage -L | head -1 | cut -d'`' -f2 | cut -d"'" -f1)"
> scanimage: open of device net: failed: Error during device I/O
> To avoid this a delay is needed between request to the server like this
> chad at Z97K1LLER:~$ scanimage -A -d "$(scanimage -L | head -1 | cut -d'`' -f2 | cut -d"'" -f1;sleep 1)"
> I'd like to file a bug report but I am not sure where, but for all I know this has been fixed in 1.0.26, this is fairly easy to test if you have a moment to

I don't have a saned set up so cannot test easily.  If you think that
1.0.25 or 1.0.26git on your server may fix it, please try that.

If it doesn't, this could be something due to network latency, the
connection being slow to close preventing the second scanimage from
getting one, the avahi support being buggy or something peculiar to
your scanner.

In that case, you could enable the pnm backend (and disable hpaio) on and check if that suffers the same problem.  If not, it's
probably something with the hpaio backend which is *not* one of the
sane-backends backends.

If you can reproduce this with 1.0.26git and the pnm backend, by all
means file a bug report.  See


for where and how.

Hope this helps,
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join

More information about the sane-devel mailing list