kopia lustrzana https://gitlab.com/sane-project/website
84 wiersze
4.3 KiB
HTML
84 wiersze
4.3 KiB
HTML
<!-- received="Wed Dec 10 00:43:35 1997 PST" -->
|
|
<!-- sent="Wed, 10 Dec 1997 09:29:24 +0100 (MET)" -->
|
|
<!-- name="Rogier Wolff" -->
|
|
<!-- email="R.E.Wolff@BitWizard.nl" -->
|
|
<!-- subject="Re: Two SCSI bus question..." -->
|
|
<!-- id="199712100829.JAA00857@cave.BitWizard.nl" -->
|
|
<!-- inreplyto="199712092057.PAA00317@prospero.dma.isg.mot.com" -->
|
|
<title>sane-devel: Re: Two SCSI bus question...</title>
|
|
<h1>Re: Two SCSI bus question...</h1>
|
|
<b>Rogier Wolff</b> (<a href="mailto:R.E.Wolff@BitWizard.nl"><i>R.E.Wolff@BitWizard.nl</i></a>)<br>
|
|
<i>Wed, 10 Dec 1997 09:29:24 +0100 (MET)</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#58">[ date ]</a><a href="index.html#58">[ thread ]</a><a href="subject.html#58">[ subject ]</a><a href="author.html#58">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0059.html">Christoph Doerbeck: "Re: Two SCSI bus question..."</a>
|
|
<li> <b>Previous message:</b> <a href="0057.html">Warren Early: "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="0059.html">Christoph Doerbeck: "Re: Two SCSI bus question..."</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
Christoph Doerbeck wrote:<br>
|
|
<i>> </i><br>
|
|
<i>> > > The topic of having multiple SCSI buses has surfaced before, but</i><br>
|
|
<i>> > > my curiousity is how the /dev/(scanner) is assigned to a device.</i><br>
|
|
<i>> > > SCSI disks are simple, they're assigned in the order that they</i><br>
|
|
<i>> > > are detected (unless configured otherwise in the kernel). But,</i><br>
|
|
<i>> > > my scanner device seems to waffle around depending on whether or</i><br>
|
|
<i>> > > not some other devices are turned on/off at boot time. Any ideas???</i><br>
|
|
<i>> > </i><br>
|
|
<i>> > All detected devices are assigned a raw-device in the order in which they </i><br>
|
|
<i>> > are detected. Scanning the busses goes dev-id first, then bus-id.</i><br>
|
|
<i>> > </i><br>
|
|
<i>> > Thus you first get all devices on the first bus, then all on the second,</i><br>
|
|
<i>> > each in order of the SCSI IDs.</i><br>
|
|
<i>> > </i><br>
|
|
<i>> > Thus your scanner wanders whenever a device that is below it in that ordering</i><br>
|
|
<i>> > scheme is there or not.</i><br>
|
|
<i>> > </i><br>
|
|
<i>> </i><br>
|
|
<i>> But, let's say I have disk 1 (id=0), disk 2 (id=1), tape drive (id=2) and disk</i><br>
|
|
<i>> 3 (id =3). Isn't disk 3 always /dev/sdc regardless if the tape drive powered</i><br>
|
|
<i>> up? Let's say disk 4 is on controller 2 as id=0. Now /dev/sdd is always</i><br>
|
|
<i>> /dev/sdd unless one of the previous disks is not present at power up, </i><br>
|
|
<i>> regardless</i><br>
|
|
<i>> of the state of the tape drive.</i><br>
|
|
<i>> </i><br>
|
|
<i>> Shouldn't the scanner device behave the same way???? :-(</i><br>
|
|
<p>
|
|
<p>
|
|
Actually it does, however the "sdX" devices are just "all the scsi<br>
|
|
disks". The "sgX" devices are "all scsi devices". Thus if you want<br>
|
|
your scanner to remain in the same place, make sure that no devices<br>
|
|
with a power switch are before it.<br>
|
|
<p>
|
|
<p>
|
|
Roger.<br>
|
|
<p>
|
|
<pre>
|
|
--
|
|
** <a href="mailto:R.E.Wolff@BitWizard.nl">R.E.Wolff@BitWizard.nl</a> ** +31-15-2137555 ** <a href="http://www.BitWizard.nl/">http://www.BitWizard.nl/</a> **
|
|
Florida -- A 39 year old construction worker woke up this morning when a
|
|
109-car freight train drove over him. According to the police the man was
|
|
drunk. The man himself claims he slipped while walking the dog. 080897
|
|
<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="0059.html">Christoph Doerbeck: "Re: Two SCSI bus question..."</a>
|
|
<li> <b>Previous message:</b> <a href="0057.html">Warren Early: "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="0059.html">Christoph Doerbeck: "Re: Two SCSI bus question..."</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|