[sane-devel] Snapscan 310 not recognized by scanimage

Yannick sevmek@free.fr
Wed, 17 Apr 2002 16:27:41 +0200


Hi,

I'm trying to make work my snapscan 310 (with the AVA-1505AE SCSI controler 
on ISA card).

At this point the scanner is recognized by sane-find-scanner program but it 
is not by scanimage or xscanimage.

Maybe it's a bug or maybe it's a config problem, i don't know.
I tried the FAQ, the archive mailling-list but didn't find any answerd.

Some infos :
I'm running mandrake 8.1,
i installed sane 1.0.7 from source with the snapscan patch 
(snapscan-20020414.tar.gz) - the current version, isn't it ?,

To make the AVA-1505AE works i use this method :
My "lilo.conf" :
image=/boot/vmlinuz
	label=linux
	root=/dev/hda6
	initrd=/boot/initrd.img
	append=" hdc=ide-scsi devfs=mount quiet aha152x=0x0140,10,2"
	vga=788
	read-only

I have to do this first :
# modprobe aha152x
Then the scanner is well know by the system :

[yan@localhost tools]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: YAMAHA   Model: CRW4001          Rev: 1.0c
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 02 Lun: 00
  Vendor: AGFA     Model: SNAPSCAN 310     Rev: 1.20
  Type:   Scanner                          ANSI SCSI revision: 02

The find scanner output :
$ sane-find-scanner -v
# 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.

# You may want to run this program as super-user to find all devices.
# Once you found the scanner devices, be sure to adjust access
# permissions as necessary.

sane-find-scanner: searching for SCSI scanners:
sane-find-scanner: checking /dev/scanner... open ok
sane-find-scanner: found SCSI scanner "AGFA SNAPSCAN 310 1.20" at device 
/dev/scanner
sane-find-scanner: checking /dev/sg0... open ok
sane-find-scanner: found SCSI CD-drive "YAMAHA CRW4001 1.0c" at device 
/dev/sg0
sane-find-scanner: checking /dev/sg1... open ok
sane-find-scanner: found SCSI scanner "AGFA SNAPSCAN 310 1.20" at device 
/dev/sg1
sane-find-scanner: checking /dev/sg2... failed to open
sane-find-scanner: checking /dev/sg3... failed to open
sane-find-scanner: checking /dev/sg4... failed to open
sane-find-scanner: checking /dev/sg5... failed to open
sane-find-scanner: checking /dev/sg6... failed to open
sane-find-scanner: checking /dev/sg7... failed to open
sane-find-scanner: checking /dev/sg8... failed to open
sane-find-scanner: checking /dev/sg9... failed to open
sane-find-scanner: checking /dev/sga... failed to open
sane-find-scanner: checking /dev/sgb... failed to open
sane-find-scanner: checking /dev/sgc... failed to open
sane-find-scanner: checking /dev/sgd... failed to open
sane-find-scanner: checking /dev/sge... failed to open
sane-find-scanner: checking /dev/sgf... failed to open
sane-find-scanner: checking /dev/sgg... failed to open
sane-find-scanner: checking /dev/sgh... failed to open
sane-find-scanner: checking /dev/sgi... failed to open
sane-find-scanner: checking /dev/sgj... failed to open
sane-find-scanner: checking /dev/sgk... failed to open
sane-find-scanner: checking /dev/sgl... failed to open
sane-find-scanner: checking /dev/sgm... failed to open
sane-find-scanner: checking /dev/sgn... failed to open
sane-find-scanner: checking /dev/sgo... failed to open
sane-find-scanner: checking /dev/sgp... failed to open
sane-find-scanner: checking /dev/sgq... failed to open
sane-find-scanner: checking /dev/sgr... failed to open
sane-find-scanner: checking /dev/sgs... failed to open
sane-find-scanner: checking /dev/sgt... failed to open
sane-find-scanner: checking /dev/sgu... failed to open
sane-find-scanner: checking /dev/sgv... failed to open
sane-find-scanner: checking /dev/sgw... failed to open
sane-find-scanner: checking /dev/sgx... failed to open
sane-find-scanner: checking /dev/sgy... failed to open
sane-find-scanner: checking /dev/sgz... failed to open
sane-find-scanner: searching for USB scanners:
sane-find-scanner: checking /dev/usb/scanner... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner0... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner1... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner2... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner3... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner4... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner5... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner5... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner7... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner8... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner9... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner10... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner11... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner12... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner13... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner14... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner15... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner0... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner1... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner2... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner3... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner4... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner5... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner6... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner7... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner8... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner9... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner10... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner11... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner12... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner13... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner14... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner15... failed to open (status 4)
sane-find-scanner: done

The xscanimage output :

[yan@localhost yan]$export SANE_DEBUG_SNAPSCAN=2

[yan@localhost yan]$ xscanimage
[sanei_debug] Setting debug level of snapscan to 2.
[snapscan] add_device: "YAMAHA CRW4001" 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
[xscanimage] No scanners were identified. If you were expecting something
          different, check that the scanner is plugged in, turned on and
          detected by sane-find-scanner (if appropriate). Please read
          the documentation which came with this software (README, FAQ,
          manpages).

The scanimage output :
[yan@localhost tools]$ 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).

Any idea ?

Thanks for your attention,
Yannick Defais