kopia lustrzana https://gitlab.com/sane-project/website
63 wiersze
3.2 KiB
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>>>>>> On Mon, 05 May 1997 11:34:45 -0400, "Michael K. Johnson" <<a href="mailto:johnsonm@redhat.com">johnsonm@redhat.com</a>> said:</i><br>
|
|
<p>
|
|
Michael> You can tell Linux to re-probe for a device at a specific<br>
|
|
Michael> location by echoing something to /proc/scsi/scsi -- here's<br>
|
|
Michael> a snip from /usr/src/linux/drivers/scsi/scsi.c:<br>
|
|
<p>
|
|
Michael> * Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi<br>
|
|
Michael> * with "0 1 2 3" replaced by your "Host Channel Id Lun".<br>
|
|
Michael> * Consider this feature BETA.<br>
|
|
Michael> * CAUTION: This is not for hotplugging your peripherals. As<br>
|
|
Michael> * SCSI was not designed for this you could damage your<br>
|
|
Michael> * hardware !<br>
|
|
Michael> * However perhaps it is legal to switch on an<br>
|
|
Michael> * already connected device. It is perhaps not<br>
|
|
Michael> * guaranteed this device doesn't corrupt an ongoing data transfer.<br>
|
|
<p>
|
|
Michael> You should only need to do this if the scanner wasn't on<br>
|
|
Michael> (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>
|