[sane-devel] R: Re: R: Re: scanner Epson DX4250 not working in Ubuntu 11.10

Olaf Meeuwissen olaf.meeuwissen at avasys.jp
Thu Apr 26 07:35:42 UTC 2012


"Giorgio F. Signorini" <giorgio.signorini at unifi.it> writes:

>  > From: Olaf Meeuwissen <olaf.meeuwissen at avasys.jp>
>  > Date: Thu, 26 Apr 2012 08:54:22 +0900
>  > 
>  > Thanks for the logs.  In the first log, all device I/O looks fine.  In
>  > the second log, the backend indicates that it did not get a reply to the
>  > very first command it sends to the scanner.  There is no information on
>  > why.  Could you provide a log with the low-level USB debug messages?
>  > Something like
>  > 
>  >   SANE_DEBUG_SANEI_USB=255 scanimage -L
>  > 
>  > should do the trick.
>
> These logs are too big for the list server. You can find them at
>
> http://dl.dropbox.com/u/72259035/scanimage-sanei.ok.log
> http://dl.dropbox.com/u/72259035/scanimage-sanei.fail.log

Thanks.  I should have mentioned to disable all backends except for
epson2 in your dll.conf ;-)

Here's the relevant bit of scanimage-sanei.fail.log:

  [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
  [sanei_usb] 000 1B 40                                           .@
  [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes
  [sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
  [sanei_usb] sanei_usb_read_bulk: read failed: Resource temporarily unavailable

Here's why the device is not recognized.  Now it is guess work why the
device is temporarily unavailable when trying to reset it, but replies
just fine to the status query to comes immediately after.

  [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
  [sanei_usb] 000 1B 66                                           .f
  [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes
  [sanei_usb] sanei_usb_read_bulk: trying to read 4 bytes
  [sanei_usb] 000 02 02 2A 00                                     ..*.
  [sanei_usb] sanei_usb_read_bulk: wanted 4 bytes, got 4 bytes
  [sanei_usb] sanei_usb_read_bulk: trying to read 42 bytes
  [sanei_usb] 000 00 00 00 00 00 00 00 00 00 00 00 C0 D8 27 D8 36 .............'.6
  [sanei_usb] 010 00 00 00 00 00 00 00 00 00 00 43 58 34 32 30 30 ..........CX4200
  [sanei_usb] 020 20 20 20 20 20 20 20 20 20 20
  [sanei_usb] sanei_usb_read_bulk: wanted 42 bytes, got 42 bytes

I have no idea why this happens.  It doesn't look specific to your
particular scanner.  Anyone have any idea?

FWIW, you may want to try the epkowa backend included with Image Scan!
for Linux available here:

  http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX

to see if you can reproduce it with that backend as well.

Sorry this doesn't help,
-- 
Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962               Help support software freedom
                 http://www.fsf.org/jf?referrer=1962



More information about the sane-devel mailing list