sane-project-website/old-archive/1998-12/0120.html

68 wiersze
3.6 KiB
HTML

<!-- received="Tue Dec 8 21:44:41 1998 PST" -->
<!-- sent="Wed, 9 Dec 1998 00:44:45 -0500 (EST)" -->
<!-- name="Chris Pinkham" -->
<!-- email="cpinkham@infi.net" -->
<!-- subject="Re: Saned screwing up???" -->
<!-- id="199812090544.AAA06157@panther.panther.net" -->
<!-- inreplyto="m0zncEE-000q6ZC@yoo-hoo.ai.mit.edu" -->
<title>sane-devel: Re: Saned screwing up???</title>
<h1>Re: Saned screwing up???</h1>
<b>Chris Pinkham</b> (<a href="mailto:cpinkham@infi.net"><i>cpinkham@infi.net</i></a>)<br>
<i>Wed, 9 Dec 1998 00:44:45 -0500 (EST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#120">[ date ]</a><a href="index.html#120">[ thread ]</a><a href="subject.html#120">[ subject ]</a><a href="author.html#120">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0121.html">Matto Marjanovic: "xscanimage &amp; cancel"</a>
<li> <b>Previous message:</b> <a href="0119.html">Matto Marjanovic: "Re: Saned screwing up???"</a>
<li> <b>In reply to:</b> <a href="0119.html">Matto Marjanovic: "Re: Saned screwing up???"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0124.html">Chris Pinkham: "Re: Saned screwing up???"</a>
<li> <b>Reply:</b> <a href="0124.html">Chris Pinkham: "Re: Saned screwing up???"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt; &gt;&gt;From looking at the debugging output of saned and xscanimage, I believe</i><br>
<i>&gt; &gt;this has to do with the fact that currently my implementation</i><br>
<i>&gt; &gt;of the sane_read function does not like it when it is called with a</i><br>
<i>&gt; &gt;max_len which is less than 1 line of data. I am working on changing</i><br>
<i>&gt; </i><br>
<i>&gt; The microtek(1) backend had the same problem not too long ago.</i><br>
<p>
Well, within the past hour, I was able to get sane_read() in the artec<br>
backend working correctly. I don't have it working using pipes like other<br>
backends use (and which I would prefer), but I have added a new sane_read()<br>
function which acts as a buffer between my original sane_read() and the calling<br>
program. I have emailed Andre about it and am waiting to get verification<br>
from him that the changes work for him also before I put the fix up on my<br>
webpage.<br>
<p>
I have tested the modifications directly accessing the artec backend via<br>
xscanimage, accessing via saned in debug mode, and accessing saned being<br>
started by inetd.<br>
<p>
Chris<br>
<p>
*****************************************************************************<br>
** Chris Pinkham Linux v2.0.35, Sane v1.00, GIMP v1.0 **<br>
** <a href="mailto:cpinkham@sh001.infi.net">cpinkham@sh001.infi.net</a> <a href="http://www4.infi.net/~cpinkham/">http://www4.infi.net/~cpinkham/</a> **<br>
*****************************************************************************<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="0121.html">Matto Marjanovic: "xscanimage &amp; cancel"</a>
<li> <b>Previous message:</b> <a href="0119.html">Matto Marjanovic: "Re: Saned screwing up???"</a>
<li> <b>In reply to:</b> <a href="0119.html">Matto Marjanovic: "Re: Saned screwing up???"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0124.html">Chris Pinkham: "Re: Saned screwing up???"</a>
<li> <b>Reply:</b> <a href="0124.html">Chris Pinkham: "Re: Saned screwing up???"</a>
<!-- reply="end" -->
</ul>