sane-project-website/old-archive/2000-10/0132.html

157 wiersze
5.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: Rescan SCSI Bus</TITLE>
<META NAME="Author" CONTENT="Rene Rebe (rene.rebe@myokay.net)">
<META NAME="Subject" CONTENT="Re: Rescan SCSI Bus">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Rescan SCSI Bus</H1>
<!-- received="Thu Oct 12 09:38:08 2000" -->
<!-- isoreceived="20001012163808" -->
<!-- sent="Thu, 12 Oct 2000 18:44:49 +0200" -->
<!-- isosent="20001012164449" -->
<!-- name="Rene Rebe" -->
<!-- email="rene.rebe@myokay.net" -->
<!-- subject="Re: Rescan SCSI Bus" -->
<!-- id="20001012184449N.rene@jackson" -->
<!-- inreplyto="39E5E061.76AA235A@interlog.com" -->
<STRONG>From:</STRONG> Rene Rebe (<A HREF="mailto:rene.rebe@myokay.net?Subject=Re:%20Rescan%20SCSI%20Bus&In-Reply-To=&lt;20001012184449N.rene@jackson&gt;"><EM>rene.rebe@myokay.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Oct 12 2000 - 09:44:49 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0133.html">Brian Craft: "saned &amp; net backend performance"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0131.html">Oliver Rauch: "Re: Rescan SCSI Bus"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0130.html">Douglas Gilbert: "Re: Rescan SCSI Bus"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0131.html">Oliver Rauch: "Re: Rescan SCSI Bus"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#132">[ date ]</A>
<A HREF="index.html#132">[ thread ]</A>
<A HREF="subject.html#132">[ subject ]</A>
<A HREF="author.html#132">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi!
<BR>
<P>Devfs (currently only in the kernel series 2.3.x or as patch) is
<BR>
another good idea, too.
<BR>
<P><A HREF="http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html">http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html</A>
<BR>
<P>With devfs you have a fine stuctured device tree in /dev.
<BR>
<P>ie: /dev/scsi/host0/bus0/target6/lun0/generic
<BR>
is my scanner cause it ever has scsi-id 6 ... ;-)
<BR>
<P>Douglas Gilbert &lt;<A HREF="mailto:dgilbert@interlog.com?Subject=Re:%20Rescan%20SCSI%20Bus&In-Reply-To=&lt;20001012184449N.rene@jackson&gt;">dgilbert@interlog.com</A>&gt; wrote:
<BR>
<P><EM>&gt; Steffen Vogelreuter wrote:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; My scanner was off during reboot. I wanted my scanner work without another reboot
</EM><BR>
<EM>&gt; &gt; and I used the echo command from the FAQ but the scanner was detected as sg3
</EM><BR>
<EM>&gt; &gt; and not as sg2 as he is detected at normal reboot. After that SANE returns &quot;no
</EM><BR>
<EM>&gt; &gt; devices available&quot; How can I tell the echo to use the scanner as sg2 or SANE to
</EM><BR>
<EM>&gt; &gt; use sg3.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; You can't. Once a sg mapping (sd, sr, or st mapping) has been
</EM><BR>
<EM>&gt; established then 'echo &quot;scsi add-single-device ...&quot; ' will
</EM><BR>
<EM>&gt; not change that mapping but append the new device.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; What you may be able to do is remove the device occupying
</EM><BR>
<EM>&gt; /dev/sg2 (with 'remove-single-device') and then add your
</EM><BR>
<EM>&gt; scanner followed by the re-adding the device that originally
</EM><BR>
<EM>&gt; occupied /dev/sg2 . This would not be a good idea if
</EM><BR>
<EM>&gt; /dev/sg2 was a disk containing your root file system.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; There are other possibilities as well. See the FAQ (question
</EM><BR>
<EM>&gt; 4.6) at: <A HREF="http://www.torque.net/sg/faq.html">http://www.torque.net/sg/faq.html</A> .
</EM><BR>
<EM>&gt; The 'scsidev' utility might be a useful addition to the
</EM><BR>
<EM>&gt; SANE release for people who have several SCSI devices
</EM><BR>
<EM>&gt; which are not always present at boot.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Doug Gilbert
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Rescan%20SCSI%20Bus&In-Reply-To=&lt;20001012184449N.rene@jackson&gt;">majordomo@mostang.com</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<P>k33p h4ck1n6 Ren<65>
<BR>
<P><PRE>
--
Ren<EFBFBD> Rebe (Registered Linux user: #127875)
<A HREF="http://www.rene.rebe.myokay.net/">http://www.rene.rebe.myokay.net/</A>
-Germany-
<P>Anyone sending unwanted advertising e-mail to this address will be charged
$25 for network traffic and computing time. By extracting my address from
this message or its header, you agree to these terms.
<P>--
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?Subject=Re:%20Rescan%20SCSI%20Bus&In-Reply-To=&lt;20001012184449N.rene@jackson&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0133.html">Brian Craft: "saned &amp; net backend performance"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0131.html">Oliver Rauch: "Re: Rescan SCSI Bus"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0130.html">Douglas Gilbert: "Re: Rescan SCSI Bus"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0131.html">Oliver Rauch: "Re: Rescan SCSI Bus"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#132">[ date ]</A>
<A HREF="index.html#132">[ thread ]</A>
<A HREF="subject.html#132">[ subject ]</A>
<A HREF="author.html#132">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Thu Oct 12 2000 - 09:39:09 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>