[sane-devel] HELP! Epson Perfection 4180 Photo

Olaf Meeuwissen olaf.meeuwissen at avasys.jp
Mon Jul 10 08:18:41 UTC 2006


"brinkleybw at bigfoot.com" <brinkleybw at gmail.com> writes:

> Olaf, yes, I did.  I just checked the Synaptic Package Manager and confirmed
> that I have loaded the iscan-plugin-gt-f600 package, version 1.0.0-2.  The X
> scanning apps behave as previoulsy reported.  It sounds like the scanner is
> returning a value(s) not expected by the software.
> BTW, I think a reboot may have triggered something.  First of all, the
> Segmentation Fault I reported in one of my previous posts now seems to appear
> only if I run with sudo.  If I execute 'SANE_DEBUG_EPKOWA=255 scanimage -d
> epkowa:libusb:004:003 > ~/test.pnm' I get the following output...back to the
> "read more data" warning.
> <<<snip>>>
> [epkowa] sane_open(libusb:004:003)
> [epkowa] init_options()
> [epkowa] open_scanner()
> [epkowa] setvalue(option = 39, value = 0xbfd68824)
> [epkowa] set = 0.000000
> [epkowa] setvalue(option = 40, value = 0xbfd68824)
> [epkowa] set = 0.000000
> [epkowa] sane_start()
> [epkowa] open_scanner()
> [epkowa] scanner is already open: fd = 0
> [epkowa] reset()
> [epkowa] send buf, size = 2
> [epkowa] buf[0] 1b .
> [epkowa] buf[1] 40 @
> [epkowa] receive buf, expected = 1, got = 1
> [epkowa] buf[0] 15 .

Huh?  Initialising the device fails?  Weird.

Looking over the debugging output in your previous mail _all_ commands
sent to the device fail and return a NAK (hexadecimal code 15).  That
doesn't look right.

It can't be a permission problem because then you would not even be
allowed to send commands (let alone get a reply ;-)

I wondering whether the transfer of the firmware file went allright
and whether you have the right file.  First, check the firmware file
like so:

  $ md5sum <path_to_iscan_data>/esfw43.bin
  0ea6ea67218298305e991436ed73c07e  <path_to_iscan_data>/esfw43.bin

The MD5 checksum you get should be the same as above.
<path_to_iscan_data> is probably /usr/share/iscan/, you can check with
`dpkg -L iscan-plugin-gt-f600` to make sure.

If that's okay, power cycle the device and run the following command
(make sure you have sufficient permissions to access the device):

  $ SANE_DEBUG_SANEI_USB=127 SANE_DEBUG_EPKOWA=127 scanimage --help &> debug.log

and send the debug.log file (as an attachment, please) to me (or the
list).

> [epkowa] close_scanner(fd = 0)
> scanimage: sane_start: Invalid argument
> [epkowa] close_scanner(fd = -1)
> scanimage: WARNING: read more data than announced by backend (0/3000582144)
> [epkowa] close_scanner(fd = -1)
> [epkowa] sane_exit
>
> [snip]

-- 
Olaf Meeuwissen                          EPSON AVASYS Corporation, SE1
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



More information about the sane-devel mailing list