saned help? (was Re: [sane-devel] Fujitsu 5120C)

m. allan noah anoah at pfeiffer.edu
Thu Jun 1 15:14:09 UTC 2006


On Thu, 1 Jun 2006, Henning Meier-Geinitz wrote:

> Hi,
>
> On 2006-06-01 10:46, m. allan noah wrote:
>> saned requests 8188 bytes, backend only returns 7656, cause that is an
>> even number of scanlines. the difference is 532. then saned asks for 528
>> bytes on the next attempt? why not 532? why not just transmit the 7656?
>
> IIRC, saned uses the first 4 bytes in the data stream for the size of
> the data that is transmitted.

does that mean that if i actually gave it 8188 bytes, it would drop 4 of 
them? i need to look at saned more closely...

allan

-- 
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera



More information about the sane-devel mailing list