[sane-devel] Problems with Epson Perfection 1670

Havard Rue hrue@math.ntnu.no
Wed, 15 Sep 2004 21:40:30 +0200


> >
> > [snapscan] sane_snapscan_read (0x859c230, 0xbff16b00, 8192,
> > 0xbff16afc) [snapscan] RGBRouter_get: remaining=8192,
> > pself->remaining=2172852, round_req=14868, cb_size=14868
> > [snapscan] (undef): EOF
> >
> >
> > Anyone having a clue of what's going on?
> 
> It seems the scanner just stops sending data. Can you send me the 
> complete log, please? 
> 
> Have you tried if disconnecting any other USB devices changes 
> anything? Are there any other error messages in 
> the /var/log/messages?

Hi. Thanks. 

I have tried disconnecting the printer also, trying a new cable and
another machine, the same happens all the time. I also tested the
scanner on a winxp machine, and it worked fine. Strangly, I have no
problems when I use the vuscan software under linux, but of course, I
only get $$$'s on the images..

there are no messages on /var/log/messages


I did 

	export SANE_DEBUG_SNAPSCAN=128
	export SANE_DEBUG_SANEI_USB=128

and then

	./xsane &> xsane.log

i placed the log at

	http://www.math.ntnu.no/~hrue/xsane.log.gz

the interesting part seems to be

[snapscan] usb_read: reading:  0xf0 0x00 0x04 0x00 0x00 0x00 0x00 0x0b
0x00 0x00 ...
[snapscan] Read 20 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 8 bytes
[sanei_usb] 0000: FB 00 00 00 00 00 00 00                        
................
[sanei_usb] sanei_usb_read_bulk: wanted 8 bytes, got 8 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] sense_handler(0, 0xbfe23280, 0x9c40a88)
[snapscan] sense_handler: sense key: 0x04, asc: 0x00, ascq: 0x00, i1:
0x80, i2: 0x00
[snapscan] sense_handler: Hardware error. (0x80, 0x00)
[snapscan] scsi_read: snapscan_cmd command failed: Error during device
I/O
[snapscan] Child reader process: Error during device I/O on read.
[snapscan] SCSISource_done
[snapscan] sane_snapscan_read (0x9c40a88, 0xbfe22510, 8192, 0xbfe2250c)
[snapscan] RGBRouter_get: remaining=8192, pself->remaining=1671408,
round_req=5724, cb_size=5724
[snapscan] (undef): EOF
[snapscan] sane_snapscan_read (0x9c40a88, 0xbfe22510, 8192, 0xbfe2250c)
[snapscan] RGBRouter_get: remaining=8192, pself->remaining=1671408,
round_req=5724, cb_size=5724
[snapscan] (undef): EOF
[snapscan] sane_snapscan_read (0x9c40a88, 0xbfe22510, 8192, 0xbfe2250c)
[snapscan] RGBRouter_get: remaining=8192, pself->remaining=1671408,
round_req=5724, cb_size=5724
[snapscan] (undef): EOF
[snapscan] sane_snapscan_read (0x9c40a88, 0xbfe22510, 8192, 0xbfe2250c)
[snapscan] RGBRouter_get: remaining=8192, pself->remaining=1671408,
round_req=5724, cb_size=5724
[snapscan] (undef): EOF
[snapscan] sane_snapscan_read (0x9c40a88, 0xbfe22510, 8192, 0xbfe2250c)
[snapscan] RGBRouter_get: remaining=8192, pself->remaining=1671408,
round_req=5724, cb_size=5724
[snapscan] (undef): EOF
                                                                                                                    
...goes on forever, until i ^C
                                                                                                                    
[snapscan] [snapscan] sane_snapscan_cancel
[snapscan] >>>>>>>> killing reader_process <<<<<<<<
[snapscan] reader_process killed
[snapscan] release_unit
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfe1f7fc,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfe1f7fc,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfe1f7fc,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x17 0x00 0x00 0x00 0x00 0x00
[sanei_usb] sanei_usb_write_bulk: trying to write 6 bytes
[sanei_usb] 0000: 17 00 00 00 00 00                           
................
[sanei_usb] sanei_usb_write_bulk: wanted 6 bytes, wrote 6 bytes
[snapscan] Written 6 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 8 bytes
[sanei_usb] 0000: FB 00 00 00 00 00 00 00                        
................
[sanei_usb] sanei_usb_read_bulk: wanted 8 bytes, got 8 bytes

and so on.


Thanks again,
Bests,
Havard


-- 
 Havard Rue
 Department of Mathematical Sciences
 Norwegian University of Science and Technology
 N-7491 Trondheim, Norway
 Voice: +47-7359-3533    URL  : http://www.math.ntnu.no/~hrue  
 Fax  : +47-7359-3524    Email: havard.rue@math.ntnu.no

 Please avoid sending me Word or PowerPoint attachments.
 See http://www.fsf.org/philosophy/no-word-attachments.html