[sane-devel] Epson Perfection 2400 Photo scanner problems
Olaf Meeuwissen
olaf@epkowa.co.jp
Mon, 24 May 2004 09:38:34 +0900
<brook@biology.nmsu.edu> writes:
> I am trying to get an Epson Perfection 2400 Photo scanner working with
> sane v1.0.12 on a NetBSD box. sane-find-scanner reports it correctly
> as:
This scanner should just work.
> found USB scanner (vendor=0x04b8, product=0x011b) at libusb:/dev/usb1:/dev/ugen0
>
> However, running scanimage -L (with SANE_DEBUG_EPSON=255) yields the
> following:
>
> [sanei_debug] Setting debug level of epson to 255.
> [epson] sane_init: sane-backends 1.0.12
> [epson] sane_init, ># epson.conf<
[snip]
> [epson] SANE Epson Backend v0.2.36 - 2003-03-26
> [epson] attach(libusb:/dev/usb1:/dev/ugen0, 3)
> [epson] attach: opening libusb:/dev/usb1:/dev/ugen0
> [epson] Found valid EPSON scanner: 0x4b8/0x11b (vendorID/productID)
> [epson] send buf, size = 2
> [epson] buf[0] 1b .
> [epson] buf[1] 40 @
> [epson] receive buf, expected = 1, got = 0
> [epson] get_identity_information()
> [epson] send buf, size = 2
> [epson] buf[0] 1b .
> [epson] buf[1] 49 I
>
> At that point it hangs indefinitely.
>
> Any pointers on how to debug this are welcome. Thanks for your help.
The epson backend recognized your scanner OK, reset it (ESC-@) and
then queries the scanner for its ID (ESC-I). Looks like it isn't
getting an answer, so I'd suggest you look what is happening in the
USB layer.
You can see what's going on by setting the SANE_DEBUG_SANEI_USB
environment variable to something sensible. IIRC, a value of 5 to 10
should be more or less sensible.
Hope this helps,
--
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