sane-project-website/old-archive/2000-05/0184.html

120 wiersze
4.9 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: SOLVED: 2 scanners scanning at the same time?</TITLE>
<META NAME="Author" CONTENT="Michaël van Eeden (mieg@waag.org)">
<META NAME="Subject" CONTENT="SOLVED: 2 scanners scanning at the same time?">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>SOLVED: 2 scanners scanning at the same time?</H1>
<!-- received="Sat May 27 08:07:12 2000" -->
<!-- isoreceived="20000527150712" -->
<!-- sent="Sat, 27 May 2000 17:12:07 +0200" -->
<!-- isosent="20000527151207" -->
<!-- name="Michaël van Eeden" -->
<!-- email="mieg@waag.org" -->
<!-- subject="SOLVED: 2 scanners scanning at the same time?" -->
<!-- id="000001bfc7ed$ec2fdec0$4f87000a@intra.waag.org" -->
<!-- inreplyto="392F42B9.D99FEF91@interlog.com" -->
<STRONG>From:</STRONG> Michaël van Eeden (<A HREF="mailto:mieg@waag.org?Subject=Re:%20SOLVED:%202%20scanners%20scanning%20at%20the%20same%20time?&In-Reply-To=&lt;000001bfc7ed$ec2fdec0$4f87000a@intra.waag.org&gt;"><EM>mieg@waag.org</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat May 27 2000 - 08:12:07 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0185.html">Marcel Pol: "Xsane &amp; no devices"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0183.html">Steve Underwood: "Re: Some snapscan feedback"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0179.html">Douglas Gilbert: "Re: 2 scanners scanning at the same time?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0194.html">Douglas Gilbert: "Re: SOLVED: 2 scanners scanning at the same time?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0194.html">Douglas Gilbert: "Re: SOLVED: 2 scanners scanning at the same time?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#184">[ date ]</A>
<A HREF="index.html#184">[ thread ]</A>
<A HREF="subject.html#184">[ subject ]</A>
<A HREF="author.html#184">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Douglas Gilbert wrote:
<BR>
<EM>&gt; The Linux sg driver prior to lk 2.2.6 couldn't do two or more
</EM><BR>
<EM>&gt; things at once (unless the buffer size was 4096 bytes or less).
</EM><BR>
<EM>&gt; Can you upgrade your version of Linux?
</EM><BR>
<P>Thanks for your help!
<BR>
<P>I upgraded to 2.2.14, and the scanners still waited for each other. In the
<BR>
mean time, i started to look at the debug output from sane-dll and sane-umax
<BR>
while doing a 'scanimage'. I seems to look at the capabilities of both
<BR>
scanners before a scan is made. I finally got it to work by setting the
<BR>
environment variable SANE_CONFIG_DIR to two different directories for the
<BR>
two different scanning sessions. One dir has a umax.conf with only:
<BR>
<P>&nbsp;&nbsp;/dev/sg0
<BR>
<P>in it, the other dir has a umax.conf with:
<BR>
<P>&nbsp;&nbsp;/dev/sg1
<BR>
<P>in it. Now it does work! But it seems to me this is a workaround that
<BR>
shouldn't be necessary.
<BR>
<P>Maybe an idea would be to add an option to scanimage that disables the
<BR>
'do_inquiry' to all devices at the start of a scan, or make sure it only
<BR>
does it for the device that is being used?
<BR>
<P>Anyway: i can live with the workaround. I am sure I wouldn't be able to set
<BR>
up a scan-server with several scanners attached to it without SANE, so
<BR>
thanks to you all for this great piece of software!
<BR>
<P>Michael
<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:%20SOLVED:%202%20scanners%20scanning%20at%20the%20same%20time?&In-Reply-To=&lt;000001bfc7ed$ec2fdec0$4f87000a@intra.waag.org&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0185.html">Marcel Pol: "Xsane &amp; no devices"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0183.html">Steve Underwood: "Re: Some snapscan feedback"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0179.html">Douglas Gilbert: "Re: 2 scanners scanning at the same time?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0194.html">Douglas Gilbert: "Re: SOLVED: 2 scanners scanning at the same time?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0194.html">Douglas Gilbert: "Re: SOLVED: 2 scanners scanning at the same time?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#184">[ date ]</A>
<A HREF="index.html#184">[ thread ]</A>
<A HREF="subject.html#184">[ subject ]</A>
<A HREF="author.html#184">[ 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>Sat May 27 2000 - 08:09:23 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>