[sane-devel] using Epson 2480 Photo with sane

Gert Ahrens gert.ahrens@datahighways.de
Fri, 26 Nov 2004 20:21:20 +0100


Hi,

I found in the archives from October connecting details for the Epson 2480 
Photo scanner. I compiled all packages sane-backends-1.0.15, 
sane-frontends-1.0.13 and xsane-0.96 on an AMD x86_64 system without any 
problems.
One time I tried to use my scanner I had success and all stuff was functional.
Each time later I had only the below output from xsane. I tried to use the 
firmware file from my installation disk and later l loaded the software from 
the epson us-site and used that Esfw41.bin without changes. Folks I get 
crazy.
Why only one time?

Thanks for your support
Gert

Thats to output of the xsane-command.

[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.40
[snapscan] add_usb_device(libusb:003:002)
[snapscan] add_usb_device: Detected (kind of) an USB device
[snapscan] snapscani_usb_open(libusb:003:002)
[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,0x7fbfff96e0,6,0x7fbfff96b0,0x7fbfff96a8 (36))
[snapscan] atomic_usb_cmd(0,0x7fbfff96e0,6,0x7fbfff96b0,0x7fbfff96a8 (36))
[snapscan] usb_cmd(0,0x7fbfff96e0,6,0x7fbfff96b0,0x7fbfff96a8 (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,0x0121.
[snapscan] snapscani_get_model_id: scanner identified
[snapscan] snapscani_check_device: Autodetected driver: Perfection 2480
[snapscan] snapscani_usb_close(0)
[snapscan] 1st read 3 write 1
[snapscan] snapscani_usb_cmd(0,0x7fbfff9710,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0x7fbfff9710,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0x7fbfff9710,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 (0x7fbfffa890, 0)
[snapscan] sane_snapscan_open (libusb:003:002, 0x7fbfffb390)
[snapscan] find_device
[snapscan] sane_snapscan_open: Allocating 64512 bytes as scanner buffer.
[snapscan] sane_snapscan_open: allocated scanner structure at 0x71e040
[snapscan] open_scanner
[snapscan] snapscani_usb_open(libusb:003:002)
[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,0x7fbfffb1c0,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0x7fbfffb1c0,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0x7fbfffb1c0,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,0x7fbfffb330,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0x7fbfffb330,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0x7fbfffb330,6,0x0,0x0 (0))
[snapscan] sane_snapscan_open: self test passed.
[snapscan] inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x71e078,6,0x72e270,0x71e198 (120))
[snapscan] atomic_usb_cmd(0,0x71e078,6,0x72e270,0x71e198 (120))
[snapscan] usb_cmd(0,0x71e078,6,0x72e270,0x71e198 (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 33
[snapscan] Downloading file:/usr/local/etc/sane.d/Esfw41.bin
[snapscan] Cannot open firmware file file:/usr/local/etc/sane.d/Esfw41.bin.
[snapscan] Edit the firmware file entry in snapscan.conf.
[snapscan] sane_snapscan_open: download_firmware command failed: Invalid 
argument
[snapscan] sane_snapscan_exit