sane-project-website/old-archive/1997-02/0110.html

63 wiersze
3.2 KiB
HTML

<!-- received="Mon May 5 10:00:43 1997 MST" -->
<!-- sent="Mon, 5 May 1997 09:47:48 -0700" -->
<!-- name="David Mosberger-Tang" -->
<!-- email="davidm@azstarnet.com" -->
<!-- subject="Re: turning off scanner-lamp" -->
<!-- id="199705051647.JAA13830@panda.mosberger" -->
<!-- inreplyto="199705051534.LAA27043@tristan.redhat.com" -->
<title>sane-devel: Re: turning off scanner-lamp</title>
<h1>Re: turning off scanner-lamp</h1>
<b>David Mosberger-Tang</b> (<a href="mailto:davidm@azstarnet.com"><i>davidm@azstarnet.com</i></a>)<br>
<i>Mon, 5 May 1997 09:47:48 -0700</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#110">[ date ]</a><a href="index.html#110">[ thread ]</a><a href="subject.html#110">[ subject ]</a><a href="author.html#110">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0111.html">David Mosberger-Tang: "generic SCSI on SunOS/Solaris?"</a>
<li> <b>Previous message:</b> <a href="0109.html">Michael K. Johnson: "Re: turning off scanner-lamp"</a>
<li> <b>In reply to:</b> <a href="0109.html">Michael K. Johnson: "Re: turning off scanner-lamp"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0112.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt;&gt;&gt;&gt;&gt; On Mon, 05 May 1997 11:34:45 -0400, "Michael K. Johnson" &lt;<a href="mailto:johnsonm@redhat.com">johnsonm@redhat.com</a>&gt; said:</i><br>
<p>
Michael&gt; You can tell Linux to re-probe for a device at a specific<br>
Michael&gt; location by echoing something to /proc/scsi/scsi -- here's<br>
Michael&gt; a snip from /usr/src/linux/drivers/scsi/scsi.c:<br>
<p>
Michael&gt; * Usage: echo "scsi add-single-device 0 1 2 3" &gt;/proc/scsi/scsi<br>
Michael&gt; * with "0 1 2 3" replaced by your "Host Channel Id Lun".<br>
Michael&gt; * Consider this feature BETA.<br>
Michael&gt; * CAUTION: This is not for hotplugging your peripherals. As<br>
Michael&gt; * SCSI was not designed for this you could damage your<br>
Michael&gt; * hardware !<br>
Michael&gt; * However perhaps it is legal to switch on an<br>
Michael&gt; * already connected device. It is perhaps not<br>
Michael&gt; * guaranteed this device doesn't corrupt an ongoing data transfer.<br>
<p>
Michael&gt; You should only need to do this if the scanner wasn't on<br>
Michael&gt; (or ready) when you booted.<br>
<p>
That's neat! I'll add a script or at least some docs on this.<br>
<p>
--david<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0111.html">David Mosberger-Tang: "generic SCSI on SunOS/Solaris?"</a>
<li> <b>Previous message:</b> <a href="0109.html">Michael K. Johnson: "Re: turning off scanner-lamp"</a>
<li> <b>In reply to:</b> <a href="0109.html">Michael K. Johnson: "Re: turning off scanner-lamp"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0112.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<!-- reply="end" -->
</ul>