# Re: E6XL usable? & scg driver help [was: Re: Microtek V300, anyone?]

Scott J. Kramer (sjk@lux.com)
Sat, 19 Sep 1998 18:44:18 -1000

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Dr. Andreas Bolsch: "Re: newbie trouble"
- Previous message: Kevin Dalley: "suggestion for change in frontend/Makefile.in"

On Fri, 18-Sep-1998 @ 9:48, Scott J. Kramer wrote:
> Subject: E6XL usable? & scg driver help [was: Re: Microtek V300, anyone?]

[...]

> Also, I'm trying to get a borrowed E3 to work and am stuck at:

[...]

> Am I overlooking something obvious to get SANE backends working with
> scg? Thanx for any advice. Aloha,

Thanks to Martin Huber, I now have scanners working with SANE and the
scg driver. Here's his help:

Date: Fri, 18 Sep 1998 23:29:12 +0200 (MET DST)
From: Martin Huber <hu@garfield.m.isar.de>
Subject: Re: SANE SCSI inquiry failure on Solaris 2.5.1

This looks as if you don't have defined SOLARIS_INTERFACE in sanei_scsi.c.

Please check include/sane/config.h. The string

#define HAVE_SYS_SCSI_TARGETS_SCGIO_H 1

should be there, while all other SCSI related definitions should be
#undef'ed (and commented out).
Look at sanei_scsi.c, Line 790 to 817. (Perhaps compile find_scanner
and use gdb). You will see that there the c is stripped off.

The reason HAVE_SYS_SCSI_TARGETS_SCGIO_H wasn't defined was that I'd
run the `configure' script on a host that scg wasn't installed and
this check failed:

checking for sys/scsi/targets/scgio.h... no

So if you're intending to use the scg driver be sure to install that
package *before* configuring/compiling the SANE software. It might
be good to make a note of that in one of the README files.

The only trouble I've noticed are these messages which occur during
scanning:

Sep 19 17:54:36 shimmer saned[442]: access by sjk@halo.lux.com accepted
Sep 19 17:54:55 shimmer unix: handle_incomplete: 1 retry cnt: 27
Sep 19 18:01:16 shimmer last message repeated 100 times
Sep 19 18:02:54 shimmer unix: handle_incomplete: 1 retry cnt: 27
Sep 19 18:05:39 shimmer last message repeated 64 times

Those are coming from the scg driver; running `strings' on it reveals:

handle_incomplete: %d retry cnt: %d

I'm including Jörg Schilling on this message in case he has any
idea what's causing that -- I'm clueless without source code.

-sjk

    --
    Scott J. Kramer					LUX Consulting Services
    UNIX/Network Systems Consultant			P.O. Box 1487
    <sjk@lux.com>					Kailua, HI  96734

    PGP Key fingerprint =  BB 84 51 87 41 9C E0 46  B4 54 EA 11 A5 18 34 71

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

     Next message: Dr. Andreas Bolsch: "Re: newbie trouble"
     Previous message: Kevin Dalley: "suggestion for change in frontend/Makefile.in"