sane-project-website/old-archive/1997-07/0057.html

76 wiersze
4.0 KiB
HTML

<!-- received="Mon Jul 14 09:13:50 1997 MST" -->
<!-- sent="Mon, 14 Jul 1997 11:24:53 -0400 (EDT)" -->
<!-- name="Andrew Kuchling" -->
<!-- email="amk@magnet.com" -->
<!-- subject="Re: Hangs with B&amp;W QuickCam" -->
<!-- id="199707141524.LAA16152@lemur.magnet.com" -->
<!-- inreplyto="Hangs with B&amp;W QuickCam" -->
<title>sane-devel: Re: Hangs with B&amp;W QuickCam</title>
<h1>Re: Hangs with B&amp;W QuickCam</h1>
<b>Andrew Kuchling</b> (<a href="mailto:amk@magnet.com"><i>amk@magnet.com</i></a>)<br>
<i>Mon, 14 Jul 1997 11:24:53 -0400 (EDT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#57">[ date ]</a><a href="index.html#57">[ thread ]</a><a href="subject.html#57">[ subject ]</a><a href="author.html#57">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0058.html">David Mosberger-Tang: "Re: Cheap linux photo scanner"</a>
<li> <b>Previous message:</b> <a href="0056.html">David Mosberger-Tang: "Re: Hangs with B&amp;W QuickCam"</a>
<li> <b>Maybe in reply to:</b> <a href="0033.html">Andrew Kuchling: "Hangs with B&amp;W QuickCam"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0059.html">David Mosberger-Tang: "Re: Hangs with B&amp;W QuickCam"</a>
<li> <b>Reply:</b> <a href="0059.html">David Mosberger-Tang: "Re: Hangs with B&amp;W QuickCam"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Sun, 13 Jul 1997, Guido Muesch wrote:<br>
<i>&gt; No, you are right. I experience the same problem with xcam and BW</i><br>
<i>&gt; QuickCam. After the first scan it hangs. But using scanimage works so</i><br>
<i>&gt; far. I have not looked into this problem because I thought it is a</i><br>
<i>&gt; minor 'feature' which will get fixed soon, now that the BW support</i><br>
<i>&gt; actually does return at least one scan.</i><br>
<p>
scanimage should always work, because it only reads one image,<br>
and therefore opens the device, reads from it, closes it and exits.<br>
It's only things which try to read from the camera more than once<br>
which hang. <br>
<p>
Thomas Mirlacher wrote:<br>
<i>&gt;Well, IMHO the problem is caused by different End Of Frame sequences,</i><br>
<i>&gt;used by the color and BW quickcam. so the usual workaround (for not so </i><br>
<i>&gt;clean coded drivers ;) should be to reset the cam after each scan.</i><br>
<p>
Adding qc_reset(q) after the qc_lock() in sane_start<br>
(resetting things *before* the scan) seems to fix things, but I have<br>
no idea what else that might break on colour qcams, so I wouldn't<br>
consider that a fix just yet. Perhaps if qc_reset() was only called<br>
if q-&gt;version!=QC_COLOR?<br>
<p>
Another minor problem: run xscanimage using the qcam, and set<br>
it to high resolution. The dialog box isn't redrawn properly, with<br>
some doubled text; an xwd dump of the result is at<br>
<a href="http://starship.skyport.net/crew/amk/ocr/bug.xwd">http://starship.skyport.net/crew/amk/ocr/bug.xwd</a> . The resulting scan<br>
doesn't work; does high resolution mode exist on the B&amp;W qcam?<br>
<p>
<p>
Andrew Kuchling<br>
<a href="mailto:amk@magnet.com">amk@magnet.com</a><br>
<a href="http://people.magnet.com/%7Eamk/">http://people.magnet.com/%7Eamk/</a><br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0058.html">David Mosberger-Tang: "Re: Cheap linux photo scanner"</a>
<li> <b>Previous message:</b> <a href="0056.html">David Mosberger-Tang: "Re: Hangs with B&amp;W QuickCam"</a>
<li> <b>Maybe in reply to:</b> <a href="0033.html">Andrew Kuchling: "Hangs with B&amp;W QuickCam"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0059.html">David Mosberger-Tang: "Re: Hangs with B&amp;W QuickCam"</a>
<li> <b>Reply:</b> <a href="0059.html">David Mosberger-Tang: "Re: Hangs with B&amp;W QuickCam"</a>
<!-- reply="end" -->
</ul>