Re: problems with snapscan and scanimage

David Mosberger-Tang (David.Mosberger@acm.org)
Wed, 13 May 1998 21:36:00 -0700

>>>>> On Wed, 13 May 1998 17:54:54 +0700, "Rob Fargher" <fargher@POBoxes.com> said:

Rob> I had something similar happen to me and was pulling my hair
Rob> out, trying to figure out what was going wrong. I finally
Rob> realised that I had changed the SG_BIG_BUFF size in
Rob> /usr/src/linux/include/scsi/sg.h to the highest recommended
Rob> value before I compiled SANE but hadn't re-compiled the kernel
Rob> after I'd made the SC_BIG_BUFF change.

Rob> Once I re-compiled and installed the kernel with this change,
Rob> SANE and my scanner work properly.

This is a very unfortunate and annoying problem on Linux.
Fortunately, this problem will be fixed once Linux v2.2 is out (which
will have support for /proc/sys/kernel/sg-big-buff). In the meantime,
always make sure the SG_BIG_BUFF in SANE matches the one used by the
kernel.

Rob> Now if only I could figure out how to get the GIMP to load
Rob> xscanimage when I'm logged on as a user, I'd be happy. As a
Rob> user, I can load and use xscanimage but "Acquire Image" isn't
Rob> an option on the GIMP "Xtns" menu. It is when I'm logged in as
Rob> root, though.

GIMP queries a plug-in only when it looks like it's something new.
What you might want to do is:

(a) make sure all your scanners are turned on
(b) "touch" the xscanimage binary
(c) start gimp

This way, GIMP should re-query xscanimage and then it should be able
to find your scanner (the three steps need to be redone each time
there is a change in the device configuration).

--david

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