i2c fun stuff (Previous message: [XCSSA] cases with chassis intrusion sensor)

xcssa@xcssa.org xcssa@xcssa.org
Tue, 1 Aug 2006 18:37:25 -0400


------=_Part_597_5483894.1154471845375
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/31/06, xcssa-admin@xcssa.org <xcssa-admin@xcssa.org> wrote:
>
> On Monday 31 July 2006 18:26, xcssa-admin@xcssa.org wrote:
> > Hummm...... read the 'cases with chassis intrusion sensor' and got to
> > thinking if i2c stuff and some other software (open source ?) could be
> used
> > to do a harddrive analysis on the fly.
>
> Not i2c man.  I2C is used to talk to devices that are connected to the i2c
> bus.  Things like lmsensors, switches, thermocouplers, etc.


ok

> Useful for when one is at computer
> > shows to see what you're getting before getting the harddrive.
>
> No.  To test a hard drive, just do this (93% accurate according to the
> author):


Ok, and the hard drive pin settings to do this while at a vendor booth are?
;)
Suppose a portable w/ linux and the scythe device to hook up the external hd
via usb would work, but was looking for a small (as in fits in hand) version
-- linux juice box would be nice --


        # smartctl -t short /dev/hda&&sleep 300&&smartctl -a /dev/hda |grep
> -B2 ^#
>
> This will run a 3 minute test and the output of a good drive will
> something
> like this:
>
> Num  Test_Description    Status                  Remaining  LifeTime(hours)
> LBA_of_first_error
> # 1  Short offline       Completed without error
> 00%      2990         -
>
> 00% shows that the test passed and 2990 is the spinning age of the drive
> in
> hours.  That should come in pretty handy when evaluating the drive health
> and
> how "used" it is.
>
>
> > Not shure on the software, but the hardware side would include a
> > combination of  usb 2.0 to ide/sata <
> > http://www.scythe-usa.com/product/acc/013/scupc1000.html >; some type of
> > either wireless connection to a remote home box (pda/phone via unix
> > pipe/netcat/ssh && remote xwindows) or non-geeky pda/handheld w/
> > appropriate HD analysis software installed.
> > Comments?
>
> What the heck are you talking about?  Am I talking to Craig.. or just some
> technobabble script? ;)


  Ok, along with the scythe product, using handheld size stuff, use smartclt
if you have a linux handheld/pda w/ usb connection OR use hand held
PDA/phone as a router to a home box with linux on it to use smartctl (with a
remote xwindow redirect back to the device doing the routing). aka A
portable (ok, geeky) way to evaluate (e.g. hook the hd up to) the Hd.

Craig

------=_Part_597_5483894.1154471845375
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div><span class="gmail_quote">On 7/31/06, <b class="gmail_sendername"><a href="mailto:xcssa-admin@xcssa.org">xcssa-admin@xcssa.org</a></b> &lt;<a href="mailto:xcssa-admin@xcssa.org">xcssa-admin@xcssa.org</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Monday 31 July 2006 18:26, <a href="mailto:xcssa-admin@xcssa.org">xcssa-admin@xcssa.org
</a> wrote:<br>&gt; Hummm...... read the 'cases with chassis intrusion sensor' and got to<br>&gt; thinking if i2c stuff and some other software (open source ?) could be used<br>&gt; to do a harddrive analysis on the fly.<br>
<br>Not i2c man.&nbsp;&nbsp;I2C is used to talk to devices that are connected to the i2c<br>bus.&nbsp;&nbsp;Things like lmsensors, switches, thermocouplers, etc.</blockquote><div><br>
ok <br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; Useful for when one is at computer<br>&gt; shows to see what you're getting before getting the harddrive.
<br><br>No.&nbsp;&nbsp;To test a hard drive, just do this (93% accurate according to the<br>author):</blockquote><div><br>
Ok, and the hard drive pin settings to do this while at a vendor booth are? ;)<br>
Suppose a portable w/ linux and the scythe device to hook up the
external hd via usb would work, but was looking for a small (as in fits
in hand) version -- linux juice box would be nice --<br>
<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#
smartctl -t short /dev/hda&amp;&amp;sleep 300&amp;&amp;smartctl -a
/dev/hda |grep -B2 ^#<br><br>This will run a 3 minute test and the output of a good drive will something<br>like this:<br>Num&nbsp;&nbsp;Test_Description&nbsp;&nbsp;&nbsp;&nbsp;Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remaining&nbsp;&nbsp;LifeTime(hours)<br>LBA_of_first_error<br>
#
1&nbsp;&nbsp;Short offline&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Completed without error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
00%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2990&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-<br><br>00% shows that the test passed and 2990 is the spinning age of the drive in<br>hours.&nbsp;&nbsp;That should come in pretty handy when evaluating the drive health and<br>how &quot;used&quot; it is.<br><br><br>&gt; Not shure on the software, but the hardware side would include a
<br>&gt; combination of&nbsp;&nbsp;usb 2.0 to ide/sata &lt;<br>&gt; <a href="http://www.scythe-usa.com/product/acc/013/scupc1000.html">http://www.scythe-usa.com/product/acc/013/scupc1000.html</a> &gt;; some type of<br>&gt; either wireless connection to a remote home box (pda/phone via unix
<br>&gt; pipe/netcat/ssh &amp;&amp; remote xwindows) or non-geeky pda/handheld w/<br>&gt; appropriate HD analysis software installed.<br>&gt; Comments?<br><br>What the heck are you talking about?&nbsp;&nbsp;Am I talking to Craig.. or just some
<br>technobabble script? ;)</blockquote><div><br>
&nbsp; Ok, along with the scythe product, using handheld size stuff,
use smartclt if you have a linux handheld/pda w/ usb connection OR use
hand held PDA/phone as a router to a home box with linux on it to use
smartctl (with a remote xwindow redirect back to the device doing the
routing). aka A portable (ok, geeky) way to evaluate (e.g. hook the hd
up to) the Hd.<br>
<br>
</div>Craig<br>
</div><br>

------=_Part_597_5483894.1154471845375--