Discussion:
[sane-devel] Epson Perfection 1640SU with ADF or Filmadapter
Terje J. Hanssen
2004-08-17 17:28:48 UTC
Permalink
I have an SCSI Epson Perfection 1640SU OFFICE scanner, which includes an
ADF and optional a Filmadapter (included in the PHOTO model). The
included software for Windows, Epson Smartpanel for scanners and Epson
Twain5, support both the ADF and the Filmadapter.

Now I try to get this scanner to work with Linux (SJDS and Suse9.1)
using Sane 1.0.14 and Xsane 0.95. Flatbed scanning works OK in both
cases. But when selecting scanner source Auto Doc Feeder in Xsane, the
following error message occure: "Failed to start scanner: Error during
device I/O", and no scanning starts. Neither Kooka works with the ADF in
Suse9.1.

According to
http://www.sane-project.org/cgi-bin/driver.pl?manu=epson&model=perfection+1640+SU&bus=scsi
it looks like the Sane support for Epson Perfection 1640SU should be
complete, possibly also for the PHOTO model with the filmadapter?

However, it looks like there maybe exist different versions of the Sane
backends for this scanner, epson 0.2.42 and epkowa 1.5.2. I am not sure
which version that is included in Sane 1.0.14.

Can someone explain the differences for me and which version I possibly
possibly should use and how?
Can there be other reason that the ADF don't work? Maybe the ADF is not
supported at all, or?
I am also interested to hear if someone has got the Epson Perfection
1640SU ADF to work and possibly how they got it to work?

Thanks,

Terje J. Hanssen
Karl Heinz Kremer
2004-08-17 18:01:58 UTC
Permalink
Does scanning with the TPU work?

Can you please capture a debug log. Run the following commands in a
terminal window:

export SANE_DEBUG_EPSON=128
xsane > /tmp/scan.log 2>&1

Then select the ADF and try to scan. THis will capture all communication
between the backend and the scanner in the file /tmp/scan.log. Please
attach this to an email and send it to me.

Thanks,

Karl Heinz
Post by Terje J. Hanssen
I have an SCSI Epson Perfection 1640SU OFFICE scanner, which includes an
ADF and optional a Filmadapter (included in the PHOTO model). The
included software for Windows, Epson Smartpanel for scanners and Epson
Twain5, support both the ADF and the Filmadapter.
Now I try to get this scanner to work with Linux (SJDS and Suse9.1)
using Sane 1.0.14 and Xsane 0.95. Flatbed scanning works OK in both
cases. But when selecting scanner source Auto Doc Feeder in Xsane, the
following error message occure: "Failed to start scanner: Error during
device I/O", and no scanning starts. Neither Kooka works with the ADF in
Suse9.1.
According to
http://www.sane-project.org/cgi-bin/driver.pl?manu=epson&model=perfection+1640+SU&bus=scsi
it looks like the Sane support for Epson Perfection 1640SU should be
complete, possibly also for the PHOTO model with the filmadapter?
However, it looks like there maybe exist different versions of the Sane
backends for this scanner, epson 0.2.42 and epkowa 1.5.2. I am not sure
which version that is included in Sane 1.0.14.
Can someone explain the differences for me and which version I possibly
possibly should use and how?
Can there be other reason that the ADF don't work? Maybe the ADF is not
supported at all, or?
I am also interested to hear if someone has got the Epson Perfection
1640SU ADF to work and possibly how they got it to work?
Thanks,
Terje J. Hanssen
--
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Terje J. Hanssen
2004-08-17 21:02:30 UTC
Permalink
Currently I have the ADF physical mounted on the scanner, and I wished
to get this to work first on Linux, before I replace the ADF with the
TPU. That is, I havent't tried the TPU on Linux yet.

I have attached two files on the same PC using different Linux distros
(multiboot):

1) scan.log_sjds is created on Sun Java Desktop System R2 (Suse 8.1
based) using compiled Sane 1.0.14 and Xsane 0.95. (At installation time,
I increased the access modus of /dev/sg0 from 600 to 777, before the
scanner was detected by the software).

2) scan.log_suse is created on SuSE9.1 Pro using Sane 1.013 and Xsane
0.92 from the SuSE media.


