On Tue, Feb 28, 2006 at 07:15:43PM +0100, Krzysztof Halasa wrote: > blicero <[email protected]> writes: > > > <blicero> [sanei_debug] Setting debug level of snapscan to 2. > > <blicero> [snapscan] test_unit_ready: snapscan_cmd command failed: Device > > busy > > <blicero> [snapscan] Scanner warming up - waiting 8 seconds. > > <blicero> [snapscan] test_unit_ready: snapscan_cmd command failed: Error > > during > > device I/O > > <blicero> [snapscan] wait_scanner_ready: hardware error detected. > > <blicero> [snapscan] sane_snapscan_open: wait_scanner_ready after firmware > > upload command failed: Error during device I/O > > I was getting such things when sending (presumably) invalid commands > to the scanner, but with the original code and the last firmware > (EPSON GT-F520 1.08 Thu Apr 14 2005 14:32) it works. > > A more detailed debug log might reveal what's wrong.
I downloaded the last driver from the site, i extracted them via wine + cabextract I am using snapscan backend and epson dll i set the debug to 255 and i paste the result. also with mac and official cd found in the box the scanner would go nut and block itself. i am clueless [sanei_debug] Setting debug level of snapscan to 255. [snapscan] sane_snapscan_init [snapscan] sane_snapscan_init: Snapscan backend version 1.4.50 [snapscan] add_usb_device(libusb:001:005) [snapscan] add_usb_device: Detected (kind of) an USB device [snapscan] snapscani_usb_open(libusb:001:005) [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,0xbff85912,6,0xbff858ee,0xbff85918 (36)) [snapscan] atomic_usb_cmd(0,0xbff85912,6,0xbff858ee,0xbff85918 (36)) [snapscan] usb_cmd(0,0xbff85912,6,0xbff858ee,0xbff85918 (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,0x0122. [snapscan] snapscani_get_model_id: scanner identified [snapscan] snapscani_check_device: Autodetected driver: Perfection 3490 [snapscan] snapscani_usb_close(0) [snapscan] 1st read 3 write 1 [snapscan] snapscani_usb_cmd(0,0xbff8594e,6,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(0,0xbff8594e,6,0x0,0x0 (0)) [snapscan] usb_cmd(0,0xbff8594e,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 (0xbff86b28, 0) [snapscan] sane_snapscan_open (libusb:001:005, 0xbff86b28) [snapscan] find_device [snapscan] sane_snapscan_open: Allocating 129024 bytes as scanner buffer. [snapscan] sane_snapscan_open: allocated scanner structure at 0x8084940 [snapscan] open_scanner [snapscan] snapscani_usb_open(libusb:001:005) [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,0xbff86916,6,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(0,0xbff86916,6,0x0,0x0 (0)) [snapscan] usb_cmd(0,0xbff86916,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,0xbff86ac0,6,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(0,0xbff86ac0,6,0x0,0x0 (0)) [snapscan] usb_cmd(0,0xbff86ac0,6,0x0,0x0 (0)) [snapscan] sane_snapscan_open: self test passed. [snapscan] inquiry [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(0,0x8084970,6,0x80850e8,0x8084a80 (139)) [snapscan] atomic_usb_cmd(0,0x8084970,6,0x80850e8,0x8084a80 (139)) [snapscan] usb_cmd(0,0x8084970,6,0x80850e8,0x8084a80 (139)) [snapscan] usb_cmd: cmdlen=6, datalen=0 [snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x8b 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 139 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: Epson additional inquiry data: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [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 34 [snapscan] Downloading /usr/local/lib/Esfw52.bin [snapscan] Size of firmware: 63239 [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(0,0x80a4a58,63249,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(0,0x80a4a58,63249,0x0,0x0 (0)) [snapscan] usb_cmd(0,0x80a4a58,63249,0x0,0x0 (0)) [snapscan] usb_cmd: cmdlen=10, datalen=63239 [snapscan] usb_write: writing: 0x2a 0x00 0x87 0x00 0x00 0x00 0x00 0xf7 0x07 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 0xf2 0xd5 0x32 0xff 0xff 0xff 0xff 0xff 0xff ... [snapscan] Written 63239 bytes [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] Read 8 bytes [snapscan] wait_scanner_ready [snapscan] test_unit_ready [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(0,0xbff86926,6,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(0,0xbff86926,6,0x0,0x0 (0)) [snapscan] usb_cmd(0,0xbff86926,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 0x02 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] Read 8 bytes [snapscan] usb_request_sense [snapscan] usb_cmd(0,0xbff86712,6,0xbff866f6,0xbff86718 (20)) [snapscan] usb_cmd: cmdlen=6, datalen=0 [snapscan] usb_write: writing: 0x03 0x00 0x00 0x00 0x14 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: 0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0b 0x00 0x00 ... [snapscan] Read 20 bytes [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] Read 8 bytes [snapscan] sense_handler(0, 0xbff866f6, 0x8084940) [snapscan] sense_handler: sense key: 0x02, asc: 0x04, ascq: 0x01, i1: 0x08, i2: 0x00 [snapscan] sense_handler: Not ready. [snapscan] sense_handler: Logical unit is in process of becoming ready. (8 seconds) [snapscan] sense_handler: Not ready. [snapscan] test_unit_ready: snapscan_cmd command failed: Device busy [snapscan] Scanner warming up - waiting 8 seconds. [snapscan] test_unit_ready [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(0,0xbff86926,6,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(0,0xbff86926,6,0x0,0x0 (0)) [snapscan] usb_cmd(0,0xbff86926,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 0x02 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] Read 8 bytes [snapscan] usb_request_sense [snapscan] usb_cmd(0,0xbff86712,6,0xbff866f6,0xbff86718 (20)) [snapscan] usb_cmd: cmdlen=6, datalen=0 [snapscan] usb_write: writing: 0x03 0x00 0x00 0x00 0x14 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: 0xf0 0x00 0x04 0x00 0x00 0x00 0x00 0x0b 0x00 0x00 ... [snapscan] Read 20 bytes [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] Read 8 bytes [snapscan] sense_handler(0, 0xbff866f6, 0x8084940) [snapscan] sense_handler: sense key: 0x04, asc: 0x00, ascq: 0x00, i1: 0x00, i2: 0x04 [snapscan] sense_handler: Hardware error. (0x00, 0x04) [snapscan] test_unit_ready: snapscan_cmd command failed: Error during device I/O [snapscan] wait_scanner_ready: hardware error detected. [snapscan] sane_snapscan_open: wait_scanner_ready after firmware upload command failed: Error during device I/O scanimage: open of device snapscan:libusb:001:005 failed: Error during device I/O [snapscan] sane_snapscan_exit -- ciao blicero be true. be evil
