HELP: RedHat 5.0 and AHA1502AE SCSI adapter for Microtek E6 scanner setup

Allen Wilkinson (aw@stratos.net)
Mon, 16 Feb 1998 07:32:27 -0500 (EST)

Please e-mail any replies to <awr@stratos.net> as well as the linux-scsi
list.

I am working on an INTEL 200 MHz Pentium with IDE drives and CDROM.

I have read SCSI-HOWTO, man sane-scsi. I have searched dejanews,
comp.os.linux.hardware, comp.os.linux.setup, and the redhat-list archives.
No solution is obvious to me. The last I checked Microtek offered no linux
help.

I am not succeeding in getting the SCSI host adapter recognized. My RedHat
install is out of the box and I believe SCSI modular support is enabled in
the kernel since I get the following from 'modprobe'

aw@teq:~>modprobe -l -t scsi
/lib/modules/2.0.31/scsi/wd7000.o
/lib/modules/2.0.31/scsi/ultrastor.o
/lib/modules/2.0.31/scsi/u14-34f.o
/lib/modules/2.0.31/scsi/t128.o
/lib/modules/2.0.31/scsi/st.o
/lib/modules/2.0.31/scsi/sg.o
/lib/modules/2.0.31/scsi/seagate.o
/lib/modules/2.0.31/scsi/qlogicisp.o
/lib/modules/2.0.31/scsi/qlogicfas.o
/lib/modules/2.0.31/scsi/ppa.o
/lib/modules/2.0.31/scsi/pas16.o
/lib/modules/2.0.31/scsi/ncr53c8xx.o
/lib/modules/2.0.31/scsi/in2000.o
/lib/modules/2.0.31/scsi/gdth.o
/lib/modules/2.0.31/scsi/g_NCR5380.o
/lib/modules/2.0.31/scsi/fdomain.o
/lib/modules/2.0.31/scsi/eata_pio.o
/lib/modules/2.0.31/scsi/eata_dma.o
/lib/modules/2.0.31/scsi/eata.o
/lib/modules/2.0.31/scsi/dtc.o
/lib/modules/2.0.31/scsi/aic7xxx.o
/lib/modules/2.0.31/scsi/aha1740.o
/lib/modules/2.0.31/scsi/aha1542.o
/lib/modules/2.0.31/scsi/aha152x.o
/lib/modules/2.0.31/scsi/advansys.o
/lib/modules/2.0.31/scsi/NCR53c406a.o
/lib/modules/2.0.31/scsi/BusLogic.o
/lib/modules/2.0.31/scsi/53c7,8xx.o

I then do

root@teq:>insmod sg

to enable the generic scsi module per the man page 'sane-scsi'

After that

aw@teq:~>lsmod
Module Pages Used by
sg 1 0
autofs 2 1 (autoclean)
ipx 3 9 (autoclean)
vfat 3 1 (autoclean)

tells me the generic scsi module 'sg' is loaded.

Running RedHat's 'kernelcfg' program gives errors.

Hence, I manually edited /etc/conf.modules to include a line like

alias scsi_host aha152x aha152x=0x140,9,7

( NOTE ioport=140 HEX IRQ=9 and card scsiid=7 )

ALTERNATIVELY I tried a line like

alias scsi_host sg

to no avail. I could not find any syntax hints to tell sg the ioport etc.

Running SANE's

root@teq:/dev>scanimage --list-devices
[snapscan] add_device: failed to open scsi device "/dev/scanner".
File open error: Operation not supported by device
[snapscan] sane_snapscan_init: failed to add device "/dev/scanner"
device `pnm:0' is a Noname PNM file reader virtual device
device `pnm:1' is a Noname PNM file reader virtual device

where I have tried all of the following

/dev/scanner -> /dev/sga, sgb, sgc, sgd, sge, sdf, sgg, sgh

I am assuming since my scanner is at scsiid=1 that /dev/sgb should be the
correct generic scsi device.

Any help is appreciated, Allen

--
Address:

Allen Wilkinson (phone) (216) 382-7613 1036 Pembrook Road (work) (216) 433-2075 Cleveland Heights, OH 44121 USA (INTERNET) awr@stratos.net

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