Terje J. Hanssen
Post by Karl Heinz Kremer
Does scanning with the TPU work?
Can you please capture a debug log. Run the following commands in a
export SANE_DEBUG_EPSON=128
xsane > /tmp/scan.log 2>&1
Then select the ADF and try to scan. THis will capture all communication
between the backend and the scanner in the file /tmp/scan.log. Please
attach this to an email and send it to me.
Thanks,
Karl Heinz
Post by Terje J. Hanssen
I have an SCSI Epson Perfection 1640SU OFFICE scanner, which includes an
ADF and optional a Filmadapter (included in the PHOTO model). The
included software for Windows, Epson Smartpanel for scanners and Epson
Twain5, support both the ADF and the Filmadapter.
Now I try to get this scanner to work with Linux (SJDS and Suse9.1)
using Sane 1.0.14 and Xsane 0.95. Flatbed scanning works OK in both
cases. But when selecting scanner source Auto Doc Feeder in Xsane, the
following error message occure: "Failed to start scanner: Error during
device I/O", and no scanning starts. Neither Kooka works with the ADF in
Suse9.1.
According to
http://www.sane-project.org/cgi-bin/driver.pl?manu=epson&model=perfection+1640+SU&bus=scsi
it looks like the Sane support for Epson Perfection 1640SU should be
complete, possibly also for the PHOTO model with the filmadapter?
However, it looks like there maybe exist different versions of the Sane
backends for this scanner, epson 0.2.42 and epkowa 1.5.2. I am not sure
which version that is included in Sane 1.0.14.
Can someone explain the differences for me and which version I possibly
possibly should use and how?
Can there be other reason that the ADF don't work? Maybe the ADF is not
supported at all, or?
I am also interested to hear if someone has got the Epson Perfection
1640SU ADF to work and possibly how they got it to work?
Thanks,
Terje J. Hanssen
--
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Terje J. Hanssen
2004-09-01 00:14:36 UTC
Permalink
Post by Karl Heinz Kremer
Does scanning with the TPU work?
Yes, I have now tested Epson Perfection 1640SU with the TPU (film
adapter) option (replaced the ADF) using xsane and this works!
The TPU/Flatbed sources became available in xsane. I scanned a slide in
the TPU, used Positive Film with 14 bit Color depth (the scanner's 42
bit not supported) and resolution 3200.

In addition, I've noted the following documents about this scanner:
http://www.freecolormanagement.com/sane/1640.html
http://www.freecolormanagement.com/sane/faq.html

"The timeout value still has to be increased. The time the scanner needs
to complete some operations depends on the resolution and the bit depth.
For the newer 1600dpi models it seems to be necessary to increase the
timeout to 80 seconds".

Could it be worth to try to increase the timeout (for the ADF); and if
possible how is the commands to do it?

Regards,
Terje J. Hanssen

Olaf Meeuwissen
2004-08-18 02:03:45 UTC
Permalink
Post by Terje J. Hanssen
However, it looks like there maybe exist different versions of the
Sane backends for this scanner, epson 0.2.42 and epkowa 1.5.2. I am
not sure which version that is included in Sane 1.0.14.
Can someone explain the differences for me and which version I
possibly possibly should use and how?
Only the epson backend is included in sane-backends. The epkowa
backend comes with "Image Scan! for Linux" which is available for
download at:

http://www.epkowa.co.jp/english/linux_e/index.html

The backend should be usable with other frontends as well, but the
iscan frontend makes certain assumptions about the backend is it
talking to that may not hold for other backends. That is, it only
works with the epkowa backend (in all likelihood).

HTH,
--
Olaf Meeuwissen EPSON KOWA Corporation, PF1
FSF Associate Member #1962 sign up at http://member.fsf.org/
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90
Penguin's lib! -- I hack, therefore I am -- LPIC-2
Terje J. Hanssen
2004-08-18 16:21:15 UTC
Permalink
Only the epson backend is included in sane-backends. The epkowa
backend comes with "Image Scan! for Linux" which is available for
http://www.epkowa.co.jp/english/linux_e/index.html
I would just add that I am also able to run "xscanimage" after the sane
installation. But as far as have seen, the xscanimage is set up for
flatbed scanning only and with no selection for ADF.

Terje J. Hanssen
Henning Meier-Geinitz
2004-08-20 16:40:43 UTC
Permalink
Hi,
Post by Terje J. Hanssen
I would just add that I am also able to run "xscanimage" after the sane
installation. But as far as have seen, the xscanimage is set up for
flatbed scanning only and with no selection for ADF.
Generally speaking xscanimage can also use an ADF as usually the
selection to use an ADF is a ANE option or is a fixed setting.
However, you are right as xscanimage only scans one page when you
press the scan button.

Besides xsane, scanimage and scanadf provide support for doing batch
scans.

Bye,
Henning
Terje J. Hanssen
2004-08-23 00:10:57 UTC
Permalink
Post by Henning Meier-Geinitz
Post by Terje J. Hanssen
I would just add that I am also able to run "xscanimage" after the sane
installation. But as far as have seen, the xscanimage is set up for
flatbed scanning only and with no selection for ADF.
Generally speaking xscanimage can also use an ADF as usually the
selection to use an ADF is a ANE option or is a fixed setting.
However, you are right as xscanimage only scans one page when you
press the scan button.
Besides xsane, scanimage and scanadf provide support for doing batch
scans.
I have tested more and extracted output as follows and added some questions:

1) Hardware info:

/usr/sbin/hwinfo (extract of "EPSON" related content of a logfile) :
Vendor: EPSON Model: Perfection1640 Rev: 1.03
vendor "EPSON", model "Perfection1640", rev "1.03", type "Processor"
vendor "EPSON", model "Perfection1640", rev "1.03", type "Processor"
Model=EPSON Perfection1640
VendorName=EPSON
Model=EPSON Perfection1640
VendorName=EPSON
Model: "EPSON Perfection1640"
Vendor: "EPSON"
Model: "EPSON Perfection1640"
Vendor: "EPSON"

