SOLVED: 2 scanners scanning at the same time?

From: Michaël van Eeden (mieg@waag.org)
Date: Sat May 27 2000 - 08:12:07 PDT

  • Next message: Marcel Pol: "Xsane & no devices"

    Douglas Gilbert wrote:
    > The Linux sg driver prior to lk 2.2.6 couldn't do two or more
    > things at once (unless the buffer size was 4096 bytes or less).
    > Can you upgrade your version of Linux?

    Thanks for your help!

    I upgraded to 2.2.14, and the scanners still waited for each other. In the
    mean time, i started to look at the debug output from sane-dll and sane-umax
    while doing a 'scanimage'. I seems to look at the capabilities of both
    scanners before a scan is made. I finally got it to work by setting the
    environment variable SANE_CONFIG_DIR to two different directories for the
    two different scanning sessions. One dir has a umax.conf with only:

      /dev/sg0

    in it, the other dir has a umax.conf with:

      /dev/sg1

    in it. Now it does work! But it seems to me this is a workaround that
    shouldn't be necessary.

    Maybe an idea would be to add an option to scanimage that disables the
    'do_inquiry' to all devices at the start of a scan, or make sure it only
    does it for the device that is being used?

    Anyway: i can live with the workaround. I am sure I wouldn't be able to set
    up a scan-server with several scanners attached to it without SANE, so
    thanks to you all for this great piece of software!

    Michael

    --
    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 : Sat May 27 2000 - 08:09:23 PDT