[NBLUG/talk] Scanner Setup

E Frank Ball frankb at efball.com
Tue Mar 2 13:33:01 PST 2004


On Tue, Mar 02, 2004 at 09:42:36AM -0800, Ian Sutherland wrote:
} I have a ScanJet 6100c that uses a Symbios Logic 53C416 SCSI controller.
} How do I set it up to work on Red Hat 9 Linux? I am new to Linux.


I make a symbolic link in /dev to point "scanner" to the real device:

ls -l /dev/scanner
lrwxrwxrwx    1 root   root    3 Jan 29 18:27 /dev/scanner -> sg3


In this case it's sg3 because it's the 4th device on the
SCSI bus (count from zero):

cat /proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: WDIGTL   Model: ENTERPRISE       Rev: 1.70
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: SEAGATE  Model: ST32171N         Rev: 0360
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: SONY     Model: CD-ROM CDU-76S   Rev: 1.1c
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: HP       Model: C1790A           Rev: 3208
  Type:   Processor                        ANSI SCSI revision: 02


To make such a link: 
cd /dev
ln -s sg0 scanner

Or whatever sg number you need.

Then fire up xsane and start scanning. 

-- 

   E Frank Ball   frankb at efball.com



More information about the talk mailing list