sane-project-website/old-archive/1999-07/0053.html

110 wiersze
4.2 KiB
HTML
Czysty Wina Historia

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Sat Jul 10 08:58:49 1999 PDT" -->
<!-- sent="Sat, 10 Jul 1999 16:05:10 +0000" -->
<!-- name="Francois Desarmenien" -->
<!-- email="desar@club-internet.fr" -->
<!-- subject="Re: SnapScan 0.7" -->
<!-- id="" -->
<!-- inreplyto="SnapScan 0.7" -->
<title>sane-devel: Re: SnapScan 0.7</title>
<h1>Re: SnapScan 0.7</h1>
<b>Francois Desarmenien</b> (<a href="mailto:desar@club-internet.fr"><i>desar@club-internet.fr</i></a>)<br>
<i>Sat, 10 Jul 1999 16:05:10 +0000</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#53">[ date ]</a><a href="index.html#53">[ thread ]</a><a href="subject.html#53">[ subject ]</a><a href="author.html#53">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0054.html">Dr. Ing. Dieter Jurzitza: "AGGA SNAPSCAN / Polaroid Sprint Scan 35/LE"</a>
<li> <b>Previous message:</b> <a href="0052.html">Bernd Schroeder: "Re: Microtek ScanMaker IV on Linux-2.2.10 (Redhat 6.0)"</a>
<li> <b>Maybe in reply to:</b> <a href="0051.html">Kevin Charter: "SnapScan 0.7"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Unfortunatly, Kevin patch does *not* apply on SANE 1.0.1.<br>
While waiting for him (four long days :), here is the change<br>
he suggested me to have it work:<br>
<p>
In 'sane_get_parameters' routine, replace:<br>
<p>
status = open_scanner (pss);<br>
CHECK_STATUS (status, me, "open_scanner");<br>
<p>
/* fetch the latest parameters */<br>
status = inquiry (pss);<br>
CHECK_STATUS (status, me, "inquiry");<br>
<p>
close_scanner (pss);<br>
<p>
with:<br>
<p>
if (pss-&gt;state == ST_IDLE) {<br>
status = open_scanner (pss);<br>
CHECK_STATUS (status, me, "open_scanner");<br>
<p>
/* fetch the latest parameters */<br>
status = inquiry (pss);<br>
CHECK_STATUS (status, me, "inquiry");<br>
<p>
close_scanner (pss);<br>
}<br>
else {<br>
DBG(DL_INFO, "NOT doing an inquiry to get scanner parameters\n");<br>
status = SANE_STATUS_GOOD;<br>
}<br>
<p>
That should do the trick.<br>
<p>
Happy scanning,<br>
<p>
Kevin Charter wrote:<br>
<p>
<i>&gt; I've just put a patch on the SnapScan web page</i><br>
<i>&gt;</i><br>
<i>&gt; <a href="http://www.cs.ualberta.ca/~charter/SnapScan/snapscan.html">http://www.cs.ualberta.ca/~charter/SnapScan/snapscan.html</a></i><br>
<i>&gt;</i><br>
<i>&gt; that provides a fix for the problems people have had using the backend</i><br>
<i>&gt; with the series 2.2 kernels (in particular, kernels &gt;2.2.5 with the</i><br>
<i>&gt; new generic scsi driver). It works with my model 300, an aha1522 and</i><br>
<i>&gt; kernel 2.2.9. The new backend version is 0.7, and the patch fixes the</i><br>
<i>&gt; sources distributed with SANE 1.0.1.</i><br>
<i>&gt;</i><br>
<i>&gt; Thanks to Francois Desarmeni, Douglas Gilbert, and Abel Deuring for</i><br>
<i>&gt; their work tracking down the bug and suggesting this fix.</i><br>
<i>&gt;</i><br>
<i>&gt; I'll be out of contact until July 14th. In the meantime, I hope</i><br>
<i>&gt; this fixes the problems people have had with late model kernels.</i><br>
<i>&gt;</i><br>
<i>&gt; Kevin</i><br>
<i>&gt;</i><br>
<i>&gt; --</i><br>
<i>&gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<p>
<pre>
--
Fran<EFBFBD>ois D<>sarm<72>nien
<p>
Membre de l'ACM &lt;<a href="http://www.acm.org">http://www.acm.org</a>&gt;
Membre de l'AFUL &lt;<a href="http://www.aful.org">http://www.aful.org</a>&gt;
<p>
<p>
<p>
<p>
<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="0054.html">Dr. Ing. Dieter Jurzitza: "AGGA SNAPSCAN / Polaroid Sprint Scan 35/LE"</a>
<li> <b>Previous message:</b> <a href="0052.html">Bernd Schroeder: "Re: Microtek ScanMaker IV on Linux-2.2.10 (Redhat 6.0)"</a>
<li> <b>Maybe in reply to:</b> <a href="0051.html">Kevin Charter: "SnapScan 0.7"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>