sane-project-website/old-archive/1999-06/0047.html

127 wiersze
7.1 KiB
HTML

<!-- received="Wed Jun 9 03:47:49 1999 PDT" -->
<!-- sent="Wed, 9 Jun 1999 11:17:55 +0200" -->
<!-- name="Andreas Buesching" -->
<!-- email="crunchy@informatik.uni-bremen.de" -->
<!-- subject="problems increasing SG_BIG_BUFF" -->
<!-- id="99060909253500.13697@rahmen" -->
<!-- inreplyto="" -->
<title>sane-devel: problems increasing SG_BIG_BUFF</title>
<h1>problems increasing SG_BIG_BUFF</h1>
<b>Andreas Buesching</b> (<a href="mailto:crunchy@informatik.uni-bremen.de"><i>crunchy@informatik.uni-bremen.de</i></a>)<br>
<i>Wed, 9 Jun 1999 11:17:55 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#47">[ date ]</a><a href="index.html#47">[ thread ]</a><a href="subject.html#47">[ subject ]</a><a href="author.html#47">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0048.html">Douglas Gilbert: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Previous message:</b> <a href="0046.html">Lorenzo M. Catucci: "Re: UMAX and UTA?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0048.html">Douglas Gilbert: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0048.html">Douglas Gilbert: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0067.html">Petter Reinholdtsen: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0069.html">Douglas Gilbert: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0243.html">Rainer Krienke: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0246.html">abel deuring: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0248.html">Douglas Gilbert: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0249.html">Rainer Krienke: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0250.html">abel deuring: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0251.html">abel deuring: "Re: problems increasing SG_BIG_BUFF"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hello Developers,<br>
<p>
my situation:<br>
SuSE 6.1<br>
new kernel 2.2.9<br>
/usr/include/scsi is linked to /usr/src/linux/include/scsi<br>
<p>
problem:<br>
I tried to increase the generic-scsi buffer. The man-pages told me to change<br>
SG_BIG_BUFF. the new kernel uses another define (SG_SCATTER_SZ), but there are<br>
also these two lines:<br>
<p>
#define SG_BIG_BUFF SG_SCATTER_SZ /* for backward compatibility */<br>
/* #define SG_BIG_BUFF (SG_SCATTER_SZ * 8) */ /* =256KB, if you want */<br>
<p>
So I increased SG_BIG_BUFF and compiled the kernel and sane again. <br>
The result was: nothing. Some months ago when I used an older kernel (2.0.x),<br>
there was an result: My scanner did not stop every 5mm to transfer the data (it<br>
sounds horrible if it stops every 5mm).<br>
<p>
My question:<br>
Can anybody help me? How to increase the buffer?<br>
<p>
THANX FOR READING<br>
<p>
crunchy<br>
<pre>
--
-----------------------------------------------------------------
-- SMILE IF YOU LOSE
-----------------------------------------------------------------
WWW: <a href="http://www.informatik.uni-bremen.de/~crunchy/">http://www.informatik.uni-bremen.de/~crunchy/</a>
<a href="http://alive.informatik.uni-bremen.de/~crunchy/">http://alive.informatik.uni-bremen.de/~crunchy/</a>
<a href="http://www.penguinpowered.com/~crunchy/">http://www.penguinpowered.com/~crunchy/</a>
<p>
E-Mail: <a href="mailto:crunchy@informatik.uni-bremen.de">mailto:crunchy@informatik.uni-bremen.de</a>
<a href="mailto:crunchy@tzi.de">mailto:crunchy@tzi.de</a>
<a href="mailto:crunchy@tzi.org">mailto:crunchy@tzi.org</a>
<a href="mailto:crunchy@mbus.org">mailto:crunchy@mbus.org</a>
<a href="mailto:crunchy@wiptel.org">mailto:crunchy@wiptel.org</a>
<a href="mailto:crunchy@wiptel.de">mailto:crunchy@wiptel.de</a>
<a href="mailto:crunchy@wiptel.net">mailto:crunchy@wiptel.net</a>
<a href="mailto:crunchy@linuxfreak.com">mailto:crunchy@linuxfreak.com</a>
<a href="mailto:crunchy@linuxfan.com">mailto:crunchy@linuxfan.com</a>
<a href="mailto:crunchy@penguinpowered.com">mailto:crunchy@penguinpowered.com</a>
<a href="mailto:A.Buesching@netz.nsp.de">mailto:A.Buesching@netz.nsp.de</a>
<a href="mailto:andreas@netz.nsp.de">mailto:andreas@netz.nsp.de</a>
-----------------------------------------------------------------
<pre>
--
-----------------------------------------------------------------
-- SMILE IF YOU LOSE
-----------------------------------------------------------------
WWW: <a href="http://www.informatik.uni-bremen.de/~crunchy/">http://www.informatik.uni-bremen.de/~crunchy/</a>
<a href="http://alive.informatik.uni-bremen.de/~crunchy/">http://alive.informatik.uni-bremen.de/~crunchy/</a>
<a href="http://www.penguinpowered.com/~crunchy/">http://www.penguinpowered.com/~crunchy/</a>
<p>
E-Mail: <a href="mailto:crunchy@informatik.uni-bremen.de">mailto:crunchy@informatik.uni-bremen.de</a>
<a href="mailto:crunchy@tzi.de">mailto:crunchy@tzi.de</a>
<a href="mailto:crunchy@tzi.org">mailto:crunchy@tzi.org</a>
<a href="mailto:crunchy@mbus.org">mailto:crunchy@mbus.org</a>
<a href="mailto:crunchy@wiptel.org">mailto:crunchy@wiptel.org</a>
<a href="mailto:crunchy@wiptel.de">mailto:crunchy@wiptel.de</a>
<a href="mailto:crunchy@wiptel.net">mailto:crunchy@wiptel.net</a>
<a href="mailto:crunchy@linuxfreak.com">mailto:crunchy@linuxfreak.com</a>
<a href="mailto:crunchy@linuxfan.com">mailto:crunchy@linuxfan.com</a>
<a href="mailto:crunchy@penguinpowered.com">mailto:crunchy@penguinpowered.com</a>
<a href="mailto:A.Buesching@netz.nsp.de">mailto:A.Buesching@netz.nsp.de</a>
<a href="mailto:andreas@netz.nsp.de">mailto:andreas@netz.nsp.de</a>
-----------------------------------------------------------------
<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="0048.html">Douglas Gilbert: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Previous message:</b> <a href="0046.html">Lorenzo M. Catucci: "Re: UMAX and UTA?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0048.html">Douglas Gilbert: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0048.html">Douglas Gilbert: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0067.html">Petter Reinholdtsen: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0069.html">Douglas Gilbert: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0243.html">Rainer Krienke: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0246.html">abel deuring: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0248.html">Douglas Gilbert: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0249.html">Rainer Krienke: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0250.html">abel deuring: "Re: problems increasing SG_BIG_BUFF"</a>
<li> <b>Reply:</b> <a href="0251.html">abel deuring: "Re: problems increasing SG_BIG_BUFF"</a>
<!-- reply="end" -->
</ul>