kopia lustrzana https://gitlab.com/sane-project/website
86 wiersze
4.2 KiB
HTML
86 wiersze
4.2 KiB
HTML
<!-- received="Wed Jun 30 09:02:16 1999 PDT" -->
|
||
<!-- sent="Wed, 30 Jun 1999 17:44:03 +0200" -->
|
||
<!-- name="abel deuring" -->
|
||
<!-- email="a.deuring@satzbau-gmbh.de" -->
|
||
<!-- subject="Re: problems increasing SG_BIG_BUFF" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="problems increasing SG_BIG_BUFF" -->
|
||
<title>sane-devel: Re: problems increasing SG_BIG_BUFF</title>
|
||
<h1>Re: problems increasing SG_BIG_BUFF</h1>
|
||
<b>abel deuring</b> (<a href="mailto:a.deuring@satzbau-gmbh.de"><i>a.deuring@satzbau-gmbh.de</i></a>)<br>
|
||
<i>Wed, 30 Jun 1999 17:44:03 +0200</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#251">[ date ]</a><a href="index.html#251">[ thread ]</a><a href="subject.html#251">[ subject ]</a><a href="author.html#251">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0252.html">Malcolm Wallace: "Nikon Coolscan with RedHat 6.0"</a>
|
||
<li> <b>Previous message:</b> <a href="0250.html">abel deuring: "Re: problems increasing SG_BIG_BUFF"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0047.html">Andreas Buesching: "problems increasing SG_BIG_BUFF"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
Hi Rainer!<br>
|
||
<i>> </i><br>
|
||
<i>> Douglas Gilbert wrote:</i><br>
|
||
<i>> ></i><br>
|
||
<i>> > abel deuring wrote:</i><br>
|
||
<i>> > ></i><br>
|
||
<i>> > > Hi all!</i><br>
|
||
<i>> > ></i><br>
|
||
<i>> > ></i><br>
|
||
<i>> > > This suggests that most if not all scanner carriage stops can be avoided</i><br>
|
||
<i>> > > if consecutive reads commands are sent to the scanner as soon as</i><br>
|
||
<i>> > > possible after the data from the previous command has been read in.</i><br>
|
||
<i>> > ></i><br>
|
||
<i>> > > Doug, what do you think about adding ioctl-calls to the SG driver which</i><br>
|
||
<i>> > > implement queueing of asynchrounous SCSI commands?</i><br>
|
||
<i>> ></i><br>
|
||
<i>> > Abel,</i><br>
|
||
<i>> > Command queuing is already there but turned off by</i><br>
|
||
<i>> > default (because cdparanoia got upset when it found</i><br>
|
||
<i>> > it :-) ). It is demonstrated in a program called</i><br>
|
||
<i>> > sgq_dd512 (a "dd" variant) that can be found on</i><br>
|
||
<i>> > sg's home page in the utility tarball.</i><br>
|
||
<i>> ></i><br>
|
||
<i>> > See the SG_SET_COMMAND_Q ioctl(). I was not aware</i><br>
|
||
<i>> > that many scanners supported command queuing.</i><br>
|
||
<i>> ></i><br>
|
||
<i>> > Doug Gilbert</i><br>
|
||
<i>> ></i><br>
|
||
<i>> > --</i><br>
|
||
<i>> > Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
|
||
<i>> > To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
|
||
<i>> </i><br>
|
||
<i>> Does this mean, that I might just enable command queue tagging,</i><br>
|
||
<i>> recompile the kernel and possibly sane and it should work? If yes, where</i><br>
|
||
<i>> can I enable it?</i><br>
|
||
<p>
|
||
Unfortunately it needs a little bit more work to benefit from SG command<br>
|
||
queueing with Sane. At present, sanei_scsi.c has its own command queue<br>
|
||
which is filled with a call to sanei_scsi_req_enter, and queued requests<br>
|
||
are sent to the scanner if sanei_scsi_req_wait is called (this is a<br>
|
||
somewhat oversimplified description -- it's some months ago that I had a<br>
|
||
closer look into sanei_scsi.c)<br>
|
||
<p>
|
||
Further, the backend for your scanner needs to make use of the functions<br>
|
||
sanei_scsi_req_enter and sanei_scsi_req_wait instead of sanei_scsi_cmd.<br>
|
||
<p>
|
||
Abel<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="0252.html">Malcolm Wallace: "Nikon Coolscan with RedHat 6.0"</a>
|
||
<li> <b>Previous message:</b> <a href="0250.html">abel deuring: "Re: problems increasing SG_BIG_BUFF"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0047.html">Andreas Buesching: "problems increasing SG_BIG_BUFF"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|