[sane-devel] sane-sp15c and Fujitsu 620c: Help needed for plumbing backend t

m. allan noah anoah@pfeiffer.edu
Mon, 5 Apr 2004 16:29:04 -0400 (EDT)


you should email the backend maintainer directly, and tell him, since he=20
may want to add support to the normal backend.

allan

On Thu, 25 Mar 2004, Garrick Sitongia wrote:

> O.K. I eventually discovered I can put a document in the ADF and there is=
 no=20
> more error message and it will then scan from the flatbed. Not too diffic=
ult=20
> for a workaround.
>=20
> I had tried changing the 'AV_FUJITSU' to '0' as described below and there=
=20
> was no change of results. I do not know what this is supposed to do.
>=20
> By adding the block of code as described below, it appears the avision=20
> backend now supports this scanner. There is just the ADF bug.
>=20
> Garrick
>=20
> >Date: Thu, 25 Mar 2004 14:47:13 -0800
> >
> >Sees that almost everything works now using avision backend. I can set=
=20
> >brightness, contrast, scan color, gray scale, batch mode, and I didn't h=
ave=20
> >the double-page feed problem that I initially had with the sp15c.
> >
> >Only thing, it seems to be stuck on using the ADF, even if I use 'scanim=
age=20
> >--source Flatbed ...'. Also trying XSane with "Flatbed" selected I get t=
he=20
> >error "Document Feeder out of Documents".
> >
> >Garrick
> >
> >>Date: Thu, 25 Mar 2004 16:07:20 -0500 (EST)
> >>
> >>ahh, now that i look at the avision backend, i see that it only mention=
s
> >>scanpartner units up thru the 600, but not the 620.
> >>
> >>you could try adding a new block for the 620c down near line 900 of
> >>avision.c and recompile. just copy the 600 block.
> >>
> >>if that does not work, you might try setting the 0 at the end of the bl=
ock
> >>to AV_FUJITSU (like the 15c is a few lines above)
> >>
> >>i have only done a cursory glance at this code, so it may not work, but
> >>its is worth a try :)
> >>
> >>allan
> >>
> >>On Thu, 25 Mar 2004, Garrick Sitongia wrote:
> >>
> >> > I modified my /usr/local/etc/sane.d/dll.conf file.
> >> > The avision.conf already has the line 'scsi FCPA'
> >> >
> >> > The 'scanimage -L'
> >> >
> >> > No scanners were identified. If you were expecting something differe=
nt,
> >> > [...]
> >> >
> >> > BTW the features I need are both the Flatbed and ADF functionality, =
and=20
> >>the
> >> > resolutions 150, 240 and 300 dpi.
> >> >
> >> > Garrick
> >> >
> >> > >Date: Thu, 25 Mar 2004 14:06:46 -0500 (EST)
> >> > >
> >> > >put a # in front of the sp15c line in /etc/sane.d/dll.conf to stop=
=20
> >>loading
> >> > >it. make sure the avision line does not have a #
> >> > >
> >> > >try scanimage -L to see if the avision backend sees the scanner. if=
=20
> >>not,
> >> > >it may need a line in avision.conf that says 'scsi FCPA'
> >> > >
> >> > >allan
> >> > >
> >> > >On Thu, 25 Mar 2004, Garrick Sitongia wrote:
> >> > >
> >> > > > When I run scanimage, sane chooses the backend to use based on
> >> > >autodetection
> >> > > > result. How do I direct it to using the avision backend?
> >> > > >
> >> > > > Garrick
> >> > > >
> >> > > > >Date: Thu, 25 Mar 2004 11:17:06 -0500 (EST)
> >> > > > >
> >> > > > >
> >> > > > >another option might be to try the avision backend instead. it=
=20
> >>does not
> >> > > > >support all of the fetures of the sp15/300/600, but it may have=
=20
> >>better
> >> > > > >support for the features you need.
> >> > > > >
> >> > > > >allan
> >> > > > >
> >> > > > >On Thu, 25 Mar 2004, Garrick Sitongia wrote:
> >> > > > >
> >> > > > > > The brightness and contrast levels are presently not support=
ed=20
> >>by
> >> > >the
> >> > > > >sp15c
> >> > > > > > backend. These are presently hardcoded at 128. But I was abl=
e=20
> >>to get
> >> > >it
> >> > > > > > working in the hardware by adding "scanf" statements in=20
> >>sp15c.c.
> >> > > > >Scanimage
> >> > > > > > stops and I can enter numbers for brightness and contrast ea=
ch=20
> >>time
> >> > >I
> >> > > > >run
> >> > > > > > scanimage.
> >> > > > > >
> >> > > > > >    scanf("%d", &c);    /* my code */
> >> > > > > >   dev->brightness =3D c;
> >> > > > > >   dev->threshold =3D 128;
> >> > > > > >    scanf("%d", &c);    /* my code */
> >> > > > > >   dev->contrast =3D c;
> >> > > > > >
> >> > > > > > How instead do I pass these numbers to the backend from=20
> >>scanimage?
> >> > >Where
> >> > > > > > scanimage would get them the usual way from command line arg=
s?
> >> > > > > >
> >> > > > > > Garrick
> >> > > > > >
> >> > > > > >=20
> >>_________________________________________________________________
> >> > > > > > FREE pop-up blocking with the new MSN Toolbar =96 get it now=
!
> >> > > > > > http://toolbar.msn.com/go/onm00200415ave/direct/01/
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >--
> >> > > > >"so don't tell us it can't be done, putting down what you don't=
=20
> >>know.
> >> > > > >money isn't our god, integrity will free our souls" - Max Caval=
era
> >> > > > >
> >> > > > >
> >> > > > >--
> >> > > > >sane-devel mailing list: sane-devel@lists.alioth.debian.org
> >> > > > >http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> >> > > > >Unsubscribe: Send mail with subject "unsubscribe your_password"
> >> > > > >              to sane-devel-request@lists.alioth.debian.org
> >> > > >
> >> > > > ________________________________________________________________=
_
> >> > > > MSN Toolbar provides one-click access to Hotmail from any Web pa=
ge=20
> >>=96
> >> > >FREE
> >> > > > download! http://toolbar.msn.com/go/onm00200413ave/direct/01/
> >> > > >
> >> > > >
> >> > >
> >> > >--
> >> > >"so don't tell us it can't be done, putting down what you don't kno=
w.
> >> > >money isn't our god, integrity will free our souls" - Max Cavalera
> >> > >
> >> > >
> >> > >--
> >> > >sane-devel mailing list: sane-devel@lists.alioth.debian.org
> >> > >http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> >> > >Unsubscribe: Send mail with subject "unsubscribe your_password"
> >> > >              to sane-devel-request@lists.alioth.debian.org
> >> >
> >> > _________________________________________________________________
> >> > Free up your inbox with MSN Hotmail Extra Storage. Multiple plans=20
> >>available.
> >> >=20
> >>http://join.msn.com/?pgmarket=3Den-us&page=3Dhotmail/es2&ST=3D1/go/onm0=
0200362ave/direct/01/
> >> >
> >> >
> >>
> >>--
> >>"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
> >>
> >
> >_________________________________________________________________
> >Check out MSN PC Safety & Security to help ensure your PC is protected a=
nd=20
> >safe. http://specials.msn.com/msn/security.asp
> >
> >
> >--
> >sane-devel mailing list: sane-devel@lists.alioth.debian.org
> >http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> >Unsubscribe: Send mail with subject "unsubscribe your_password"
> >             to sane-devel-request@lists.alioth.debian.org
>=20
> _________________________________________________________________
> Is your PC infected? Get a FREE online computer virus scan from McAfee=AE=
=20
> Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3D3963
>=20
>=20

--=20
"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