sane-project-website/old-archive/2000-09/0207.html

143 wiersze
5.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: How to configure xsane I/P device? (xsane v4l i</TITLE>
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@Wolfsburg.DE)">
<META NAME="Subject" CONTENT="Re: How to configure xsane I/P device? (xsane v4l interface)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: How to configure xsane I/P device? (xsane v4l interface)</H1>
<!-- received="Thu Sep 21 07:13:07 2000" -->
<!-- isoreceived="20000921141307" -->
<!-- sent="Thu, 21 Sep 2000 16:17:17 +0200" -->
<!-- isosent="20000921141717" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: How to configure xsane I/P device? (xsane v4l interface)" -->
<!-- id="39CA186D.97F6F74@wolfsburg.de" -->
<!-- inreplyto="055201c02334$490e0120$bf0aa8c0@dufusiii" -->
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@Wolfsburg.DE?Subject=Re:%20How%20to%20configure%20xsane%20I/P%20device?%20(xsane%20v4l%20interface)&In-Reply-To=&lt;39CA186D.97F6F74@wolfsburg.de&gt;"><EM>oliver.rauch@Wolfsburg.DE</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Sep 21 2000 - 07:17:17 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0208.html">Oliver Rauch: "Re: Which scanner to buy?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0206.html">Wolfgang Cohrs: "sane on SPARC SOLARIS 8"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0198.html">Lawrence Glaister: "How to configure xsane I/P device? (xsane v4l interface)"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#207">[ date ]</A>
<A HREF="index.html#207">[ thread ]</A>
<A HREF="subject.html#207">[ subject ]</A>
<A HREF="author.html#207">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Lawrence Glaister wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I am using xsane 0.61 with 1.01/1.02/1.03 versions of sane.
</EM><BR>
<EM>&gt; I have a web cam (Creative Labs webcam 3 USB) on one usb port and usb
</EM><BR>
<EM>&gt; scanner (Agfa 1212u) on the other port.
</EM><BR>
<EM>&gt; xscanimage correctly sees both devices and allows me to chose the input
</EM><BR>
<EM>&gt; device.
</EM><BR>
<EM>&gt; How do I get xsane to use the scanner instead of the webcam?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; - A second problem with xsane and the webcam is that yellow areas of the
</EM><BR>
<EM>&gt; picture show up as blue. I suspect that xsane is expecting an rgb image, but
</EM><BR>
<EM>&gt; most webcams return a bgr or is it gbr? It may be useful to add a v4l
</EM><BR>
<EM>&gt; interface config that allows swapping the rgb components.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; - A third problem with the xsane v4l interface, is that it appears to be
</EM><BR>
<EM>&gt; using the wrong buffer for pulling its data.... ie, the first preview gives
</EM><BR>
<EM>&gt; a blank image (black) and the second attempt gives a correct image... this
</EM><BR>
<EM>&gt; continues... the preview data is always 1 picture behind the last picture
</EM><BR>
<EM>&gt; taken from the camera. I know the ov511 camera driver has 2 image buffers
</EM><BR>
<EM>&gt; and toggles between them. This can probably be fixed with a v4l sync call.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<P>Hi Lawrence,
<BR>
<P>- there is no xsane v4l interface, may be you wanted to say sane v4l interface
<BR>
- xsane is known not to work fine with v4l, I think xscanimage does not
<BR>
&nbsp;&nbsp;work much better. This are problems of the v4l backend.
<BR>
- There are several ways to make xsane start with your scanner backend:
<BR>
&nbsp;&nbsp;1) for xsane-0.61:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export SANE_DEFAULT_DEVICE=snapscan
<BR>
&nbsp;&nbsp;2) if you do not use the v4l backend, set a comment in dll.conf before v4l
<BR>
&nbsp;&nbsp;3) call &quot;xsane snapscan&quot; or set an alias
<BR>
<P>Bye
<BR>
Oliver
<BR>
&nbsp;&nbsp;
<BR>
<P><P><PRE>
--
Homepage: <A HREF="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</A>
sane-umax: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-umax.html">http://www.wolfsburg.de/~rauch/sane/sane-umax.html</A>
xsane: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">http://www.wolfsburg.de/~rauch/sane/sane-xsane.html</A>
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20How%20to%20configure%20xsane%20I/P%20device?%20(xsane%20v4l%20interface)&In-Reply-To=&lt;39CA186D.97F6F74@wolfsburg.de&gt;">Oliver.Rauch@Wolfsburg.DE</A>
<P>--
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?Subject=Re:%20How%20to%20configure%20xsane%20I/P%20device?%20(xsane%20v4l%20interface)&In-Reply-To=&lt;39CA186D.97F6F74@wolfsburg.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0208.html">Oliver Rauch: "Re: Which scanner to buy?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0206.html">Wolfgang Cohrs: "sane on SPARC SOLARIS 8"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0198.html">Lawrence Glaister: "How to configure xsane I/P device? (xsane v4l interface)"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#207">[ date ]</A>
<A HREF="index.html#207">[ thread ]</A>
<A HREF="subject.html#207">[ subject ]</A>
<A HREF="author.html#207">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Thu Sep 21 2000 - 07:14:30 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>