[sane-devel] Epson Perfection 2670 and debian sid

Erik Svensson ZekeVarg at linux.se
Fri Feb 16 23:32:00 CET 2007


I can't get it to work at all, it's detected when running 
sane-find-scanner and scanimage -L. I have downloaded and extract the 
latest firmware from epson and edit the /etc/sane.d/snapscan.conf to 
point to it. I'm running debians standard kernel v. 2.6.18-4.
I also tried to rmmod ehci_hcd according to a tips on the list, but then 
the scanner isn't found at all.

This is the debug output:

$ export SANE_DEBUG_SNAPSCAN=128

$ scanimage -L
[sanei_debug] Setting debug level of snapscan to 128.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
[snapscan] add_usb_device(libusb:003:006)
[snapscan] add_usb_device: Detected (kind of) an USB device
[snapscan] snapscani_usb_open(libusb:003:006)
[snapscan] add_usb_device: Checking if 0x04b8 is a supported USB vendor ID
[snapscan] snapscani_check_device()
[snapscan] mini_inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfbbc902,6,0xbfbbc8de,0xbfbbc908 (36))
[snapscan] atomic_usb_cmd(0,0xbfbbc902,6,0xbfbbc8de,0xbfbbc908 (36))
[snapscan] usb_cmd(0,0xbfbbc902,6,0xbfbbc8de,0xbfbbc908 (36))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x24 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 
0x45 0x50 ...
[snapscan] Read 36 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] snapscani_check_device: Is vendor "EPSON" model "EPSON 
Scanner" a supported scanner?
[snapscan] snapscani_get_model_id(EPSON Scanner, 0, 2)
[snapscan] snapscani_get_model_id: looking up scanner for ID 0x04b8,0x011f.
[snapscan] snapscani_get_model_id: scanner identified
[snapscan] snapscani_check_device: Autodetected driver: Perfection 1670
[snapscan] snapscani_usb_close(0)
[snapscan] 1st read 3 write 1
[snapscan] snapscani_usb_cmd(0,0xbfbbc93e,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfbbc93e,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfbbc93e,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] 2nd read 4 write 2
[snapscan] snapscani_init_device_structure()
[snapscan] sane_snapscan_get_devices (0xbfbbdb08, 0)
device `snapscan:libusb:003:006' is a EPSON EPSON Scanner flatbed scanner
[snapscan] sane_snapscan_exit

$ scanimage -T -d snapscan:libusb:003:006 -v -v
[sanei_debug] Setting debug level of snapscan to 128.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
[snapscan] add_usb_device(libusb:003:006)
[snapscan] add_usb_device: Detected (kind of) an USB device
[snapscan] snapscani_usb_open(libusb:003:006)
[snapscan] add_usb_device: Checking if 0x04b8 is a supported USB vendor ID
[snapscan] snapscani_check_device()
[snapscan] mini_inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf89f5a2,6,0xbf89f57e,0xbf89f5a8 (36))
[snapscan] atomic_usb_cmd(0,0xbf89f5a2,6,0xbf89f57e,0xbf89f5a8 (36))
[snapscan] usb_cmd(0,0xbf89f5a2,6,0xbf89f57e,0xbf89f5a8 (36))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x24 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 
0x45 0x50 ...
[snapscan] Read 36 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] snapscani_check_device: Is vendor "EPSON" model "EPSON 
Scanner" a supported scanner?
[snapscan] snapscani_get_model_id(EPSON Scanner, 0, 2)
[snapscan] snapscani_get_model_id: looking up scanner for ID 0x04b8,0x011f.
[snapscan] snapscani_get_model_id: scanner identified
[snapscan] snapscani_check_device: Autodetected driver: Perfection 1670
[snapscan] snapscani_usb_close(0)
[snapscan] 1st read 3 write 1
[snapscan] snapscani_usb_cmd(0,0xbf89f5de,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf89f5de,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf89f5de,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] 2nd read 4 write 2
[snapscan] snapscani_init_device_structure()
[snapscan] sane_snapscan_open (libusb:003:006, 0xbf8a07b8)
[snapscan] find_device
[snapscan] sane_snapscan_open: Allocating 64512 bytes as scanner buffer.
[snapscan] sane_snapscan_open: allocated scanner structure at 0x8053b78
[snapscan] open_scanner
[snapscan] snapscani_usb_open(libusb:003:006)
[snapscan] sane_snapscan_open: waiting for scanner to warm up.
[snapscan] wait_scanner_ready
[snapscan] test_unit_ready
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf8a05c6,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf8a05c6,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf8a05c6,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] sane_snapscan_open: performing scanner self test.
[snapscan] send_diagnostic
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf8a0754,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf8a0754,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf8a0754,6,0x0,0x0 (0))
[snapscan] sane_snapscan_open: self test passed.
[snapscan] inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x8053ba8,6,0x805dde8,0x8053cb8 (120))
[snapscan] atomic_usb_cmd(0,0x8053ba8,6,0x805dde8,0x8053cb8 (120))
[snapscan] usb_cmd(0,0x8053ba8,6,0x805dde8,0x8053cb8 (120))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x78 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 
0x45 0x50 ...
[snapscan] Read 120 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] inquiry: exposure time: 0.0 ms
[snapscan] inquiry: ms per line: 0.000000
[snapscan] inquiry: G2R_DIFF: 0
[snapscan] inquiry: B2R_DIFF: 0
[snapscan] inquiry: Chroma offsets=0; Red=0, Green:=0, Blue=0
[snapscan] inquiry: hardware config = 0x00
[snapscan] inquiry: bits per pixel = 14
[snapscan] inquiry: pixels per scan line = 0
[snapscan] inquiry: bytes per scan line = 0
[snapscan] inquiry: number of scan lines = 0
[snapscan] inquiry: effective buffer size = 0 bytes, 0 lines
[snapscan] inquiry: expected total scan data: 0 bytes
[snapscan] Looking up 31
[snapscan] Downloading /lib/modules/esfw30.bin
[snapscan] Size of firmware: 45364
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x806d9f0,45374,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0x806d9f0,45374,0x0,0x0 (0))
[snapscan] usb_cmd(0,0x806d9f0,45374,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=10, datalen=45364
[snapscan] usb_write: writing:  0x2a 0x00 0x87 0x00 0x00 0x00 0x00 0xb1 
0x34 0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_write: writing:  0x02 0xae 0x34 0x32 0xff 0xff 0xff 0xff 
0xff 0xff ...
[snapscan] usb_write Only 2560 bytes written
[snapscan] Written 2560 bytes
[snapscan] sane_snapscan_open: download_firmware command failed: Error 
during device I/O
scanimage: open of device snapscan:libusb:003:006 failed: Error during 
device I/O
Calling sane_exit
[snapscan] sane_snapscan_exit
scanimage: finished

-- 
Cattle die, kinsmen die, thyself too soon must die,
      but one thing never, I ween, will die,
         fair fame of one who has earned.   "Havamal"
ZekeVarg at linux.se         http://zekevarg.homeip.net



More information about the sane-devel mailing list