sane-project-website/old-archive/1997-12/0072.html

66 wiersze
2.8 KiB
HTML

<!-- received="Thu Dec 11 19:17:34 1997 PST" -->
<!-- sent="Thu, 11 Dec 1997 22:17:18 -0500" -->
<!-- name="Matto Marjanovic" -->
<!-- email="maddog@mir.com" -->
<!-- subject="Re: Highscreen PerfectScan" -->
<!-- id="199712120317.WAA02404@yoo-hoo.ai.mit.edu" -->
<!-- inreplyto="Highscreen PerfectScan" -->
<title>sane-devel: Re: Highscreen PerfectScan</title>
<h1>Re: Highscreen PerfectScan</h1>
<b>Matto Marjanovic</b> (<a href="mailto:maddog@mir.com"><i>maddog@mir.com</i></a>)<br>
<i>Thu, 11 Dec 1997 22:17:18 -0500</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#72">[ date ]</a><a href="index.html#72">[ thread ]</a><a href="subject.html#72">[ subject ]</a><a href="author.html#72">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0073.html">Warren Early: "Re: Highscreen PerfectScan"</a>
<li> <b>Previous message:</b> <a href="0071.html">Mark Andrachek: "Re: Highscreen PerfectScan"</a>
<li> <b>Maybe in reply to:</b> <a href="0062.html">Early, Warren: "Highscreen PerfectScan"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Any, the card the E6 comes with is an adaptec 1502 (or 1502E), it <br>
only supports one scsi device. Although not officially supported,<br>
a small change will get it working as an aha152x.<br>
<p>
edit aha152x.c, add<br>
<p>
#define address REAL_ADDRESS (for me it's D400)<br>
#define IRQ REAL_IRQ (for me, again, 10) <br>
<p>
<p>
Or, if you do compile the scsi support (for Linux) as a module, you don't<br>
have to change the source code at all. Just put the following in your<br>
/etc/conf.modules:<br>
<p>
options aha152x aha152x=0x140,9,7,0,1,1<br>
alias scsi_hostadapter aha152x<br>
<p>
Then, when you load the module with modprobe, the settings are set on the fly.<br>
(Your settings will vary; this parameter line is described in the source file,<br>
aha152x.c)<br>
<p>
The second line is for kerneld --- with that you don't have to modprobe at all,<br>
the module will be loaded automagically when you access the device. (But,<br>
I have had weird kernel errors about memory allocation after the scsi mods<br>
have loaded and unloaded a few times.)<br>
<p>
-matt m.<br>
<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="0073.html">Warren Early: "Re: Highscreen PerfectScan"</a>
<li> <b>Previous message:</b> <a href="0071.html">Mark Andrachek: "Re: Highscreen PerfectScan"</a>
<li> <b>Maybe in reply to:</b> <a href="0062.html">Early, Warren: "Highscreen PerfectScan"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>