kopia lustrzana https://gitlab.com/sane-project/website
110 wiersze
4.2 KiB
HTML
110 wiersze
4.2 KiB
HTML
<!-- 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->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>> I've just put a patch on the SnapScan web page</i><br>
|
||
<i>></i><br>
|
||
<i>> <a href="http://www.cs.ualberta.ca/~charter/SnapScan/snapscan.html">http://www.cs.ualberta.ca/~charter/SnapScan/snapscan.html</a></i><br>
|
||
<i>></i><br>
|
||
<i>> that provides a fix for the problems people have had using the backend</i><br>
|
||
<i>> with the series 2.2 kernels (in particular, kernels >2.2.5 with the</i><br>
|
||
<i>> new generic scsi driver). It works with my model 300, an aha1522 and</i><br>
|
||
<i>> kernel 2.2.9. The new backend version is 0.7, and the patch fixes the</i><br>
|
||
<i>> sources distributed with SANE 1.0.1.</i><br>
|
||
<i>></i><br>
|
||
<i>> Thanks to Francois Desarmeni, Douglas Gilbert, and Abel Deuring for</i><br>
|
||
<i>> their work tracking down the bug and suggesting this fix.</i><br>
|
||
<i>></i><br>
|
||
<i>> I'll be out of contact until July 14th. In the meantime, I hope</i><br>
|
||
<i>> this fixes the problems people have had with late model kernels.</i><br>
|
||
<i>></i><br>
|
||
<i>> Kevin</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>
|
||
<pre>
|
||
--
|
||
Fran<EFBFBD>ois D<>sarm<72>nien
|
||
<p>
|
||
Membre de l'ACM <<a href="http://www.acm.org">http://www.acm.org</a>>
|
||
Membre de l'AFUL <<a href="http://www.aful.org">http://www.aful.org</a>>
|
||
<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>
|