kopia lustrzana https://gitlab.com/sane-project/website
118 wiersze
6.3 KiB
HTML
118 wiersze
6.3 KiB
HTML
|
<!-- received="Sat Apr 10 20:18:32 1999 PDT" -->
|
||
|
<!-- sent="Sat, 10 Apr 1999 23:20:02 -0400 (EDT)" -->
|
||
|
<!-- name="Larry Snyder" -->
|
||
|
<!-- email="larrys@lexis-nexis.com" -->
|
||
|
<!-- subject="Re: Relisys Backend devel snags -- lockup when scanner buffer fills" -->
|
||
|
<!-- id="199904110320.XAA07743@ra.lexis-nexis.com" -->
|
||
|
<!-- inreplyto="Pine.LNX.4.10.9904101855170.5139-100000@arakis.martica.org" -->
|
||
|
<title>sane-devel: Re: Relisys Backend devel snags -- lockup when scanner buffer fills</title>
|
||
|
<h1>Re: Relisys Backend devel snags -- lockup when scanner buffer fills</h1>
|
||
|
<b>Larry Snyder</b> (<a href="mailto:larrys@lexis-nexis.com"><i>larrys@lexis-nexis.com</i></a>)<br>
|
||
|
<i>Sat, 10 Apr 1999 23:20:02 -0400 (EDT)</i>
|
||
|
<p>
|
||
|
<ul>
|
||
|
<li> <b>Messages sorted by:</b> <a href="date.html#174">[ date ]</a><a href="index.html#174">[ thread ]</a><a href="subject.html#174">[ subject ]</a><a href="author.html#174">[ author ]</a>
|
||
|
<!-- next="start" -->
|
||
|
<li> <b>Next message:</b> <a href="0175.html">martica@martica.org: "Re: Relisys Backend devel snags -- lockup when scanner buffer fills"</a>
|
||
|
<li> <b>Previous message:</b> <a href="0173.html">martica@martica.org: "Relisys Backend devel snags -- lockup when scanner buffer fills"</a>
|
||
|
<!-- nextthread="start" -->
|
||
|
<li> <b>Next in thread:</b> <a href="0175.html">martica@martica.org: "Re: Relisys Backend devel snags -- lockup when scanner buffer fills"</a>
|
||
|
<li> <b>Reply:</b> <a href="0175.html">martica@martica.org: "Re: Relisys Backend devel snags -- lockup when scanner buffer fills"</a>
|
||
|
<!-- reply="end" -->
|
||
|
</ul>
|
||
|
<!-- body="start" -->
|
||
|
Hi Tyler --<br>
|
||
|
Just curious -- do you have 'disconnect' enabled in your scsi driver<br>
|
||
|
in the kernel?<br>
|
||
|
Just a thought...<br>
|
||
|
-ls-<br>
|
||
|
<p>
|
||
|
<p>
|
||
|
<a href="mailto:martica@martica.org">martica@martica.org</a> wrote:<br>
|
||
|
<i>> Howdy all,</i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> I've been working on the backend for the Relisys/Teco lines, and have</i><br>
|
||
|
<i>> got things working pretty darn good for 24bit color scans at low</i><br>
|
||
|
<i>> resolutions.</i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> PROBLEM: Scanner pauses scanning when buffer fills and machine locks</i><br>
|
||
|
<i>> after almost emptying the buffer.</i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> I've run into some sort of problem, which I think is somehow scsi</i><br>
|
||
|
<i>> related. When I scan at a high resolution the scanners internal buffer</i><br>
|
||
|
<i>> fills faster than I can read the data out of it. I could try to increase</i><br>
|
||
|
<i>> the sg buffer size, but I don't think that that is really a solution and</i><br>
|
||
|
<i>> the problem will still exist with high res scans of the entire flatbed</i><br>
|
||
|
<i>> area. </i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> When scanner under the Windows twain driver the scanner will pause</i><br>
|
||
|
<i>> scanning when its buffer fills and restart when it empties again. This</i><br>
|
||
|
<i>> seems to happen under linux, but the restart never occurs. When my</i><br>
|
||
|
<i>> backend reads the second last 32k chunk from the scanner the entire</i><br>
|
||
|
<i>> machine locks up and I have to shutdown the scanner to have it continue. </i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> I have to admit that this is my first foray into interfaceing with the</i><br>
|
||
|
<i>> scsi subsystem, and have some hope that one of you scsi/scanner gurus</i><br>
|
||
|
<i>> might have a clue to impart to me on possible reasons for this behavior.</i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> Thanks for your time,</i><br>
|
||
|
<i>> Tyler Bindon</i><br>
|
||
|
<i>> <a href="mailto:martica@martica.org">martica@martica.org</a></i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> Sample Scan Output for your perusal:</i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> % scanimage -x 200 -y 120 --resolution=300 > test.pnm</i><br>
|
||
|
<i>> .</i><br>
|
||
|
<i>> . many many many lines ommited</i><br>
|
||
|
<i>> .</i><br>
|
||
|
<i>> reader: waiting for data.[sanei_scsi] scsi_req_enter: entered 0x807ec10</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi_req_wait: waiting for 0x807ec10</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi.issue: 0x807ec10</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi_req_wait: read 54 bytes</i><br>
|
||
|
<i>> [relisys] avail = 181797</i><br>
|
||
|
<i>> ! 181797 bytes available.</i><br>
|
||
|
<i>> reader: About to read 32000 bytes, [sanei_scsi] scsi_req_enter: entered</i><br>
|
||
|
<i>> 0x807ec1</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi_req_wait: waiting for 0x807ec10</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi.issue: 0x807ec10</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi_req_wait: read 32036 bytes</i><br>
|
||
|
<i>> Successful.</i><br>
|
||
|
<i>> Outputting 32000 bytes to fd,</i><br>
|
||
|
<i>> reader: waiting for data.[sanei_scsi] scsi_req_enter: entered 0x807ec10</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi_req_wait: waiting for 0x807ec10</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi.issue: 0x807ec10</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi_req_wait: read 54 bytes</i><br>
|
||
|
<i>> [relisys] avail = 151104</i><br>
|
||
|
<i>> ! 151104 bytes available.</i><br>
|
||
|
<i>> reader: About to read 32000 bytes, [sanei_scsi] scsi_req_enter: entered</i><br>
|
||
|
<i>> 0x807ec1</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi_req_wait: waiting for 0x807ec10</i><br>
|
||
|
<i>> [sanei_scsi] sanei_scsi.issue: 0x807ec10</i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> </i><br>
|
||
|
<i>> </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>
|
||
|
<p>
|
||
|
<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="0175.html">martica@martica.org: "Re: Relisys Backend devel snags -- lockup when scanner buffer fills"</a>
|
||
|
<li> <b>Previous message:</b> <a href="0173.html">martica@martica.org: "Relisys Backend devel snags -- lockup when scanner buffer fills"</a>
|
||
|
<!-- nextthread="start" -->
|
||
|
<li> <b>Next in thread:</b> <a href="0175.html">martica@martica.org: "Re: Relisys Backend devel snags -- lockup when scanner buffer fills"</a>
|
||
|
<li> <b>Reply:</b> <a href="0175.html">martica@martica.org: "Re: Relisys Backend devel snags -- lockup when scanner buffer fills"</a>
|
||
|
<!-- reply="end" -->
|
||
|
</ul>
|