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

287 wiersze
11 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: 2 scanners scanning at the same time?</TITLE>
<META NAME="Author" CONTENT="Michaël van Eeden (mieg@waag.org)">
<META NAME="Subject" CONTENT="2 scanners scanning at the same time?">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>2 scanners scanning at the same time?</H1>
<!-- received="Fri May 26 05:46:18 2000" -->
<!-- isoreceived="20000526124618" -->
<!-- sent="Fri, 26 May 2000 14:50:26 +0200" -->
<!-- isosent="20000526125026" -->
<!-- name="Michaël van Eeden" -->
<!-- email="mieg@waag.org" -->
<!-- subject="2 scanners scanning at the same time?" -->
<!-- id="000201bfc710$f6fc5780$8000000a@factory.org" -->
<STRONG>From:</STRONG> Michaël van Eeden (<A HREF="mailto:mieg@waag.org?Subject=Re:%202%20scanners%20scanning%20at%20the%20same%20time?&In-Reply-To=&lt;000201bfc710$f6fc5780$8000000a@factory.org&gt;"><EM>mieg@waag.org</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri May 26 2000 - 05:50:26 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0174.html">abel deuring: "Re: Problem in sanei_scsi.c"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0172.html">Tom Wittke (CMS): "Acer Prisa 620P"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0179.html">Douglas Gilbert: "Re: 2 scanners scanning at the same time?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0179.html">Douglas Gilbert: "Re: 2 scanners scanning at the same time?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#173">[ date ]</A>
<A HREF="index.html#173">[ thread ]</A>
<A HREF="subject.html#173">[ subject ]</A>
<A HREF="author.html#173">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
i have looked everywhere but couldn't find any info on this: i try to hook
<BR>
up two scanners to a linux box and let them scan at the same time. Because
<BR>
my scanners (both UMAX Astra 2400S) seems to block the scsi-adapter for a
<BR>
few seconds, i have installed 2 of them, one for each scanner. Now, when i
<BR>
try to scan simultanously, the last scanner still waits until the first is
<BR>
finished. I have no idea what is blocking: sg, sane, sane-umax. Does anybody
<BR>
know of any way to make this possible?
<BR>
<P>(my goal is to have a scan-server with multiple scanners attached to it,
<BR>
remotely operated by either saned or sanecgi).
<BR>
<P>My setup is:
<BR>
<P>Debian 2.1
<BR>
kernel 2.0.36
<BR>
2x adaptec 2904 (european 2906)
<BR>
2x UMAX Astra 2400S
<BR>
<P>### /proc/scsi/aic7xxx/0 ########################################
<BR>
<P>Adaptec AIC7xxx driver version: 5.1.11/3.2.4
<BR>
Compile Options:
<BR>
&nbsp;&nbsp;AIC7XXX_RESET_DELAY : 15
<BR>
&nbsp;&nbsp;AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check below to see which
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;devices use tagged queueing
<BR>
&nbsp;&nbsp;AIC7XXX_PAGE_ENABLE : Enabled (This is no longer an option)
<BR>
&nbsp;&nbsp;AIC7XXX_PROC_STATS : Enabled
<BR>
<P>Adapter Configuration:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SCSI Adapter: Adaptec AIC-7850 SCSI host adapter
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Narrow Controller
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;PCI MMAPed I/O Base: 0xffbed000
<BR>
&nbsp;Adapter SEEPROM Config: SEEPROM not found, using defaults.
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adaptec SCSI BIOS: Disabled
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IRQ: 5
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SCBs: Active 0, Max Active 1,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allocated 15, HW 3, Page 255
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Interrupts: 785
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BIOS Control Word: 0x0000
<BR>
&nbsp;&nbsp;&nbsp;Adapter Control Word: 0x0000
<BR>
&nbsp;&nbsp;&nbsp;Extended Translation: Disabled
<BR>
Disconnect Enable Flags: 0x00ff
<BR>
&nbsp;Tag Queue Enable Flags: 0x0000
<BR>
Ordered Queue Tag Flags: 0x0000
<BR>
Default Tag Queue Depth: 8
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Tagged Queue By Device array for aic7xxx host instance 0:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Actual queue depth per device for aic7xxx host instance 0:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
<BR>
<P>Statistics:
<BR>
<P>(scsi0:0:6:0)
<BR>
&nbsp;&nbsp;Device using Narrow/Async transfers.
<BR>
&nbsp;&nbsp;Transinfo settings: current(0/0/0), goal(0/0/0), user(25/15/0)
<BR>
&nbsp;&nbsp;Total transfers 351 (351 reads and 0 writes)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt; 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
<BR>
&nbsp;&nbsp;&nbsp;Reads: 0 0 0 0 0 351 0 0
<BR>
&nbsp;&nbsp;Writes: 0 0 0 0 0 0 0 0
<BR>
<P>### /proc/scsi/aic7xxx/1 ########################################
<BR>
<P>Adaptec AIC7xxx driver version: 5.1.11/3.2.4
<BR>
Compile Options:
<BR>
&nbsp;&nbsp;AIC7XXX_RESET_DELAY : 15
<BR>
&nbsp;&nbsp;AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check below to see which
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;devices use tagged queueing
<BR>
&nbsp;&nbsp;AIC7XXX_PAGE_ENABLE : Enabled (This is no longer an option)
<BR>
&nbsp;&nbsp;AIC7XXX_PROC_STATS : Enabled
<BR>
<P>Adapter Configuration:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SCSI Adapter: Adaptec AIC-7850 SCSI host adapter
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Narrow Controller
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;PCI MMAPed I/O Base: 0xffbee000
<BR>
&nbsp;Adapter SEEPROM Config: SEEPROM not found, using defaults.
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adaptec SCSI BIOS: Disabled
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IRQ: 10
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SCBs: Active 0, Max Active 1,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allocated 15, HW 3, Page 255
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Interrupts: 534
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BIOS Control Word: 0x0000
<BR>
&nbsp;&nbsp;&nbsp;Adapter Control Word: 0x0000
<BR>
&nbsp;&nbsp;&nbsp;Extended Translation: Disabled
<BR>
Disconnect Enable Flags: 0x00ff
<BR>
&nbsp;Tag Queue Enable Flags: 0x0000
<BR>
Ordered Queue Tag Flags: 0x0000
<BR>
Default Tag Queue Depth: 8
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Tagged Queue By Device array for aic7xxx host instance 1:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Actual queue depth per device for aic7xxx host instance 1:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
<BR>
<P>Statistics:
<BR>
<P>(scsi1:0:5:0)
<BR>
&nbsp;&nbsp;Device using Narrow/Async transfers.
<BR>
&nbsp;&nbsp;Transinfo settings: current(0/0/0), goal(0/0/0), user(25/15/0)
<BR>
&nbsp;&nbsp;Total transfers 234 (234 reads and 0 writes)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt; 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
<BR>
&nbsp;&nbsp;&nbsp;Reads: 0 0 0 0 0 234 0 0
<BR>
&nbsp;&nbsp;Writes: 0 0 0 0 0 0 0 0
<BR>
<P>### /proc/scsi/scsi #############################################
<BR>
<P>Attached devices:
<BR>
Host: scsi0 Channel: 00 Id: 06 Lun: 00
<BR>
&nbsp;&nbsp;Vendor: UMAX Model: Astra 2400S Rev: V1.1
<BR>
&nbsp;&nbsp;Type: Scanner ANSI SCSI revision: 02
<BR>
Host: scsi1 Channel: 00 Id: 05 Lun: 00
<BR>
&nbsp;&nbsp;Vendor: UMAX Model: Astra 2400S Rev: V1.1
<BR>
&nbsp;&nbsp;Type: Scanner ANSI SCSI revision: 02
<BR>
<P>### /etc/sane.d/dll.conf ########################################
<BR>
<P>umax
<BR>
<P>### /etc/sane.d/umax.conf #######################################
<BR>
<P>scsi UMAX * Scanner * * * *
<BR>
/dev/sg0
<BR>
/dev/sg1
<BR>
<P><P>* Michael van Eeden - <A HREF="mailto:mieg@waag.org?Subject=Re:%202%20scanners%20scanning%20at%20the%20same%20time?&In-Reply-To=&lt;000201bfc710$f6fc5780$8000000a@factory.org&gt;">mieg@waag.org</A>
<BR>
* Society for Old and New Media
<BR>
* Amsterdam, The Netherlands - <A HREF="http://www.waag.org">http://www.waag.org</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:%202%20scanners%20scanning%20at%20the%20same%20time?&In-Reply-To=&lt;000201bfc710$f6fc5780$8000000a@factory.org&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0174.html">abel deuring: "Re: Problem in sanei_scsi.c"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0172.html">Tom Wittke (CMS): "Acer Prisa 620P"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0179.html">Douglas Gilbert: "Re: 2 scanners scanning at the same time?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0179.html">Douglas Gilbert: "Re: 2 scanners scanning at the same time?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#173">[ date ]</A>
<A HREF="index.html#173">[ thread ]</A>
<A HREF="subject.html#173">[ subject ]</A>
<A HREF="author.html#173">[ 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>Fri May 26 2000 - 05:47:51 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>