saned help? (was Re: [sane-devel] Fujitsu 5120C)
Henning Meier-Geinitz
henning at meier-geinitz.de
Thu Jun 1 14:29:28 UTC 2006
Hi,
On 2006-05-31 09:07, m. allan noah wrote:
> On Tue, 30 May 2006, Jim McQuillan wrote:
>
> >Ok, I tried using scanimage without saned, and it works !!!!!
> >Now, I need to figure out how to get saned working with this backend.
>
> Anyone here can give me any pointers? i wont rule out a bug in the
> backend, but i dont know enough about saned to even start troubleshooting.
>
> what we see is that scanimage via saned is giving random buffer sizes to
> the calls to sane_read.
Thats ok. Any buffer size is acceptable by the SANE standard, even
only one byte. You may get a similar error when running scanimage -T.
The fujitsu backend seems to assume that the buffer is at least one
scan line:
bytes -= (bytes % s->params.bytes_per_line);
Bye,
Henning
More information about the sane-devel
mailing list