[sane-devel] sane-sp15c and Fujitsu 620c ADF double-page feed

Garrick Sitongia sitongia at hotmail.com
Wed Mar 24 10:03:30 GMT 2004


I fixed the document double page feed problem. It seems the 620c 
automatically feeds the page out. Then sp15c would send it a separate page 
feed. I commented out lines 1571-1573 in sp15c.c  to prevent this. I'm not 
sure its the correct fix, but I read that this backend is unsupported.

/*  ret = sp15c_object_discharge (s);
if (ret)
   return ret;
*/

Garrick


>From: "Garrick Sitongia" <sitongia at hotmail.com>
>To: sane-devel at lists.alioth.debian.org
>Subject: [sane-devel] sane-sp15c and Fujitsu 620c ADF double-page feed
>Date: Tue, 23 Mar 2004 20:16:57 -0800
>
>When I put many docs in the ADF, sane will scan the 1st, eject it, then it 
>will feed the next straight through without scanning it, scan the 3rd, feed 
>the 4th through, scan the 5th, etc. How do we get it to stop scanning only 
>every other document?
>
>I have done this:
>
>"export SANE_DEBUG_SP15C=25"
>
>then
>
>"scanimage --mode 8-bit --format=tiff --resolution 240 --y-resolution 240 
>--source ADF --batch -y 270"
>
>It seems to eject the odd pages when doing a "sp15c_object_discharge".
>
>(TRIMMED DEBUG OUTPUT FILE)
>[sp15c] sp15c.c:               1322  sanei_scsi_cmd: returning 46828 bytes:
>[sp15c] sp15c.c:               1336  >rslt>
>[sp15c] sp15c.c:               1345  000: ed e6 e6 e7 de e8 fa f3 f8 f2 f5 
>fd fb fe fc f9
>[sp15c] sp15c.c:               1345  016: fc f0 f2 fc fe f5 f9 fd f2 ef ef 
>f9 fd fe fe fd
>[sp15c] sp15c.c:               1345  032: fe fe fd fe fe fe fd fe fe fc fd 
>fd fc fd fe fe
>[sp15c] sp15c.c:               1345  048: fd fe fe fc f3 fb f8 fc fe fc f8 
>fe fe fc fd fa
>[sp15c] sp15c.c:               1345  064: f5 f4 f6 f9 f2 f0 f0 f5 fb f6 ee 
>ed ee f7 f8 f2
>[sp15c] sp15c.c:               1355  080: fc f3 f5 ed fe f2 f5 fb fe fe fe 
>fe fb f7 fb f6
>[sp15c] sp15c.c:               902   sane_read: read 32768 bytes of 32768
>[sp15c] sp15c.c:               898   sane_read
>[sp15c] sp15c.c:               2014  reader_process: buffer of 46828 bytes 
>read; 0 bytes to go
>[sp15c] sp15c.c:               2023  reader_process: finished
>[sp15c] sp15c.c:               902   sane_read: read 14060 bytes of 32768
>[sp15c] sp15c.c:               898   sane_read
>[sp15c] sp15c.c:               902   sane_read: read 0 bytes of 32768
>[sp15c] sp15c.c:               2031  do_eof
>[sp15c] sp15c.c:               936   sane_cancel
>[sp15c] sp15c.c:               1724  do_cancel
>[sp15c] sp15c.c:               2031  do_eof
>[sp15c] sp15c.c:               1733  do_cancel: kill reader_process
>[sp15c] sp15c.c:               1569  sp15c_free_scanner
>[sp15c] sp15c.c:               1766  sp15c_object_discharge
>[sp15c] sp15c.c:               1336  <cmd<
>[sp15c] sp15c.c:               1355  000: 31 00 00 00 00 00 00 00 00 00
>[sp15c] sp15c.c:               1322  sanei_scsi_cmd: returning 0 bytes:
>[sp15c] sp15c.c:               1625  wait_scanner
>[sp15c] sp15c.c:               1336  <cmd<
>[sp15c] sp15c.c:               1355  000: 00 00 00 00 00 00
>[sp15c] sp15c.c:               1322  sanei_scsi_cmd: returning 0 bytes:
>[sp15c] sp15c.c:               1643  wait_scanner: ok
>[sp15c] sp15c.c:               1777  sp15c_object_discharge: ok
>[sp15c] sp15c.c:               1625  wait_scanner
>[sp15c] sp15c.c:               1336  <cmd<
>[sp15c] sp15c.c:               1355  000: 00 00 00 00 00 00
>[sp15c] sp15c.c:               1322  sanei_scsi_cmd: returning 0 bytes:
>[sp15c] sp15c.c:               1643  wait_scanner: ok
>[sp15c] sp15c.c:               1336  <cmd<
>[sp15c] sp15c.c:               1355  000: 17 00 00 00 00 00
>[sp15c] sp15c.c:               1322  sanei_scsi_cmd: returning 0 bytes:
>[sp15c] sp15c.c:               1580  sp15c_free_scanner: ok
>[sp15c] sp15c.c:               1745  do_cancel: close filedescriptor
>Scanned page 1. (scanner status = 5)
>Scanning page 2
>[sp15c] sp15c.c:               723   sane_start
>[sp15c] sp15c.c:               1603  sp15c_grab_scanner
>(END)
>
>Thanks for any help.
>
>Garrick
>
>_________________________________________________________________
>Find a broadband plan that fits. Great local deals on high-speed Internet 
>access. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/
>
>
>--
>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

_________________________________________________________________
All the action. All the drama. Get NCAA hoops coverage at MSN Sports by 
ESPN. http://msn.espn.go.com/index.html?partnersite=espn





More information about the sane-devel mailing list