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

75 wiersze
3.7 KiB
HTML

<!-- received="Mon May 5 08:53:48 1997 MST" -->
<!-- sent="Mon, 05 May 1997 11:34:45 -0400" -->
<!-- name="Michael K. Johnson" -->
<!-- email="johnsonm@redhat.com" -->
<!-- subject="Re: turning off scanner-lamp" -->
<!-- id="199705051534.LAA27043@tristan.redhat.com" -->
<!-- inreplyto="turning off scanner-lamp" -->
<title>sane-devel: Re: turning off scanner-lamp</title>
<h1>Re: turning off scanner-lamp</h1>
<b>Michael K. Johnson</b> (<a href="mailto:johnsonm@redhat.com"><i>johnsonm@redhat.com</i></a>)<br>
<i>Mon, 05 May 1997 11:34:45 -0400</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#109">[ date ]</a><a href="index.html#109">[ thread ]</a><a href="subject.html#109">[ subject ]</a><a href="author.html#109">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0110.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<li> <b>Previous message:</b> <a href="0108.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<li> <b>Maybe in reply to:</b> <a href="0107.html">Andy Thaller: "turning off scanner-lamp"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0110.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<li> <b>Reply:</b> <a href="0110.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<li> <b>Reply:</b> <a href="0112.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<li> <b>Reply:</b> <a href="0113.html">Mathias Weigt: "Re: turning off scanner-lamp"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Andy Thaller writes:<br>
<i>&gt;Or can the scsi-system cope with the scanner being turned off and on</i><br>
<i>&gt;during runtime?</i><br>
<p>
I turn my Umax scanner off and on while the computer is running, and<br>
haven't had any problems. No promises, of course.<br>
<p>
You can tell Linux to re-probe for a device at a specific location by<br>
echoing something to /proc/scsi/scsi -- here's a snip from<br>
/usr/src/linux/drivers/scsi/scsi.c:<br>
<p>
* Usage: echo "scsi add-single-device 0 1 2 3" &gt;/proc/scsi/scsi<br>
* with "0 1 2 3" replaced by your "Host Channel Id Lun".<br>
* Consider this feature BETA.<br>
* CAUTION: This is not for hotplugging your peripherals. As<br>
* SCSI was not designed for this you could damage your<br>
* hardware !<br>
* However perhaps it is legal to switch on an<br>
* already connected device. It is perhaps not<br>
* guaranteed this device doesn't corrupt an ongoing data transfer.<br>
<p>
You should only need to do this if the scanner wasn't on (or ready)<br>
when you booted.<br>
<p>
michaelkjohnson<br>
<p>
"Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?"<br>
<p>
<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="0110.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<li> <b>Previous message:</b> <a href="0108.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<li> <b>Maybe in reply to:</b> <a href="0107.html">Andy Thaller: "turning off scanner-lamp"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0110.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<li> <b>Reply:</b> <a href="0110.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<li> <b>Reply:</b> <a href="0112.html">David Mosberger-Tang: "Re: turning off scanner-lamp"</a>
<li> <b>Reply:</b> <a href="0113.html">Mathias Weigt: "Re: turning off scanner-lamp"</a>
<!-- reply="end" -->
</ul>