Red Hat Bugzilla – Bug 62763
scanimage reads too much data, then wedges scanner
Last modified: 2007-04-18 12:41:42 EDT
I have a Microtek ScanMaker E6. I have sane-backends-1.0.7-6 and related
versions installed. I am running kernel 2.4.18-ac3.
Every time I scan a LineArt image with scanimage, I get this message at the end:
scanimage: WARNING: read more data than announced by backend (4203960/4198236)
Then, the next time I attempt to use scanimage, the scanner clicks a couple of
times and does nothing, and then scanimage reports:
scanimage: sane_start: Error during device I/O
While this is happening, these messages show up in my dmesg output:
scsi0:0:4:0: Attempting to queue a TARGET RESET message
scsi0:0:4:0: Command not found
aic7xxx_dev_reset returns 0x2002
scsi: device set offline - not ready or command retry failed after bus reset:
host 0 channel 0 id 4 lun 0
The only way I've found to get the scanner working again at this point is to use
"echo scsi remove-single-device ... > /proc/scsi/scsi" and then "echo scsi
add-single-device ... > /proc/scsi/scsi".
Note: I don't know if the "read more data" problem is related to the other
problem, but I'm mentioning it just in case it is.
Note 2: The data read by the scanimage, when it's working, seems just fine.
Note 3: This happens whether I pass "--calib_once no" or "--calib_once yes" to
Upstream URL seems to have changed:
There have been no replies though. :-(
Is this problem present with current (FC4 or Rawhide) packages?
There's no way for me to tell. I don't use the ScanMaker E6 anymore and can't
even plug it in to test it because I no longer have a SCSI controller in my
current controller and the old computer with the SCSI controller doesn't work
with FC4 or Rawhide.
Closing as there is no way to test this with current versions (without the HW).