kopia lustrzana https://gitlab.com/sane-project/website
173 wiersze
8.6 KiB
HTML
173 wiersze
8.6 KiB
HTML
<!-- received="Wed Feb 18 16:35:05 1998 PST" -->
|
||
<!-- sent="Wed, 18 Feb 1998 17:53:46 -0500" -->
|
||
<!-- name="Peter JD Hall" -->
|
||
<!-- email="phall@ilap.com" -->
|
||
<!-- subject="Re: HELP: RedHat 5.0 and AHA1502AE SCSI adapter for Microtek E6 scanner setup" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="HELP: RedHat 5.0 and AHA1502AE SCSI adapter for Microtek E6 scanner setup" -->
|
||
<title>sane-devel: Re: HELP: RedHat 5.0 and AHA1502AE SCSI adapter for Microtek E6 scanner setup</title>
|
||
<h1>Re: HELP: RedHat 5.0 and AHA1502AE SCSI adapter for Microtek E6 scanner setup</h1>
|
||
<b>Peter JD Hall</b> (<a href="mailto:phall@ilap.com"><i>phall@ilap.com</i></a>)<br>
|
||
<i>Wed, 18 Feb 1998 17:53:46 -0500</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#106">[ date ]</a><a href="index.html#106">[ thread ]</a><a href="subject.html#106">[ subject ]</a><a href="author.html#106">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0107.html">Nicolas Lucas de Peslouan: "Umax Astra 6x0S - CCD distance - Do they *really* do this that way ?"</a>
|
||
<li> <b>Previous message:</b> <a href="0105.html">Henk Elbers: "Re: HELP: RedHat 5.0 and AHA1502AE SCSI adapter for Microtek E6 scanner setup"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0102.html">Allen Wilkinson: "HELP: RedHat 5.0 and AHA1502AE SCSI adapter for Microtek E6 scanner setup"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
Hi Allan,<br>
|
||
I am using that card but with an E3. I had quite a time getting it set<br>
|
||
up under Slackware 3.3.0 with kernel 2.0.33. I now have it working with<br>
|
||
xscanimage. I install the generic scsi driver which is<br>
|
||
soundblaster with the same chip. If I have the scanner switched on at boot<br>
|
||
time it is picked up as device sge. I am not sure why but I use four other<br>
|
||
scsi devices which use the ncr card. Anyhow I also use the alias optoion<br>
|
||
that you use.<br>
|
||
The main problem I had was getting the correct group and permissions on<br>
|
||
the sg devices in /dev directory. I also managed to mislink the scanner to<br>
|
||
sge. I then had deleted this file and did not relize that you must use mknod<br>
|
||
or the device builder script file. Once I had htis all sorted out the sge as<br>
|
||
a special character file and the correct link to scanner from sge I was able<br>
|
||
to start up xscanimage with the adaptectcard and the E3 scanner.<br>
|
||
In /etc/rc.modules I have the following lines uncommented<br>
|
||
/sbin/modprobe aha152x=0x140,10,7,1<br>
|
||
/sbin/modprobe sg<br>
|
||
In /etc/conf.modules I have the following<br>
|
||
alias scsi_hostadapter aha152x<br>
|
||
<p>
|
||
Please bear in mind that I just hacked away at it until presto it worked.<br>
|
||
The first thing seems to be to get the kernel to recognize the card and<br>
|
||
thenonce you have that to get sane to recognize the device.<br>
|
||
I hope this is of some help<br>
|
||
Cheers,<br>
|
||
Peter Hall<br>
|
||
Allen Wilkinson wrote:<br>
|
||
<p>
|
||
<i>> Please e-mail any replies to <<a href="mailto:awr@stratos.net">awr@stratos.net</a>> as well as the linux-scsi</i><br>
|
||
<i>> list.</i><br>
|
||
<i>></i><br>
|
||
<i>> I am working on an INTEL 200 MHz Pentium with IDE drives and CDROM.</i><br>
|
||
<i>></i><br>
|
||
<i>> I have read SCSI-HOWTO, man sane-scsi. I have searched dejanews,</i><br>
|
||
<i>> comp.os.linux.hardware, comp.os.linux.setup, and the redhat-list archives.</i><br>
|
||
<i>> No solution is obvious to me. The last I checked Microtek offered no linux</i><br>
|
||
<i>> help.</i><br>
|
||
<i>></i><br>
|
||
<i>> I am not succeeding in getting the SCSI host adapter recognized. My RedHat</i><br>
|
||
<i>> install is out of the box and I believe SCSI modular support is enabled in</i><br>
|
||
<i>> the kernel since I get the following from 'modprobe'</i><br>
|
||
<i>></i><br>
|
||
<i>> aw@teq:~>modprobe -l -t scsi</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/wd7000.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/ultrastor.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/u14-34f.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/t128.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/st.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/sg.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/seagate.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/qlogicisp.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/qlogicfas.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/ppa.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/pas16.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/ncr53c8xx.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/in2000.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/gdth.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/g_NCR5380.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/fdomain.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/eata_pio.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/eata_dma.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/eata.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/dtc.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/aic7xxx.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/aha1740.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/aha1542.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/aha152x.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/advansys.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/NCR53c406a.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/BusLogic.o</i><br>
|
||
<i>> /lib/modules/2.0.31/scsi/53c7,8xx.o</i><br>
|
||
<i>></i><br>
|
||
<i>> I then do</i><br>
|
||
<i>></i><br>
|
||
<i>> root@teq:>insmod sg</i><br>
|
||
<i>></i><br>
|
||
<i>> to enable the generic scsi module per the man page 'sane-scsi'</i><br>
|
||
<i>></i><br>
|
||
<i>> After that</i><br>
|
||
<i>></i><br>
|
||
<i>> aw@teq:~>lsmod</i><br>
|
||
<i>> Module Pages Used by</i><br>
|
||
<i>> sg 1 0</i><br>
|
||
<i>> autofs 2 1 (autoclean)</i><br>
|
||
<i>> ipx 3 9 (autoclean)</i><br>
|
||
<i>> vfat 3 1 (autoclean)</i><br>
|
||
<i>></i><br>
|
||
<i>> tells me the generic scsi module 'sg' is loaded.</i><br>
|
||
<i>></i><br>
|
||
<i>> Running RedHat's 'kernelcfg' program gives errors.</i><br>
|
||
<i>></i><br>
|
||
<i>> Hence, I manually edited /etc/conf.modules to include a line like</i><br>
|
||
<i>></i><br>
|
||
<i>> alias scsi_host aha152x aha152x=0x140,9,7</i><br>
|
||
<i>></i><br>
|
||
<i>> ( NOTE ioport=140 HEX IRQ=9 and card scsiid=7 )</i><br>
|
||
<i>></i><br>
|
||
<i>> ALTERNATIVELY I tried a line like</i><br>
|
||
<i>></i><br>
|
||
<i>> alias scsi_host sg</i><br>
|
||
<i>></i><br>
|
||
<i>> to no avail. I could not find any syntax hints to tell sg the ioport etc.</i><br>
|
||
<i>></i><br>
|
||
<i>> Running SANE's</i><br>
|
||
<i>></i><br>
|
||
<i>> root@teq:/dev>scanimage --list-devices</i><br>
|
||
<i>> [snapscan] add_device: failed to open scsi device "/dev/scanner".</i><br>
|
||
<i>> File open error: Operation not supported by device</i><br>
|
||
<i>> [snapscan] sane_snapscan_init: failed to add device "/dev/scanner"</i><br>
|
||
<i>> device `pnm:0' is a Noname PNM file reader virtual device</i><br>
|
||
<i>> device `pnm:1' is a Noname PNM file reader virtual device</i><br>
|
||
<i>></i><br>
|
||
<i>> where I have tried all of the following</i><br>
|
||
<i>></i><br>
|
||
<i>> /dev/scanner -> /dev/sga, sgb, sgc, sgd, sge, sdf, sgg, sgh</i><br>
|
||
<i>></i><br>
|
||
<i>> I am assuming since my scanner is at scsiid=1 that /dev/sgb should be the</i><br>
|
||
<i>> correct generic scsi device.</i><br>
|
||
<i>></i><br>
|
||
<i>> Any help is appreciated, Allen</i><br>
|
||
<i>> --</i><br>
|
||
<i>> Address:</i><br>
|
||
<i>></i><br>
|
||
<i>> Allen Wilkinson (phone) (216) 382-7613</i><br>
|
||
<i>> 1036 Pembrook Road (work) (216) 433-2075</i><br>
|
||
<i>> Cleveland Heights, OH 44121 USA (INTERNET) <a href="mailto:awr@stratos.net">awr@stratos.net</a></i><br>
|
||
<i>></i><br>
|
||
<i>> --</i><br>
|
||
<i>> Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
|
||
<i>> To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
|
||
<p>
|
||
<p>
|
||
<p>
|
||
<p>
|
||
<p>
|
||
<pre>
|
||
--
|
||
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
|
||
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
|
||
</pre>
|
||
<!-- body="end" -->
|
||
<p>
|
||
<ul>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0107.html">Nicolas Lucas de Peslouan: "Umax Astra 6x0S - CCD distance - Do they *really* do this that way ?"</a>
|
||
<li> <b>Previous message:</b> <a href="0105.html">Henk Elbers: "Re: HELP: RedHat 5.0 and AHA1502AE SCSI adapter for Microtek E6 scanner setup"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0102.html">Allen Wilkinson: "HELP: RedHat 5.0 and AHA1502AE SCSI adapter for Microtek E6 scanner setup"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|