[sane-devel] sane-sp15c and Fujitsu 620c: Help needed for plumbing backend t
Garrick Sitongia
sitongia at hotmail.com
Fri Mar 26 01:56:34 GMT 2004
O.K. I eventually discovered I can put a document in the ADF and there is no
more error message and it will then scan from the flatbed. Not too difficult
for a workaround.
I had tried changing the 'AV_FUJITSU' to '0' as described below and there
was no change of results. I do not know what this is supposed to do.
By adding the block of code as described below, it appears the avision
backend now supports this scanner. There is just the ADF bug.
Garrick
>Date: Thu, 25 Mar 2004 14:47:13 -0800
>
>Sees that almost everything works now using avision backend. I can set
>brightness, contrast, scan color, gray scale, batch mode, and I didn't have
>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 'scanimage
>--source Flatbed ...'. Also trying XSane with "Flatbed" selected I get the
>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 mentions
>>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 block
>>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 different,
>> > [...]
>> >
>> > BTW the features I need are both the Flatbed and ADF functionality, and
>>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
>>loading
>> > >it. make sure the avision line does not have a #
>> > >
>> > >try scanimage -L to see if the avision backend sees the scanner. if
>>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
>>does not
>> > > > >support all of the fetures of the sp15/300/600, but it may have
>>better
>> > > > >support for the features you need.
>> > > > >
>> > > > >allan
>> > > > >
>> > > > >On Thu, 25 Mar 2004, Garrick Sitongia wrote:
>> > > > >
>> > > > > > The brightness and contrast levels are presently not supported
>>by
>> > >the
>> > > > >sp15c
>> > > > > > backend. These are presently hardcoded at 128. But I was able
>>to get
>> > >it
>> > > > > > working in the hardware by adding "scanf" statements in
>>sp15c.c.
>> > > > >Scanimage
>> > > > > > stops and I can enter numbers for brightness and contrast each
>>time
>> > >I
>> > > > >run
>> > > > > > scanimage.
>> > > > > >
>> > > > > > scanf("%d", &c); /* my code */
>> > > > > > dev->brightness = c;
>> > > > > > dev->threshold = 128;
>> > > > > > scanf("%d", &c); /* my code */
>> > > > > > dev->contrast = c;
>> > > > > >
>> > > > > > How instead do I pass these numbers to the backend from
>>scanimage?
>> > >Where
>> > > > > > scanimage would get them the usual way from command line args?
>> > > > > >
>> > > > > > Garrick
>> > > > > >
>> > > > > >
>>_________________________________________________________________
>> > > > > > FREE pop-up blocking with the new MSN Toolbar 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
>>know.
>> > > > >money isn't our god, integrity will free our souls" - Max Cavalera
>> > > > >
>> > > > >
>> > > > >--
>> > > > >sane-devel mailing list: sane-devel at 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 at lists.alioth.debian.org
>> > > >
>> > > > _________________________________________________________________
>> > > > MSN Toolbar provides one-click access to Hotmail from any Web page
>>
>> > >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 know.
>> > >money isn't our god, integrity will free our souls" - Max Cavalera
>> > >
>> > >
>> > >--
>> > >sane-devel mailing list: sane-devel at 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 at lists.alioth.debian.org
>> >
>> > _________________________________________________________________
>> > Free up your inbox with MSN Hotmail Extra Storage. Multiple plans
>>available.
>> >
>>http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/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 and
>safe. http://specials.msn.com/msn/security.asp
>
>
>--
>sane-devel mailing list: sane-devel at 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 at lists.alioth.debian.org
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
More information about the sane-devel
mailing list