Re: 2 scanners on startup--have only one

From: Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Date: Sat Jul 15 2000 - 00:38:17 PDT

  • Next message: Oliver Rauch: "Re: Possible sane problem with version 1.0.2 or system"

    Bob van der Poel wrote:

    >
    >
    > Following Oliver's earlier advise I deleted /dev/scanner and I now skip
    > the 'pick a scanner' screen. Interestingly, sg1 is a link to sgb. I can
    > only assume that xsane is checking /dev/scanner and /dev/sg[a-h], but
    > not /dev/sg[0-9].
    >

    Hi Bob,

    that has nothing to do with xsane, it is done in the backend.

    A typicall backnd.conf (here umax.conf) looks something like that:

            scsi UMAX * Scanner
            /dev/scanner

    The first line is for linux and this means the backend
    (there is a lib in the sane package that does it for all sane backends)
    searches all generic scsi devices (/dev/sg*) for vendor=id="UMAX"
    and type=6 (Scanner). The lib is intelligent enough to know that
    /dev/sg1 and /dev/sgb are the same.

    the second line "/dev/scanner" is for non-linux-systems. Here the user
    has to tell sane to which device-file the scanner is connected.

    Bye
    Oliver

    --
    Homepage:       http://www.wolfsburg.de/~rauch
    sane-umax:      http://www.wolfsburg.de/~rauch/sane/sane-umax.html
    xsane:          http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
    E-Mail:         mailto:Oliver.Rauch@Wolfsburg.DE
    

    -- 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 Jul 15 2000 - 00:44:43 PDT