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

Reply via email to