[sane-devel] Problem in setting up Xsane (problem half solved)

Stephen Liu satimis@icare.com.hk
Sat, 01 Mar 2003 11:45:57 +0800


Hi Henning,

Henning Meier-Geinitz wrote:
  > - snip -


The scanner has been turned before booting PC

# sane-find-scanner
# Note that sane-find-scanner will find any scanner that is connected
# to a SCSI bus and some scanners that are connected to the Universal
# Serial Bus (USB) depending on your OS. It will even find scanners
# that are not supported at all by SANE. It won't find a scanner that
# is connected to a parallel or proprietary port.

sane-find-scanner: found SCSI scanner "AGFA SNAPSCAN 310 1.90" at device
/dev/scanner
sane-find-scanner: found SCSI scanner "AGFA SNAPSCAN 310 1.90" at device
/dev/sg1
sane-find-scanner: found SCSI scanner "AGFA SNAPSCAN 310 1.90" at device
/dev/sgb


# ls -l /dev/sg1
crwxrwxrwx    1 satimis  root      21,   1 Apr 11  2002 sg1
# ls -l /dev/sgb
lrwxrwxrwx    1 root     root            3 Aug 24  2002 sgb -> sg1

I think my scanner uses /dev/sg1 (If wrong, please correct me)
as safety measure I also did

# chmod -c 0777 /dev/sg0
mode of `sg0' changed to 0777 (rwxrwxrwx)

  > - snip -

  > No, please do exactly what I wrote. Hint: capital letters. Use
  > copy&paste to make sure that you don't make any mistakes.


# SANE_DEBUG_SNAPSCAN=255 scanimage -L
[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.7
[snapscan] add_device(/dev/sg0)
[snapscan] add_device: Detected (kind of) a SCSI device
[snapscan] mini_inquiry
[snapscan] snapscan_cmd
[snapscan] add_device: Is vendor "SONY" model "CD-RW  CRX160E" a
supported scanner?
[snapscan] add_device: "SONY CD-RW  CRX160E" is not one of AGFA SnapScan
300, 310, 600, 1212, 1236, e20, e25, e26, e40, e42, e50, e52 or e60
Acer 300, 310, 610, 610+, 620, 620+, 640, 1240, 3300, 4300 or 5300
Guillemot MaxiScan A4 Deluxe
[snapscan] sane_snapscan_get_devices (0xbffff498, 0)

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).
[snapscan] sane_snapscan_exit


B.Regards
Stephen