Re: Rescan SCSI Bus

From: Remco Blaakmeer (remco-blaakmeer@quicknet.nl)
Date: Sun Oct 15 2000 - 15:46:30 PDT

  • Next message: David Mosberger-Tang: "Re: bug in sanei_debug.h"

    On Thu, 12 Oct 2000, Oliver Rauch wrote:

    > Steffen Vogelreuter wrote:
    > >
    > > My scanner was off during reboot. I wanted my scanner work without another reboot
    > > and I used the echo command from the FAQ but the scanner was detected as sg3
    > > and not as sg2 as he is detected at normal reboot. After that SANE returns "no
    > > devices available" How can I tell the echo to use the scanner as sg2 or SANE to
    > > use sg3.
    >
    > there is no good way to do that,
    >
    > but:
    > 1) this happens more often, change the scsi ID of the scanner (may be you have
    > to swap it with an other device) so that it gets the largest number
    > (eg 6) used by all scsi devices. This way you do not change the order
    > of the devices when the scanner is recogniced after boot.
    >
    > 2) change permission of /dev/sg3 (use the same permissions like /dev/sg2)

    3) Take a look at scsidev. On Debian GNU/Linux systems, it's in the
    scsitools package. See also http://www.garloff.de/kurt/linux/scsidev/

    Remco

    -- 
    qn-195-66-31-144:  12:40am  up 41 days, 56 min,  7 users,  load average: 1.01, 1.15, 1.23
    

    -- 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 : Sun Oct 15 2000 - 15:38:28 PDT