sane-project-website/old-archive/1998-05/0160.html

77 wiersze
3.9 KiB
HTML

<!-- received="Wed May 13 21:36:01 1998 PDT" -->
<!-- sent="Wed, 13 May 1998 21:36:00 -0700" -->
<!-- name="David Mosberger-Tang" -->
<!-- email="David.Mosberger@acm.org" -->
<!-- subject="Re: problems with snapscan and scanimage" -->
<!-- id="199805140436.VAA07647@panda.mostang.com" -->
<!-- inreplyto="199805132216.SAA22185@emerald.accessv.com" -->
<title>sane-devel: Re: problems with snapscan and scanimage</title>
<h1>Re: problems with snapscan and scanimage</h1>
<b>David Mosberger-Tang</b> (<a href="mailto:David.Mosberger@acm.org"><i>David.Mosberger@acm.org</i></a>)<br>
<i>Wed, 13 May 1998 21:36:00 -0700</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#160">[ date ]</a><a href="index.html#160">[ thread ]</a><a href="subject.html#160">[ subject ]</a><a href="author.html#160">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0161.html">David Mosberger-Tang: "Re: Win32 TWAIN DLL to interface with SANE"</a>
<li> <b>Previous message:</b> <a href="0159.html">David Mosberger-Tang: "Re: problems with snapscan and scanimage"</a>
<li> <b>In reply to:</b> <a href="0157.html">Rob Fargher: "Re: problems with snapscan and scanimage"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0174.html">Kenneth Crudup: "Re: problems with snapscan and scanimage"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt;&gt;&gt;&gt;&gt; On Wed, 13 May 1998 17:54:54 +0700, "Rob Fargher" &lt;<a href="mailto:fargher@POBoxes.com">fargher@POBoxes.com</a>&gt; said:</i><br>
<p>
Rob&gt; I had something similar happen to me and was pulling my hair<br>
Rob&gt; out, trying to figure out what was going wrong. I finally<br>
Rob&gt; realised that I had changed the SG_BIG_BUFF size in<br>
Rob&gt; /usr/src/linux/include/scsi/sg.h to the highest recommended<br>
Rob&gt; value before I compiled SANE but hadn't re-compiled the kernel<br>
Rob&gt; after I'd made the SC_BIG_BUFF change.<br>
<p>
Rob&gt; Once I re-compiled and installed the kernel with this change,<br>
Rob&gt; SANE and my scanner work properly.<br>
<p>
This is a very unfortunate and annoying problem on Linux.<br>
Fortunately, this problem will be fixed once Linux v2.2 is out (which<br>
will have support for /proc/sys/kernel/sg-big-buff). In the meantime,<br>
always make sure the SG_BIG_BUFF in SANE matches the one used by the<br>
kernel.<br>
<p>
Rob&gt; Now if only I could figure out how to get the GIMP to load<br>
Rob&gt; xscanimage when I'm logged on as a user, I'd be happy. As a<br>
Rob&gt; user, I can load and use xscanimage but "Acquire Image" isn't<br>
Rob&gt; an option on the GIMP "Xtns" menu. It is when I'm logged in as<br>
Rob&gt; root, though.<br>
<p>
GIMP queries a plug-in only when it looks like it's something new.<br>
What you might want to do is:<br>
<p>
(a) make sure all your scanners are turned on<br>
(b) "touch" the xscanimage binary<br>
(c) start gimp<br>
<p>
This way, GIMP should re-query xscanimage and then it should be able<br>
to find your scanner (the three steps need to be redone each time<br>
there is a change in the device configuration).<br>
<p>
--david<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0161.html">David Mosberger-Tang: "Re: Win32 TWAIN DLL to interface with SANE"</a>
<li> <b>Previous message:</b> <a href="0159.html">David Mosberger-Tang: "Re: problems with snapscan and scanimage"</a>
<li> <b>In reply to:</b> <a href="0157.html">Rob Fargher: "Re: problems with snapscan and scanimage"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0174.html">Kenneth Crudup: "Re: problems with snapscan and scanimage"</a>
<!-- reply="end" -->
</ul>