[sane-devel] Epson Perfection 2400 Photo scanner problems

brook@biology.nmsu.edu brook@biology.nmsu.edu
Fri, 21 May 2004 20:06:26 -0600


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:

     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<
     [epson] sane_init, >#<
     [epson] sane_init, ># here are some examples for how to configure the EPSON backend<
     [epson] sane_init, >#<
     [epson] sane_init, ># SCSI scanner:<
     [epson] sane_init, ># scsi EPSON<
     [epson] sane_init, >#<
     [epson] sane_init, ># Parallel port scanner:<
     [epson] sane_init, >#pio 0x278<
     [epson] sane_init, >#pio 0x378<
     [epson] sane_init, >#pio 0x3BC<
     [epson] sane_init, >#<
     [epson] sane_init, ># USB scanner - only enable this if you have an EPSON scanner. It could<
     [epson] sane_init, >#               otherwise block your non-EPSON scanner from being<
     [epson] sane_init, >#               recognized.<
     [epson] sane_init, >#           Depending on your distribution, you may need either the<
     [epson] sane_init, >#           first or the second entry.<
     [epson] sane_init, >#usb libusb<
     [epson] sane_init, >usb libusb:/dev/usb1:/dev/ugen0<
     [epson] attach_one_usb(libusb:/dev/usb1:/dev/ugen0)
     [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.

Cheers,
Brook