[sane-devel] Snapscan: Epson 2480 hangs on amd64

Julien BLACHE jb@jblache.org
Sat, 16 Oct 2004 13:03:45 +0200


Hi,

My Epson 2480 hangs when doing a preview on an amd64 box, however it
works fine on both an i386 and a PowerPC boxes.

Here's the end of the log :

[snapscan] sane_snapscan_start: after measuring speed:
        3816 bytes per scan line
        0.000000 milliseconds per scan line.
        ==>inf bytes per millisecond
[snapscan] calibrate: reading calibration data (1 lines)
[snapscan] read_calibration_data
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x647088,10,0x75fdb0,0xbfffe438 (61200))
[snapscan] atomic_usb_cmd(0,0x647088,10,0x75fdb0,0xbfffe438 (61200))
[snapscan] usb_cmd(0,0x647088,10,0x75fdb0,0xbfffe438 (61200))
[snapscan] usb_cmd: cmdlen=10, datalen=0
[snapscan] usb_write: writing:  0x28 0x00 0x82 0x00 0x00 0x01 0x00 0xef 0x10 0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read Only 0 bytes read
[snapscan] usb_read: reading:  0x5e 0x5d 0x63 0x60 0x60 0x5d 0x62 0x5e 0x60 0x64 ...
[snapscan] Read 0 bytes
[snapscan] read_calibration_data: snapscan_cmd command failed: Error during device I/O
[snapscan] calibrate: read_calibration_data command failed: Error during device I/O
[snapscan] sane_snapscan_start: calibration failed.
[snapscan] release_unit
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfffe480,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfffe480,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfffe480,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x17 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_write Only 0 bytes written
[snapscan] Written 0 bytes
[snapscan] release_unit: scsi command error: Error during device I/O
[snapscan] sane_snapscan_cancel
[snapscan] release_unit
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfffe3b0,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfffe3b0,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfffe3b0,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x17 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_write Only 0 bytes written
[snapscan] Written 0 bytes
[snapscan] release_unit: scsi command error: Error during device I/O
[snapscan] close_scanner
[snapscan] snapscani_usb_close(0)
[snapscan] 1st read 977 write 411
[snapscan] usb_cmd(0,0xbfffe3b0,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_write Only 0 bytes written
[snapscan] Written 0 bytes
[snapscan] 2nd read 977 write 411

dmesg indicates the usb operations time out (ret -110).

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb@jblache.org>                                  GPG KeyID 0xF5D65169