<div class="gmail_quote">On Tue, Apr 21, 2009 at 6:55 PM, Steve Langasek =
<span dir="ltr">&lt;<a href="mailto:vorlon@dodds.net">vorlon@dodds.net<=
/a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-=
left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left=
: 1ex;">
<div><div></div><div class="h5">On Tue, Apr 21, 2009 at 11:23:51AM -0500,=
 Jim Hall wrote:<br>
<br>
&gt; I have a scanner attached to an Adaptec card. Only use scanner on aver=
age<br>
&gt; twice a month for about 15 minutes, off and disconnedted from the card=
 the<br>
&gt; rest of the time.  Most of the time after connecting the scanner bac=
k to the<br>
&gt; card and powering it up  I have to reboot for the card to be recogni=
sed<br>
&gt; again. I&#39;ve searched the repositories with every term I can think =
of. Tools<br>
&gt; for working with the bus - yes. Working with the card - no. All I real=
ly<br>
&gt; want to do is be able to restart the card similar to start/stop the NI=
C.<br>
&gt; Command line, something.<br>
<br>
</div></div>keywords: &quot;rescan scsi bus&quot;<br>
<br>
If you install the scsitools package, it comes with a tool called<br>
rescan-scsi-bus.sh that will (at least in theory) let you do exactly this.<=
br>
<br>
I&#39;m assuming you don&#39;t need to scan LUNs or channels, just devices,=
 so<br>
something like:<br>
<br>
  rescan-scsi-bus.sh -r<br>
<br>
before you connect the scanner, and again when you unplug it and are done<b=
r>
with it, should do the trick.  If it doesn&#39;t, throw an extra &quot;-w=
&quot; option on<br>
there and try again.<br>
<br>
--<br>
<font color="#888888">Steve Langasek                   =
Give me a lever long enough and a Free OS<br>
Debian Developer                   to set it on, and I ca=
n move the world.<br>
Ubuntu Developer                             =
       <a href="http://www.debian.org/" target="_blank">http://=
www.debian.org/</a><br>
<a href="mailto:slangasek@ubuntu.com">slangasek@ubuntu.com</a>     =
                                <a href="=
mailto:vorlon@debian.org">vorlon@debian.org</a><br>
_______________________________________________<br>
QCLUG mailing list<br>
<a href="mailto:QCLUG@qclug.org">QCLUG@qclug.org</a><br>
<a href="http://qclug.org/mailman/listinfo/qclug" target="_blank">http:=
//qclug.org/mailman/listinfo/qclug</a><br>
</font></blockquote></div><br><br><br>Thanks, Steve. I&#39;ve tried it for =
a few days and it works perfectly.<br><br>Jim<br>