sane-project-website/old-archive/2001-01/0218.html

119 wiersze
4.6 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: xscanimage crashes when using &gt;1 V4L device</TITLE>
<META NAME="Author" CONTENT="Jeffrey H. Ingber (jhingber@ix.netcom.com)">
<META NAME="Subject" CONTENT="xscanimage crashes when using &gt;1 V4L device">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>xscanimage crashes when using &gt;1 V4L device</H1>
<!-- received="Sun Jan 21 01:16:14 2001" -->
<!-- isoreceived="20010121091614" -->
<!-- sent="Sun, 21 Jan 2001 04:13:23 -0500" -->
<!-- isosent="20010121091323" -->
<!-- name="Jeffrey H. Ingber" -->
<!-- email="jhingber@ix.netcom.com" -->
<!-- subject="xscanimage crashes when using &gt;1 V4L device" -->
<!-- id="3A6AA833.2060706@ix.netcom.com" -->
<STRONG>From:</STRONG> Jeffrey H. Ingber (<A HREF="mailto:jhingber@ix.netcom.com?Subject=Re:%20xscanimage%20crashes%20when%20using%20&gt;1%20V4L%20device&In-Reply-To=&lt;3A6AA833.2060706@ix.netcom.com&gt;"><EM>jhingber@ix.netcom.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Jan 21 2001 - 01:13:23 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0219.html">Henning Meier-Geinitz: "Re: please advise: Mustek 12000SP, NCR810 &amp; color stripes"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0217.html">FJA van Zijp: "please advise: Mustek 12000SP, NCR810 &amp; color stripes"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#218">[ date ]</A>
<A HREF="index.html#218">[ thread ]</A>
<A HREF="subject.html#218">[ subject ]</A>
<A HREF="author.html#218">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I posted this problem a month or so ago, but didn't have to time to
<BR>
investigate until today. A system with more than one V4L device will
<BR>
cause xscanimage to crash when using the V4L backend.
<BR>
<P>Example:
<BR>
<P>I have an Creative Labs WebCam III (USB) using the OV511 kernel driver
<BR>
(/dev/video0) and a Matrox Rainbow Runner-G series capture card
<BR>
(/dev/video1) using the marvel-linux drivers. When trying to aquire a
<BR>
frame from either device using xscanimage from within GIMP, the plugin
<BR>
will die with GIMP's standard error message &quot;The plugin has died, etc.&quot;.
<BR>
<P>I think I may have found the cause of this:
<BR>
<P>&quot;scanimage -L&quot; reveals:
<BR>
<P>device `v4l:/dev/video1' is a V4L mgacap-0 virtual device
<BR>
device `v4l:/dev/video0' is a V4L mgacap-0 virtual device
<BR>
device `hp:/dev/sg5' is a Hewlett-Packard C7670A flatbed scanner
<BR>
device `hp:/dev/scanner' is a Hewlett-Packard C7670A flatbed scanner
<BR>
<P>As you can see, SANE can't differentiate between the two V4L devices.
<BR>
It is identifying the webcam and Matrox card as the same device.
<BR>
/dev/video0 should be the webcam, and /dev/video1 should be the Matrox
<BR>
card. I think this is what's causing the crash. When one one device
<BR>
device has it's drivers loaded, the plugin works, but not when both
<BR>
devices are loaded.
<BR>
<P>Is this operator headspace or might this be a problem with the backend
<BR>
itself? Any input would be appreciated.
<BR>
<P>Thanks,
<BR>
Jeffrey H. Ingber (<A HREF="mailto:jhingber@ix.netcom.com?Subject=Re:%20xscanimage%20crashes%20when%20using%20&gt;1%20V4L%20device&In-Reply-To=&lt;3A6AA833.2060706@ix.netcom.com&gt;">jhingber@ix.netcom.com</A>)
<BR>
<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?Subject=Re:%20xscanimage%20crashes%20when%20using%20&gt;1%20V4L%20device&In-Reply-To=&lt;3A6AA833.2060706@ix.netcom.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0219.html">Henning Meier-Geinitz: "Re: please advise: Mustek 12000SP, NCR810 &amp; color stripes"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0217.html">FJA van Zijp: "please advise: Mustek 12000SP, NCR810 &amp; color stripes"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#218">[ date ]</A>
<A HREF="index.html#218">[ thread ]</A>
<A HREF="subject.html#218">[ subject ]</A>
<A HREF="author.html#218">[ 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>Sun Jan 21 2001 - 01:18:38 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>