sane-project-website/old-archive/1998-04/0054.html

74 wiersze
3.7 KiB
HTML

<!-- received="Sun Apr 5 04:54:26 1998 PDT" -->
<!-- sent="Sun, 5 Apr 1998 11:16:57 +0200 (MET DST)" -->
<!-- name="Rogier Wolff" -->
<!-- email="R.E.Wolff@BitWizard.nl" -->
<!-- subject="Re: Mustek," -->
<!-- id="199804050916.LAA01173@cave.BitWizard.nl" -->
<!-- inreplyto="199804042314.PAA15402@panda.mostang.com" -->
<title>sane-devel: Re: Mustek,</title>
<h1>Re: Mustek,</h1>
<b>Rogier Wolff</b> (<a href="mailto:R.E.Wolff@BitWizard.nl"><i>R.E.Wolff@BitWizard.nl</i></a>)<br>
<i>Sun, 5 Apr 1998 11:16:57 +0200 (MET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#54">[ date ]</a><a href="index.html#54">[ thread ]</a><a href="subject.html#54">[ subject ]</a><a href="author.html#54">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0055.html">Hugo van der Kooij: "Re: Q: support for digi cameras"</a>
<li> <b>Previous message:</b> <a href="0053.html">Peter-Paul Witta: "Q: support for digi cameras"</a>
<li> <b>In reply to:</b> <a href="0051.html">David Mosberger-Tang: "Re: Mustek,"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0064.html">David Mosberger-Tang: "Re: Mustek,"</a>
<li> <b>Reply:</b> <a href="0064.html">David Mosberger-Tang: "Re: Mustek,"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
David Mosberger-Tang wrote:<br>
<i>&gt; On a related topic: if you track kernel-development, you'll notice</i><br>
<i>&gt; that linux 2.1.92 has support for determining the kernel's SG_BIG_BUFF</i><br>
<i>&gt; value by reading /proc/sys/kernel/sg-big-buff. I added code to SANE</i><br>
<i>&gt; to make use of this info when it exists. What's missing in the kernel</i><br>
<i>&gt; is the ability to resize the big buffer on demand. For example, it</i><br>
<i>&gt; would be nice if it were possible to do:</i><br>
<i>&gt; </i><br>
<i>&gt; echo 1048576 &gt;/proc/sys/kernel/sg-big-buff</i><br>
<i>&gt; </i><br>
<i>&gt; and the big buffer from then on would be 1MB. I know some of you have</i><br>
<i>&gt; played with huge SCSI buffers. Anyone interested in folding this</i><br>
<i>&gt; feature into the official kernel sources? I think it would be a very</i><br>
<i>&gt; cool feature that would make using SANE a lot easier.</i><br>
<p>
Yes, I use a buffer this large, but the problem is to allocate such a<br>
large buffer on a running system. All I've been able to do is to <br>
allocate it at "boot time". <br>
<p>
What would be do-able is to take matt welsh's bigphysarea patches and<br>
get it into the standard kernel. Then you can allocate a bigphysarea<br>
when available, and a normal allocation fails.<br>
<p>
Roger. <br>
<p>
<pre>
--
If it's there and you can see it, it's REAL <a href="mailto:|___R.E.Wolff@BitWizard.nl">|___R.E.Wolff@BitWizard.nl</a> |
If it's there and you can't see it, it's TRANSPARENT | Tel: +31-15-2137555 |
If it's not there and you can see it, it's VIRTUAL |__FAX:_+31-15-2138217 |
If it's not there and you can't see it, it's GONE! -- Roy Wilks, 1983 |_____|
<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="0055.html">Hugo van der Kooij: "Re: Q: support for digi cameras"</a>
<li> <b>Previous message:</b> <a href="0053.html">Peter-Paul Witta: "Q: support for digi cameras"</a>
<li> <b>In reply to:</b> <a href="0051.html">David Mosberger-Tang: "Re: Mustek,"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0064.html">David Mosberger-Tang: "Re: Mustek,"</a>
<li> <b>Reply:</b> <a href="0064.html">David Mosberger-Tang: "Re: Mustek,"</a>
<!-- reply="end" -->
</ul>