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

73 wiersze
3.4 KiB
HTML

<!-- received="Tue Dec 9 19:10:33 1997 PST" -->
<!-- sent="Wed, 10 Dec 1997 02:06:28 +0100 (MET)" -->
<!-- name="becka@rz.uni-duesseldorf.de" -->
<!-- email="becka@rz.uni-duesseldorf.de" -->
<!-- subject="Re: Two SCSI bus question..." -->
<!-- id="m0xfabc-0000Z6C@charon.beck-sw.de" -->
<!-- inreplyto="199712092057.PAA00317@prospero.dma.isg.mot.com" -->
<title>sane-devel: Re: Two SCSI bus question...</title>
<h1>Re: Two SCSI bus question...</h1>
<a href="mailto:becka@rz.uni-duesseldorf.de"><i>becka@rz.uni-duesseldorf.de</i></a><br>
<i>Wed, 10 Dec 1997 02:06:28 +0100 (MET)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#56">[ date ]</a><a href="index.html#56">[ thread ]</a><a href="subject.html#56">[ subject ]</a><a href="author.html#56">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0057.html">Warren Early: "Re: microtek scanmaker III,V,VI,A3 etcetera"</a>
<li> <b>Previous message:</b> <a href="0055.html">borm: "Re: microtek scanmaker III,V,VI,A3 etcetera"</a>
<li> <b>In reply to:</b> <a href="0051.html">Christoph Doerbeck: "Re: Two SCSI bus question..."</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0058.html">Rogier Wolff: "Re: Two SCSI bus question..."</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt; &gt; All detected devices are assigned a raw-device in the order in which they </i><br>
<i>&gt; &gt; are detected. Scanning the busses goes dev-id first, then bus-id.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Thus you first get all devices on the first bus, then all on the second,</i><br>
<i>&gt; &gt; each in order of the SCSI IDs.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Thus your scanner wanders whenever a device that is below it in that ordering</i><br>
<i>&gt; &gt; scheme is there or not.</i><br>
<i>&gt; &gt; </i><br>
<p>
<i>&gt; But, let's say I have disk 1 (id=0), disk 2 (id=1), tape drive (id=2) and disk</i><br>
<i>&gt; 3 (id =3). Isn't disk 3 always /dev/sdc regardless if the tape drive powered</i><br>
<i>&gt; up?</i><br>
Yes, because the type is no disk. sd=Scsi Disk.<br>
<p>
<i>&gt; Shouldn't the scanner device behave the same way???? :-(</i><br>
/dev/sg* are sg=Scsi Generic.<br>
<p>
All devices get one. Thus all devices are important for the order.<br>
For disks only disks are important, for tapes only tapes, for cdrom only <br>
cdroms, but generic counts them all.<br>
<p>
<i>&gt; Maybe I'll just revert to the old ways of compiling device entries into the</i><br>
<i>&gt; kernel. </i><br>
<p>
How about a small script and /proc/scsi/scsi ?<br>
<p>
CU,Andy<br>
<p>
<pre>
--
Andreas Beck | Email : &lt;<a href="mailto:becka@sunserver1.rz.uni-duesseldorf.de">becka@sunserver1.rz.uni-duesseldorf.de</a>&gt;
<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="0057.html">Warren Early: "Re: microtek scanmaker III,V,VI,A3 etcetera"</a>
<li> <b>Previous message:</b> <a href="0055.html">borm: "Re: microtek scanmaker III,V,VI,A3 etcetera"</a>
<li> <b>In reply to:</b> <a href="0051.html">Christoph Doerbeck: "Re: Two SCSI bus question..."</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0058.html">Rogier Wolff: "Re: Two SCSI bus question..."</a>
<!-- reply="end" -->
</ul>