|
scanimage hangs talking to usb scanner
I need help with a usb scanner. I got as far as a nice pre-scan, since then it doesn't work at all.
Today I connected an Epson Perfection 610 usb scanner to my Mandrake 9.2 system
I installed the SANE packages and edited /etc/sane.d/epson.conf to point to /dev/usb/scanner0.
scanimage -d epson -T successfully exercised scanner.
I started Kooka (the scanning application) and the scanner was listed in the lower left pane.
I clicked preview (or prescan?) and it did a nice quick scan, which appeared in the right pane.
I clicked "scan for real" (or whatever the other button said), the scanner light moved, the progress bar went to 1%, and the program stopped responding.
After several kill's and kill -9's, I got kooka to quit.
(reboot)
Tried kooka ... the program didn't start.
Killed kooka with -9, which worked after a while.
tried
$ SANE_DEBUG_EPSON=255 scanimage -L
[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:<
[epson] sane_init, >#<
[epson] sane_init, ># Auto-detection of models known to the "epson" backend<
[epson] sane_init, >#usb<
[epson] sane_init, >#<
[epson] sane_init, ># Auto-detection of model specified by vendor/product (example is Epson<
[epson] sane_init, ># Perfection 2450, use "lsusb" or "sane-find-scanner" to get the IDs of<
[epson] sane_init, ># your scanner model)<
[epson] sane_init, >#usb 0x04b8 0x0112<
[epson] sane_init, >#<
[epson] sane_init, ># Selection of scanner by device special file<
[epson] sane_init, ># 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 /dev/usbscanner0<
[epson] sane_init, >#usb /dev/usb/scanner0<
[epson] sane_init, ># 2004-03-07 JB : next line added for Epson Perfection 610 (usb)<
[epson] sane_init, >usb /dev/usb/scanner0<
[epson] attach_one_usb(/dev/usb/scanner0)
[epson] SANE Epson Backend v0.2.36 - 2003-03-26
[epson] attach(/dev/usb/scanner0, 3)
[epson] attach: opening /dev/usb/scanner0
[epson] Found valid EPSON scanner: 0x4b8/0x103 (vendorID/productID)
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 40 @
at this point the scanimage program hangs. This same command worked fine earlier today.
$ dmesg has these lines at the bottom:
usb-uhci.c: interrupt, status 3, frame# 1107
scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.
usb_control/bulk_msg: timeout
scanner.c: write_scanner: NAK received.
usb_control/bulk_msg: timeout
scanner.c: write_scanner: NAK received.
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110
usb_control/bulk_msg: timeout
scanner.c: write_scanner: NAK received.
usb_control/bulk_msg: timeout
scanner.c: write_scanner: NAK received.
usb_control/bulk_msg: timeout
How can I get my scanner working?
Thanks in advance,
- TSloth
|