Re: Getting started with SANE & SnapScan

Gordon Scott (gordon@apis.demon.co.uk)
Tue, 8 Dec 1998 16:47:05 +0000 (GMT)

On Mon, 7 Dec 1998, Gordon Scott wrote:

> On the configure for both Sanes I get a GTK warning -- 1.0.4 but GTK+
> 0.0.0 found. That's clearly erroneous as I doubt a version 0.0.0 ever
> existed ;-)

I'm still having trouble here, despite the appropriate library reported by
ldconfig. This does account for the failure to build xscanimage, though.

> dest = (ppm_dest_ptr)
> (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
^
Looks to me like this star should not be there. Am I wrong? There are
some other similar lines, (though they don't fail??). I've changed them
all and it still compiles ok, so there are now no bugs, right? <grin>

> Attempting to run scanimage, I get:
> # scanimage --device /dev/scanner > /tmp/try.pnm
> scanimage: open of device /dev/scanner failed: Invalid argument
>
> /dev/scanner is symbolically linked to /dev/sgg, which is where my

... and tools/find-scanner finds it ok at both locations
(AGFA SNAPSCAN 600 1.20).

So ... devices aren't '/dev's, huh? -- Ho Hum.

Setting to -d snapscan or -d snapscan:/dev/scanner with full
debugging proceeds ok, but still give the same error.

Setting to -d snapscan:/dev/sgg may give a clue -- it appears to try
and use /dev/sga and the source code says it only supports /dev/sga --
though I'm not convinced that's true. I haven't yet found out where it
gets that sga -- it's not from the .conf files.

TIA,
G.

--
Gordon Scott   gordon@apis.demon.co.uk      gordon@multitone.co.uk (work)
<A HREF="http://www.apis.demon.co.uk">Gordon's Apis Home Page</A>
Beekeeper; Kendo 3rd Dan, retd :-(; Sometime sailor.  Hampshire, England.
	    Linux -- Because I like to *get* there today.

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