2 scanners scanning at the same time?

From: Michaël van Eeden (mieg@waag.org)
Date: Fri May 26 2000 - 05:50:26 PDT

  • Next message: abel deuring: "Re: Problem in sanei_scsi.c"

    Hi,
    i have looked everywhere but couldn't find any info on this: i try to hook
    up two scanners to a linux box and let them scan at the same time. Because
    my scanners (both UMAX Astra 2400S) seems to block the scsi-adapter for a
    few seconds, i have installed 2 of them, one for each scanner. Now, when i
    try to scan simultanously, the last scanner still waits until the first is
    finished. I have no idea what is blocking: sg, sane, sane-umax. Does anybody
    know of any way to make this possible?

    (my goal is to have a scan-server with multiple scanners attached to it,
    remotely operated by either saned or sanecgi).

    My setup is:

    Debian 2.1
    kernel 2.0.36
    2x adaptec 2904 (european 2906)
    2x UMAX Astra 2400S

    ### /proc/scsi/aic7xxx/0 ########################################

    Adaptec AIC7xxx driver version: 5.1.11/3.2.4
    Compile Options:
      AIC7XXX_RESET_DELAY : 15
      AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                                 Check below to see which
                                 devices use tagged queueing
      AIC7XXX_PAGE_ENABLE : Enabled (This is no longer an option)
      AIC7XXX_PROC_STATS : Enabled

    Adapter Configuration:
               SCSI Adapter: Adaptec AIC-7850 SCSI host adapter
                               Narrow Controller
        PCI MMAPed I/O Base: 0xffbed000
     Adapter SEEPROM Config: SEEPROM not found, using defaults.
          Adaptec SCSI BIOS: Disabled
                        IRQ: 5
                       SCBs: Active 0, Max Active 1,
                             Allocated 15, HW 3, Page 255
                 Interrupts: 785
          BIOS Control Word: 0x0000
       Adapter Control Word: 0x0000
       Extended Translation: Disabled
    Disconnect Enable Flags: 0x00ff
     Tag Queue Enable Flags: 0x0000
    Ordered Queue Tag Flags: 0x0000
    Default Tag Queue Depth: 8
        Tagged Queue By Device array for aic7xxx host instance 0:
          {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
        Actual queue depth per device for aic7xxx host instance 0:
          {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

    Statistics:

    (scsi0:0:6:0)
      Device using Narrow/Async transfers.
      Transinfo settings: current(0/0/0), goal(0/0/0), user(25/15/0)
      Total transfers 351 (351 reads and 0 writes)
                 < 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
       Reads: 0 0 0 0 0 351 0 0
      Writes: 0 0 0 0 0 0 0 0

    ### /proc/scsi/aic7xxx/1 ########################################

    Adaptec AIC7xxx driver version: 5.1.11/3.2.4
    Compile Options:
      AIC7XXX_RESET_DELAY : 15
      AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                                 Check below to see which
                                 devices use tagged queueing
      AIC7XXX_PAGE_ENABLE : Enabled (This is no longer an option)
      AIC7XXX_PROC_STATS : Enabled

    Adapter Configuration:
               SCSI Adapter: Adaptec AIC-7850 SCSI host adapter
                               Narrow Controller
        PCI MMAPed I/O Base: 0xffbee000
     Adapter SEEPROM Config: SEEPROM not found, using defaults.
          Adaptec SCSI BIOS: Disabled
                        IRQ: 10
                       SCBs: Active 0, Max Active 1,
                             Allocated 15, HW 3, Page 255
                 Interrupts: 534
          BIOS Control Word: 0x0000
       Adapter Control Word: 0x0000
       Extended Translation: Disabled
    Disconnect Enable Flags: 0x00ff
     Tag Queue Enable Flags: 0x0000
    Ordered Queue Tag Flags: 0x0000
    Default Tag Queue Depth: 8
        Tagged Queue By Device array for aic7xxx host instance 1:
          {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
        Actual queue depth per device for aic7xxx host instance 1:
          {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

    Statistics:

    (scsi1:0:5:0)
      Device using Narrow/Async transfers.
      Transinfo settings: current(0/0/0), goal(0/0/0), user(25/15/0)
      Total transfers 234 (234 reads and 0 writes)
                 < 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
       Reads: 0 0 0 0 0 234 0 0
      Writes: 0 0 0 0 0 0 0 0

    ### /proc/scsi/scsi #############################################

    Attached devices:
    Host: scsi0 Channel: 00 Id: 06 Lun: 00
      Vendor: UMAX Model: Astra 2400S Rev: V1.1
      Type: Scanner ANSI SCSI revision: 02
    Host: scsi1 Channel: 00 Id: 05 Lun: 00
      Vendor: UMAX Model: Astra 2400S Rev: V1.1
      Type: Scanner ANSI SCSI revision: 02

    ### /etc/sane.d/dll.conf ########################################

    umax

    ### /etc/sane.d/umax.conf #######################################

    scsi UMAX * Scanner * * * *
    /dev/sg0
    /dev/sg1

    * Michael van Eeden - mieg@waag.org
    * Society for Old and New Media
    * Amsterdam, The Netherlands - http://www.waag.org

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Fri May 26 2000 - 05:47:51 PDT