[sane-devel] scsi works only when debugged epson
Klaus Dittrich
kladit at t-online.de
Fri Mar 26 13:26:45 GMT 2004
SANE-Backends-1.0.13
----------------------------------
SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 04)
(Works well with SANE-Backends-1.0.12, cdrecord, DAT-Tape, disks)
The scanner has two interfaces SCSI(attached) and USB(unplugged).
sane-find-scanner -q
found SCSI processor "EPSON Perfection1640 1.06" at /dev/sg2
found USB scanner (vendor=0x067b, product=0x2303) at libusb:003:003
Bug : Scanner found on unused interface too.
Wish: Device independent reporting format,
would make writing scanner scripts simpler.
e.g.
Found Scanner "EPSON Perfection1640 1.06" (vendor=0x067b, product=0x2303) \
SCSI epson:/dev/sg2
Found Scanner "EPSON Perfection1640 1.06" (vendor=0x067b, product=0x2303) \
USB epson:libusb:003:003
----------------------------------
scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
but
scanimage -d epson:/dev/sg2 --test works, the scanner does something.
scanimage -d epson:/dev/sg2 --resolution 100
returns scanimage: sane_start: Error during device I/O
but after a export SANEI_DEBUG_SANEI_SCSI=128
scanimage -d epson:/dev/sg2 --resolution 100
P4
# SANE data follows
848 1169
...
works, puts out data.
scanimage -L
device `epson:/dev/sg2' is a Epson Perfection1640 flatbed scanner
now works too.
Seems the bug has to do with debugging.
----------------------------------
Karl-Heinz I saw the fromfeed was alreay fixed in 1.0.13.
--
Regards Klaus
More information about the sane-devel
mailing list