kopia lustrzana https://gitlab.com/sane-project/website
157 wiersze
5.9 KiB
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=<20001012184449N.rene@jackson>"><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 & 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 <<A HREF="mailto:dgilbert@interlog.com?Subject=Re:%20Rescan%20SCSI%20Bus&In-Reply-To=<20001012184449N.rene@jackson>">dgilbert@interlog.com</A>> wrote:
|
||
<BR>
|
||
<P><EM>> Steffen Vogelreuter wrote:
|
||
</EM><BR>
|
||
<EM>> >
|
||
</EM><BR>
|
||
<EM>> > My scanner was off during reboot. I wanted my scanner work without another reboot
|
||
</EM><BR>
|
||
<EM>> > and I used the echo command from the FAQ but the scanner was detected as sg3
|
||
</EM><BR>
|
||
<EM>> > and not as sg2 as he is detected at normal reboot. After that SANE returns "no
|
||
</EM><BR>
|
||
<EM>> > devices available" How can I tell the echo to use the scanner as sg2 or SANE to
|
||
</EM><BR>
|
||
<EM>> > use sg3.
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> You can't. Once a sg mapping (sd, sr, or st mapping) has been
|
||
</EM><BR>
|
||
<EM>> established then 'echo "scsi add-single-device ..." ' will
|
||
</EM><BR>
|
||
<EM>> not change that mapping but append the new device.
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> What you may be able to do is remove the device occupying
|
||
</EM><BR>
|
||
<EM>> /dev/sg2 (with 'remove-single-device') and then add your
|
||
</EM><BR>
|
||
<EM>> scanner followed by the re-adding the device that originally
|
||
</EM><BR>
|
||
<EM>> occupied /dev/sg2 . This would not be a good idea if
|
||
</EM><BR>
|
||
<EM>> /dev/sg2 was a disk containing your root file system.
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> There are other possibilities as well. See the FAQ (question
|
||
</EM><BR>
|
||
<EM>> 4.6) at: <A HREF="http://www.torque.net/sg/faq.html">http://www.torque.net/sg/faq.html</A> .
|
||
</EM><BR>
|
||
<EM>> The 'scsidev' utility might be a useful addition to the
|
||
</EM><BR>
|
||
<EM>> SANE release for people who have several SCSI devices
|
||
</EM><BR>
|
||
<EM>> which are not always present at boot.
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> Doug Gilbert
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> --
|
||
</EM><BR>
|
||
<EM>> Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
||
</EM><BR>
|
||
<EM>> To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Rescan%20SCSI%20Bus&In-Reply-To=<20001012184449N.rene@jackson>">majordomo@mostang.com</A>
|
||
</EM><BR>
|
||
<EM>>
|
||
</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=<20001012184449N.rene@jackson>">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 & 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>
|