Mike Kelly wrote:
> 
> Hi,
> 
> I'm having a problem using my HP ScanJet IIcx.  I've set up SANE, and it
> works enough to get the scanner to calibrate itself, but it suddenly quits
> before actually scanning the image.  The reason I suspect this is a scsi
> problem, and not a problem with my SANE configuration is because I get the
> following entries in my logfile:
> 
> > Mar 16 12:50:29 ratbert kernel: scsi : aborting command due to timeout :
> > pid 0, scsi0, channel 0, id 6, lun 0 Read (6) 00 00 80 00 00
> > Mar 16 12:50:29 ratbert kernel: scsi : aborting command due to timeout :
> > pid 0, scsi0, channel 0, id 6, lun 0 Read (6) 00 00 80 00 00
> > Mar 16 12:50:32 ratbert kernel: SCSI host 0 abort (pid 0) timed out -
> > resetting
> > Mar 16 12:50:32 ratbert kernel: SCSI bus is being reset for host 0 channel 0.
> > Mar 16 12:50:34 ratbert kernel: (scsi0:0:6:-1) Unexpected busfree, LASTPHASE
> > = 0 x1, SEQADDR = 0x161

This is probably a Sane error, a too short timeout value in in
sanei/sanei_scsi.c. Please change the line 

      req->sgdata.sg3.hdr.timeout = 10000;

(line 1892 in Sane 1.0.4) to

      req->sgdata.sg3.hdr.timeout = 1000 * 10 * 60;

Abel

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to