kopia lustrzana https://gitlab.com/sane-project/website
91 wiersze
4.8 KiB
HTML
91 wiersze
4.8 KiB
HTML
<!-- received="Tue Jan 13 06:23:54 1998 PST" -->
|
|
<!-- sent="Tue, 13 Jan 1998 09:15:50 +0100 (MET)" -->
|
|
<!-- name="Rogier Wolff" -->
|
|
<!-- email="R.E.Wolff@BitWizard.nl" -->
|
|
<!-- subject="Re: Probable Bugs & Suggestions" -->
|
|
<!-- id="199801130815.JAA00686@cave.BitWizard.nl" -->
|
|
<!-- inreplyto="199801130727.XAA18342@panda.mostang.com" -->
|
|
<title>sane-devel: Re: Probable Bugs & Suggestions</title>
|
|
<h1>Re: Probable Bugs & Suggestions</h1>
|
|
<b>Rogier Wolff</b> (<a href="mailto:R.E.Wolff@BitWizard.nl"><i>R.E.Wolff@BitWizard.nl</i></a>)<br>
|
|
<i>Tue, 13 Jan 1998 09:15:50 +0100 (MET)</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#45">[ date ]</a><a href="index.html#45">[ thread ]</a><a href="subject.html#45">[ subject ]</a><a href="author.html#45">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0046.html">Dan Sugalski: "Re: Mustek 600 III EP plus"</a>
|
|
<li> <b>Previous message:</b> <a href="0044.html">David Mosberger-Tang: "Re: Mustek 600 III EP plus"</a>
|
|
<li> <b>In reply to:</b> <a href="0042.html">David Mosberger-Tang: "Re: Probable Bugs & Suggestions"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0053.html">David Mosberger-Tang: "Re: Probable Bugs & Suggestions"</a>
|
|
<li> <b>Reply:</b> <a href="0053.html">David Mosberger-Tang: "Re: Probable Bugs & Suggestions"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
David Mosberger-Tang wrote:<br>
|
|
<i>> </i><br>
|
|
<i>> >>>>> On Thu, 18 Dec 1997 22:05:34 -0500, Matto Marjanovic <<a href="mailto:maddog@mir.com">maddog@mir.com</a>> said:</i><br>
|
|
<i>> </i><br>
|
|
<i>> Matto> While a scan is in progress, the microtek backend responds to</i><br>
|
|
<i>> Matto> any requests to change parameters with</i><br>
|
|
<i>> Matto> SANE_STATUS_DEVICE_BUSY... Is this a reasonable behavior?</i><br>
|
|
<i>> Matto> This response is actually not enumerated as a valid response</i><br>
|
|
<i>> Matto> to sane_control_option in the API documentation. Should the</i><br>
|
|
<i>> Matto> frontend retry on its own volition, or pop up an error for</i><br>
|
|
<i>> Matto> the user and drop the issue?</i><br>
|
|
<i>> </i><br>
|
|
<i>> Yeah, this has been a long-standing issue that hasn't been fully resolved</i><br>
|
|
<i>> yet.</i><br>
|
|
<i>> </i><br>
|
|
<i>> I see two reasonable solutions:</i><br>
|
|
<i>> </i><br>
|
|
<i>> 1. Make sane_start() return a special status value when the backend</i><br>
|
|
<i>> does not want to see any control_option() calls while a scan is in</i><br>
|
|
<i>> progress (e.g., something like</i><br>
|
|
<i>> SANE_STATUS_IN_PROGRESS_DO_NOT_TOUCH_OPTION_SETTINGS but maybe not</i><br>
|
|
<i>> quite as verbose... ;-)</i><br>
|
|
<i>> </i><br>
|
|
<i>> 2. Add a option descriptor bit to indicate which options are busy</i><br>
|
|
<i>> during a scan (i.e., which options can't be modified while a scan</i><br>
|
|
<i>> is in progress).</i><br>
|
|
<i>> </i><br>
|
|
<i>> I currently favor the first solution since its simpler and since I'm</i><br>
|
|
<i>> not sure how often there would be backends that have some but not all</i><br>
|
|
<i>> options being busy while a scan is in progress. Other opinions?</i><br>
|
|
<p>
|
|
What is wrong with the backend returning "busy", and a frontend then<br>
|
|
having to conclude "oops, can't seem to do that right now"?<br>
|
|
<p>
|
|
+ No added options<br>
|
|
+ Allows for selective "locking".<br>
|
|
+ Minimal intrusion in installed base.<br>
|
|
- frontends must perform a scan to be able to gray out invalid options.<br>
|
|
<p>
|
|
Roger.<br>
|
|
<p>
|
|
<p>
|
|
<pre>
|
|
--
|
|
** <a href="mailto:R.E.Wolff@BitWizard.nl">R.E.Wolff@BitWizard.nl</a> ** +31-15-2137555 ** <a href="http://www.BitWizard.nl/">http://www.BitWizard.nl/</a> **
|
|
Florida -- A 39 year old construction worker woke up this morning when a
|
|
109-car freight train drove over him. According to the police the man was
|
|
drunk. The man himself claims he slipped while walking the dog. 080897
|
|
<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="0046.html">Dan Sugalski: "Re: Mustek 600 III EP plus"</a>
|
|
<li> <b>Previous message:</b> <a href="0044.html">David Mosberger-Tang: "Re: Mustek 600 III EP plus"</a>
|
|
<li> <b>In reply to:</b> <a href="0042.html">David Mosberger-Tang: "Re: Probable Bugs & Suggestions"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0053.html">David Mosberger-Tang: "Re: Probable Bugs & Suggestions"</a>
|
|
<li> <b>Reply:</b> <a href="0053.html">David Mosberger-Tang: "Re: Probable Bugs & Suggestions"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|