2) epson.conf:

My /etc/sane.d/epson.conf file contains only one line that is not
commented out: scsi epson

3) scanimage:

# scanimage -L
device `epson:/dev/sg0' is a Epson Perfection1640 flatbed scanner

# scanimage -d epson:/dev/sg0
run flatbed scanning

scanimage -h shows all options available. There is listed an option
"--source flatbed|Automatic Document Feeder"
I tried something like

# scanimage -d epson:/dev/sg0 --source Automatic Document Feeder
This syntax was obviously not correct. Can someone tell me how it should
looks like to scan from the ADF?

3) xscanimage:

# xscanimage -ANE
didn't work. Is this the correct syntax to scan from the ADF?

However I discovered that starting xscanimage (without options) and by
enlarging the X widget, a selection for scan source (like that in xsane)
became visible. I selected Automatic Document Feeder and clicked on the
Scan button. An error message said: Fail to start scanner, error during
device I/O. That is exact the same message as mentioned with xsane. No
scanning at all started. Only setting the source back to the default
Flatbed worked and scanned from the flatbed again.

4) scanadf:

# scanadf
started scanning from the flatbed! (not from the ADF): image-001,
image-002 and more and looked to never stop this process. I quitted the
program with Ctrl-C in the terminal window, and the scanner stopped
(pause).
cat52
2004-08-23 16:30:54 UTC
Permalink
Post by Terje J. Hanssen
Post by Terje J. Hanssen
I would just add that I am also able to run "xscanimage" after the sane
installation. But as far as have seen, the xscanimage is set up for
flatbed scanning only and with no selection for ADF.
[..cut..]
Post by Terje J. Hanssen
My /etc/sane.d/epson.conf file contains only one line that is not
commented out: scsi epson
# scanimage -L
device `epson:/dev/sg0' is a Epson Perfection1640 flatbed scanner
# scanimage -d epson:/dev/sg0
run flatbed scanning
scanimage -h shows all options available. There is listed an option
"--source flatbed|Automatic Document Feeder"
I tried something like
# scanimage -d epson:/dev/sg0 --source Automatic Document Feeder
This syntax was obviously not correct. Can someone tell me how it should
looks like to scan from the ADF?
I use in an application and work OK (but using USB):

scanimage --batch="out%.4d.pnm" --batch-start=1 --mode Color
--resolution 75 -t 5 -l 5 -x 125 -y 160 --source "Automatic Document
Feeder"
Post by Terje J. Hanssen
# xscanimage -ANE
didn't work. Is this the correct syntax to scan from the ADF?
[..cut..]
Post by Terje J. Hanssen
Thanks,
Terje J. Hanssen
--
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Javier Diaz-Reinoso
Web: http://homepage.mac.com/javier_diaz_r/
Henning Meier-Geinitz
2004-08-23 16:32:40 UTC
Permalink
Hi,
Post by Terje J. Hanssen
# scanimage -d epson:/dev/sg0 --source Automatic Document Feeder
This syntax was obviously not correct. Can someone tell me how it should
looks like to scan from the ADF?
Maybe something like:

scanimage --source "Automatic Document Feeder" --batch --batch-count 5

to scan five pages.
Post by Terje J. Hanssen
# xscanimage -ANE
didn't work. Is this the correct syntax to scan from the ADF?
The correct syntax is to run xscanimage without options, look for the
option called "source" and select "Automatic Document Feeder" :-)
Post by Terje J. Hanssen
However I discovered that starting xscanimage (without options) and by
enlarging the X widget, a selection for scan source (like that in xsane)
became visible. I selected Automatic Document Feeder and clicked on the
Scan button. An error message said: Fail to start scanner, error during
device I/O. That is exact the same message as mentioned with xsane. No
scanning at all started. Only setting the source back to the default
Flatbed worked and scanned from the flatbed again.
So it really looks like a backend problem.
Post by Terje J. Hanssen
# scanadf
started scanning from the flatbed! (not from the ADF): image-001,
image-002 and more and looked to never stop this process. I quitted the
program with Ctrl-C in the terminal window, and the scanner stopped
(pause).
Terje J. Hanssen
2004-08-24 01:31:17 UTC
Permalink
Post by Henning Meier-Geinitz
# scanimage -d epson:/dev/sg0 --source Automatic Document Feeder
This syntax was obviously not correct. Can someone tell me how it should
looks like to scan from the ADF?
scanimage --source "Automatic Document Feeder" --batch --batch-count 5
to scan five pages.
# scanimage -d epson:/dev/sg0 --source "Automatic Document Feeder"
--batch --batch-count 5

Scanning 5 pages, incrementing by 1, numbering from 1
Scanning page 1
scanimage: sane_start: Error during device I/O
Scanned page 1. (scanner status = 9)
You have new mail in /var/spool/mail/terje
Post by Henning Meier-Geinitz
# scanadf
No. You must also use "--source "Automatic..." to select where you
scan from.
# scanadf --source "Automatic Document Feeder"

scanadf: sane_start: Error during device I/O
Error during device I/O
Scanned 0 pages


Terje J. Hanssen
Loading...