[sane-devel] Re: Avision backend

Rene Rebe rene.rebe@gmx.net
Thu, 17 Jan 2002 19:21:24 +0100 (CET)


Hi.

From: abel deuring <a.deuring@satzbau-gmbh.de>
Subject: Re: [sane-devel] Re: Avision backend
Date: Thu, 17 Jan 2002 18:43:27 +0100

> Jose Paulo Moitinho de Almeida wrote:
> > 
> > On Wednesday 16 January 2002 23:44, Rene Rebe wrote:
> > > Hi all.
> > >
> > > I just merged our latest updates into the official sane CVS
> > > repository, the feature freeze is next monday - and I had to update
> > > some URLs anyway.
> > >
> > 
> > I have been busy lately but, from my viewpoint, the main problems (directly
> > and indirectly) related to the backend are:
> > 
> > - hpusbscsi+sane+avision will not handle large transfers. It is necessary to
> > use a large SANE_SG_BUFFERSIZE. Is it easy to fix?
> 
> use sanei_scsi_open_extended instead of sanei_scsi_open. The former
> function has one more parameter, the buffer size. On return, you should
> check, if you got the buffer size you wanted. If
> sanei_scsi_open_extended returns a too small value for your purposes,
> you can call an appropriate DBG statement and return an error to the
> caller.

Ok. The only problem we have is: that the calibration data seems to
get rather big (200kB - 400kB?) and it _seems_ that it has to be
transfered with one SCSI command. (From the windows-log they seem to
be also using a single command ...). I'm not such a SCSI freak - so is
it possible to devide a SCSI command into single small ones?

> Abel

k33p h4ck1n6
  René

-- 
René Rebe (Registered Linux user: #248718 <http://counter.li.org>)

eMail:    rene.rebe@gmx.net
          rene@rocklinux.org

Homepage: http://drocklinux.dyndns.org/rene/

Anyone sending unwanted advertising e-mail to this address will be
charged $25 for network traffic and computing time. By extracting my
address from this message or its header, you agree to these terms.