[sane-devel] NetBSD pkgsrc - SANE 1.0.8 + Relisys AVEC II S3 v1.07 / TECO VM3564

Brian A. Seklecki lavalamp@spiritual-machines.org
05 Dec 2002 05:12:32 -0500


Hey all:

Platform is NetBSD/sparc 1.6_STABLE (few weeks old -rnetbsd-1-6). 
Device is connected to isp0 (68 pin card -> 25 pin scanner interface,
only device on bus) with appropriate cabling and termination:

# uname -a
NetBSD hurt 1.6 NetBSD 1.6 (GENERIC) #0: Mon Sep  9 08:27:06 UTC
2002    
autobuild@tgm.daemon.org:/autobuild/sparc/OBJ/autobuild/src/sys/arch/sparc/compile/GENERIC sparc

*) from dmesg(8):

isp0 at sbus0 slot 1 offset 0x10000 level 3 (ipl 5) for QLGC,isp
scsibus1 at isp0: 16 targets, 8 luns per target
scsibus1: waiting 2 seconds for devices to settle...
ss0 at scsibus1 target 4 lun 0: <RELISYS, AVEC II S3, 1.07> SCSI2
6/scanner fixed
ss0: async, 8-bit transfers


The device model  is only a few off from know working/tested/untest
models, so I figured I'd give it a whirl w/ the teco1 driver >:} ...I
modified teco1.c and teco1.conf and added the following:

  {6, "TECO VM3564",
   "Relisys", "AVEC II S3",
   {1, 1200, 1},
   300, 1200,
   1
   },

(and many variations of resolutions and pass numbers, etc.)

teco1.conf:

scsi "RELISYS" "VM3564"  Scanner * * * 0


*) sane-find-scanner output:

bash-2.05# sane-find-scanner -v

sane-find-scanner: checking /dev/ss0... open ok
  Inquiry for device:
000: 06 00 02 02 43 00 00 10 52 45 4c 49 53 59 53 20    ....C...RELISYS 
016: 41 56 45 43 20 49 49 20 53 33 20 20 20 20 20 20    AVEC II S3      
032: 31 2e 30 37 31 2e 30 37 00 01 54 45 43 4f 20 56    1.071.07..TECO V
048: 4d 33 35 36 34 20 00 01 01 2c 00 01 02 58 09 f6    M3564 ...,...X..
064: 0d af 01 2c 00 08 01 00                            ...,....

sane-find-scanner: found SCSI scanner "RELISYS AVEC II S3 1.07" at
device /dev/ss0
sane-find-scanner: searching for USB scanners:
sane-find-scanner: done


The device fires up using in xsane(1) and scanimage(1), however it bombs
out with:

# scanimage -v -d teco1:/dev/ss0 --format=pnm -t 50 -l 50 -x 50 -y 50
scanimage: scanning image of size 192x197 pixels at 1 bits/pixel
scanimage: acquiring gray frame
P4
# SANE data follows
192 197
assertion "dev->image_end != 0" failed: file "teco1.c", line 1235,
function "teco_fill_image"
Abort trap


...so maybe there is hope.  I did find one match for this model (3564)
in the list archives at:

http://www.mostang.com/pipermail/sane-devel/2002-November/005107.html

which linked to:

http://gkall.hobby.nl/notes2.html

...which indicated that support is in the works for teco2 or teco3.  So
I guess i'll try to get ahold of some recent CVS snapshots.


l8r,
-lava