Re: Please help me with unrecogn. scanner (Microtek 630)

Zygo Blaxell (u3nzrrvm@umail.furryterror.org)
16 Feb 1999 14:19:20 -0500

In article <36C9608B.CD029EAB@raleigh.ibm.com>,
Robert J. Alexander <sane-devel@mostang.com> wrote:
>The scanner gets assigned /dev/sg1 normally, but if I boot with ALSO my
>4mm DAT SCSI tape on this device gets /dev/sg1 and the scanner becomes
>/dev/sg2 ...
>
>How can I force the scanner always to be /dev/sg1 ?

Change the SCSI ID's so the scanner's ID is lower than the DAT drive, or
write a script that reads /proc/scsi/scsi and figures out which sg device
the scanner has and updates a symbolic link named '/dev/scanner' to point
to the right sg device.

-- 
Zygo Blaxell, Linux Engineer, Corel Corporation, zygob@corel.ca (work),
zblaxell@furryterror.org (play).  It's my opinion, I tell you! Mine! All MINE!
Size of 'diff -Nurw [...] winehq corel' as of Tue Feb 16 13:14:00 EST 1999
Lines/files:  In 277 / 3, Out 20653 / 255, Both 20923 / 256

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