[sane-devel] Acer Vuego 310s (scsi) under FreeBSD
Sun, 23 Sep 2001 18:24:45 +0200
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
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.