sane-project-website/old-archive/1998-02/0106.html

173 wiersze
8.6 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- 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>&gt; Please e-mail any replies to &lt;<a href="mailto:awr@stratos.net">awr@stratos.net</a>&gt; as well as the linux-scsi</i><br>
<i>&gt; list.</i><br>
<i>&gt;</i><br>
<i>&gt; I am working on an INTEL 200 MHz Pentium with IDE drives and CDROM.</i><br>
<i>&gt;</i><br>
<i>&gt; I have read SCSI-HOWTO, man sane-scsi. I have searched dejanews,</i><br>
<i>&gt; comp.os.linux.hardware, comp.os.linux.setup, and the redhat-list archives.</i><br>
<i>&gt; No solution is obvious to me. The last I checked Microtek offered no linux</i><br>
<i>&gt; help.</i><br>
<i>&gt;</i><br>
<i>&gt; I am not succeeding in getting the SCSI host adapter recognized. My RedHat</i><br>
<i>&gt; install is out of the box and I believe SCSI modular support is enabled in</i><br>
<i>&gt; the kernel since I get the following from 'modprobe'</i><br>
<i>&gt;</i><br>
<i>&gt; aw@teq:~&gt;modprobe -l -t scsi</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/wd7000.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/ultrastor.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/u14-34f.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/t128.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/st.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/sg.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/seagate.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/qlogicisp.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/qlogicfas.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/ppa.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/pas16.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/ncr53c8xx.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/in2000.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/gdth.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/g_NCR5380.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/fdomain.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/eata_pio.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/eata_dma.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/eata.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/dtc.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/aic7xxx.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/aha1740.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/aha1542.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/aha152x.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/advansys.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/NCR53c406a.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/BusLogic.o</i><br>
<i>&gt; /lib/modules/2.0.31/scsi/53c7,8xx.o</i><br>
<i>&gt;</i><br>
<i>&gt; I then do</i><br>
<i>&gt;</i><br>
<i>&gt; root@teq:&gt;insmod sg</i><br>
<i>&gt;</i><br>
<i>&gt; to enable the generic scsi module per the man page 'sane-scsi'</i><br>
<i>&gt;</i><br>
<i>&gt; After that</i><br>
<i>&gt;</i><br>
<i>&gt; aw@teq:~&gt;lsmod</i><br>
<i>&gt; Module Pages Used by</i><br>
<i>&gt; sg 1 0</i><br>
<i>&gt; autofs 2 1 (autoclean)</i><br>
<i>&gt; ipx 3 9 (autoclean)</i><br>
<i>&gt; vfat 3 1 (autoclean)</i><br>
<i>&gt;</i><br>
<i>&gt; tells me the generic scsi module 'sg' is loaded.</i><br>
<i>&gt;</i><br>
<i>&gt; Running RedHat's 'kernelcfg' program gives errors.</i><br>
<i>&gt;</i><br>
<i>&gt; Hence, I manually edited /etc/conf.modules to include a line like</i><br>
<i>&gt;</i><br>
<i>&gt; alias scsi_host aha152x aha152x=0x140,9,7</i><br>
<i>&gt;</i><br>
<i>&gt; ( NOTE ioport=140 HEX IRQ=9 and card scsiid=7 )</i><br>
<i>&gt;</i><br>
<i>&gt; ALTERNATIVELY I tried a line like</i><br>
<i>&gt;</i><br>
<i>&gt; alias scsi_host sg</i><br>
<i>&gt;</i><br>
<i>&gt; to no avail. I could not find any syntax hints to tell sg the ioport etc.</i><br>
<i>&gt;</i><br>
<i>&gt; Running SANE's</i><br>
<i>&gt;</i><br>
<i>&gt; root@teq:/dev&gt;scanimage --list-devices</i><br>
<i>&gt; [snapscan] add_device: failed to open scsi device "/dev/scanner".</i><br>
<i>&gt; File open error: Operation not supported by device</i><br>
<i>&gt; [snapscan] sane_snapscan_init: failed to add device "/dev/scanner"</i><br>
<i>&gt; device `pnm:0' is a Noname PNM file reader virtual device</i><br>
<i>&gt; device `pnm:1' is a Noname PNM file reader virtual device</i><br>
<i>&gt;</i><br>
<i>&gt; where I have tried all of the following</i><br>
<i>&gt;</i><br>
<i>&gt; /dev/scanner -&gt; /dev/sga, sgb, sgc, sgd, sge, sdf, sgg, sgh</i><br>
<i>&gt;</i><br>
<i>&gt; I am assuming since my scanner is at scsiid=1 that /dev/sgb should be the</i><br>
<i>&gt; correct generic scsi device.</i><br>
<i>&gt;</i><br>
<i>&gt; Any help is appreciated, Allen</i><br>
<i>&gt; --</i><br>
<i>&gt; Address:</i><br>
<i>&gt;</i><br>
<i>&gt; Allen Wilkinson (phone) (216) 382-7613</i><br>
<i>&gt; 1036 Pembrook Road (work) (216) 433-2075</i><br>
<i>&gt; Cleveland Heights, OH 44121 USA (INTERNET) <a href="mailto:awr@stratos.net">awr@stratos.net</a></i><br>
<i>&gt;</i><br>
<i>&gt; --</i><br>
<i>&gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; 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>