segfault with sane-umax

Iain O'Cain (ec@intranet.org)
Tue, 7 Oct 1997 18:15:13 -0600 (EDT)

I've gotten a Umax "SuperVista S-12" scanner that I'm trying to use with
the SCSI port on a Pro Audio Spectrum card. The system sees the scanner,
but scanimage dumps core when I run it even with just the "-h" option.
Could I be missing something when I compile SANE? Has anyone else used a
PAS with SANE?

A cat of /proc/scsi/scsi looks like this:

Attached devices:
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: UMAX Model: SuperVista S-12 Rev: V1.8
Type: Scanner ANSI SCSI revision: 02

...and /proc/scsi/pas16/0 says:

NCR5380 core release=7. PAS16 release=3
Base Addr: 0x00000 io_port: 0388 IRQ: 12.
Highwater I/O busy_spin_counts -- write: 0 read: 0
NCR5380 : coroutine isn't running.
scsi0: no currently connected command
scsi0: issue_queue
scsi0: disconnected_queue

I've compiled sane-0.63 and then tried sane-0.65, and what I get when I
try to run "scanimage -L" is:

device `umax:/dev/scanner' is a UMAX SuperVista S-12 flatbed scanner
device `pnm:0' is a Noname PNM file reader virtual device
device `pnm:1' is a Noname PNM file reader virtual device
Segmentation fault (core dumped)

With debugging on, that's:

[sanei_init_debug]: Setting debug level of umax to 128.
[umax] sane_init
[umax] attach_scanner: /dev/scanner
[umax] attach_scanner: opening /dev/scanner
[umax] init
[umax] initialize_values
[umax] identify_scanner
[umax] do_inquiry
[umax] Found UMAX scanner SuperVista S-12 version V1.8 on device /dev/scanner
[umax] get_inquiry_values
[umax] sane_get_devices
device `umax:/dev/scanner' is a UMAX SuperVista S-12 flatbed scanner
device `pnm:0' is a Noname PNM file reader virtual device
device `pnm:1' is a Noname PNM file reader virtual device
[umax] sane_exit
Segmentation fault (core dumped)

Thanks very much for any help!

- Iain

--
Iain O'Cain <ec@intranet.org>    - IO10 -     http://home.intranet.org/~ec/
                       If you need someone to blame
                         Throw a rock in the air
                        You'll hit someone guilty        -- U2

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com