kopia lustrzana https://gitlab.com/sane-project/website
113 wiersze
5.1 KiB
HTML
113 wiersze
5.1 KiB
HTML
<!-- received="Thu Sep 3 07:10:24 1998 PDT" -->
|
||
<!-- sent="Thu, 3 Sep 1998 07:09:28 -0700 (PDT)" -->
|
||
<!-- name="Ian R. Justman" -->
|
||
<!-- email="ianj@chocobo.org" -->
|
||
<!-- subject="Re: Apple OneScanner/Color OneScanner status?" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="35EE70BB.A264AA15@ariadne-t.gr" -->
|
||
<title>sane-devel: Re: Apple OneScanner/Color OneScanner status?</title>
|
||
<h1>Re: Apple OneScanner/Color OneScanner status?</h1>
|
||
<b>Ian R. Justman</b> (<a href="mailto:ianj@chocobo.org"><i>ianj@chocobo.org</i></a>)<br>
|
||
<i>Thu, 3 Sep 1998 07:09:28 -0700 (PDT)</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#29">[ date ]</a><a href="index.html#29">[ thread ]</a><a href="subject.html#29">[ subject ]</a><a href="author.html#29">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0030.html">Michael Short: "I am Having Problems Using SANE (Plz Hlp!)"</a>
|
||
<li> <b>Previous message:</b> <a href="0028.html">Milon Firikis: "Re: Apple OneScanner/Color OneScanner status?"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
On Thu, 3 Sep 1998, Milon Firikis wrote:<br>
|
||
<p>
|
||
<i>> The one and only developer I should say... though there are 4 to 5</i><br>
|
||
<i>> potential user which they had expressed interest. I hope you downloaded</i><br>
|
||
<i>> the sane-0.74 since the apple backend has greatly reworked from the</i><br>
|
||
<i>> sane-0.73 package.</i><br>
|
||
<p>
|
||
I actually downloaded both; I realized at one point I had 0.73 (which I<br>
|
||
got from Walnut Creek CD-ROM's mirror). I ended up getting 0.74 from<br>
|
||
tsx-11 (I wasn't up to sifting through the mess that is Sunsite's (and<br>
|
||
mirrors') Incoming directory).<br>
|
||
<p>
|
||
<i>> > I have been experimenting with the backend and found (and subsequently</i><br>
|
||
<i>> > corrected) a logic flaw which did not flush the buffer after the scan had</i><br>
|
||
<i>> > completed. The scanner says it wasn't in a blocked condition, yet there</i><br>
|
||
<i>> > was data still in its buffer waiting to be transferred to the host</i><br>
|
||
<i>> > computer. I added a check for still-available data failing the check for</i><br>
|
||
<i>> > a blocked condition as another condition to transfer data from the</i><br>
|
||
<i>> > scanner. I can provide a patch for this (it only affects one line of</i><br>
|
||
<i>> > code).</i><br>
|
||
<i>> > </i><br>
|
||
<i>> I am open to suggestions. You are invited to send/post anything you</i><br>
|
||
<i>> have. I am afraid I didn't excacltry understand what are you describing</i><br>
|
||
<i>> which is OK because if I understood it I would have fixed it.</i><br>
|
||
<p>
|
||
Here's the patch I came up with:<br>
|
||
<p>
|
||
--- apple.c.orig Wed Sep 2 00:35:21 1998<br>
|
||
+++ apple.c Tue Sep 1 20:44:59 1998<br>
|
||
@@ -2501,7 +2501,7 @@<br>
|
||
<br>
|
||
if (data_length)<br>
|
||
{<br>
|
||
- if (result[3] & 1) /* Scanner Blocked: Retrieve data */<br>
|
||
+ if ((result[3] & 1) || data_av) /* Scanner Blocked: Retrieve data */<br>
|
||
{<br>
|
||
DBG (IO_MESSAGE,<br>
|
||
"sane_read: (status) Available in scanner buffer %u.\n",<br>
|
||
<p>
|
||
At the end of the scan, the block flag has been dropped, yet there might<br>
|
||
be data in the scanner buffer. If the check for the block flag fails, it<br>
|
||
immediately checks to see if there is any remaining data. If so, the<br>
|
||
backend will empty the buffer for the last time.<br>
|
||
<p>
|
||
<i>> > In the meantime, I have since obtained and printed Apple's programming</i><br>
|
||
<i>> > specs for these scanners. They have helped enormously thus far in</i><br>
|
||
<i>> > tracking this particular bug down.</i><br>
|
||
<i>> </i><br>
|
||
<i>> Cool! Did you find the specs from your own or by the URL stated at the</i><br>
|
||
<i>> man page?</i><br>
|
||
<p>
|
||
Actually, I found it on my own. I totally missed the URL in the man page,<br>
|
||
mainly because I hadn't read it. :)<br>
|
||
<p>
|
||
<i>> Sure there are glitches. I am open to suggestions.</i><br>
|
||
<p>
|
||
Cool. Any way I could get a copy of the most recent copy of the sources<br>
|
||
to the Apple backend? I would lilke to see what's happening with it thus <br>
|
||
far.<br>
|
||
<p>
|
||
--Ian.<br>
|
||
<p>
|
||
-----<br>
|
||
Ian R. Justman Postmaster, System Administrator, ChocoboNet<br>
|
||
<a href="mailto:ianj@chocobo.org">ianj@chocobo.org</a> (home) ianj@calweb.com (work) NIC handle: IJ12<br>
|
||
<p>
|
||
Try EsperNet IRC! Small and personal! <br>
|
||
irc.esper.net takes you to a random server<br>
|
||
Admin of chocobo.esper.net, ports 5555, 6666-6669, 7000, Nick: "IJ"<br>
|
||
EsperNet Postmaster<br>
|
||
<p>
|
||
I use Linux and FreeBSD, the ultimate "pane" relievers on the PC.<br>
|
||
My heart AIX for a faster RS/6000<br>
|
||
<p>
|
||
Hard Disk: n: Future windchimes<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="0030.html">Michael Short: "I am Having Problems Using SANE (Plz Hlp!)"</a>
|
||
<li> <b>Previous message:</b> <a href="0028.html">Milon Firikis: "Re: Apple OneScanner/Color OneScanner status?"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|