[sane-devel] Acer Vuego 310s (scsi) under FreeBSD

abel deuring adeuring at gmx.net
Sun Sep 23 17:24:45 BST 2001


Oliver Schwartz wrote:
> > "grep sanei_scsi_max_request_size snapscan*.[hc]" does not return any
> > results, so I guess the bug is within the Snapscan backend. Perhaps it
> > simply tries to read entire scan lines with one SCSI command; in this
> > the limit of 65536 bytes can easily be reached for higher scan
> > resolutions.
> 
> As far as I can see the maximum resolution for this scanner is 300 dpi, which
> should result in a maximum line length of ~7650 bytes. But maybe I'm mistaken
> somewhere.

Oliver,

right, the guess with the one one scan line exceeding the SCSI buffer
size is indeed nonsense. But the backend should nevertheless ensure with
the help of sanei_scsi_max_request_size that the read/write data for
SCSI commands do not exceed the limit set by the OS.


Abel



More information about the sane-devel mailing list