Skip to contentSkip to conversation

IBM HD Shock detection in Linux

WISHLIST Shawn Starr 4 participants 5 messages Dec 10, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines
Quoted 6 lines · Lee Revell <rlrevell <at> joe-job.com> writes:
Quoted 3 lines · Shawn Starr

While I have seen this feature in XP, It would be nice to have such functionality in Linux. Does anyone know if this is being worked on somewhere?

Quoted 8 lines
Quoted 1 line

What is it? What does it do? How does it work? Got a link?

It's a motion detector on the motherboard.

Here is an IBM whitepaper:
ftp://ftp.software.ibm.com/pc/pccbbs/mobiles_pdf/aps2mst.pdf

Kay

Where can we find it on the motherboard or probe for it safely?

Shawn.

#1 lore raw
Quoted 10 lines · Shawn Starr
Quoted 10 lines
Quoted 7 lines · Lee Revell <rlrevell <at> joe-job.com> writes:
Quoted 3 lines · Shawn Starr

While I have seen this feature in XP, It would be nice to have such functionality in Linux. Does anyone know if this is being worked on somewhere?

What is it? What does it do? How does it work? Got a link?

Quoted 9 lines
Quoted 6 lines

It's a motion detector on the motherboard.

Here is an IBM whitepaper:
ftp://ftp.software.ibm.com/pc/pccbbs/mobiles_pdf/aps2mst.pdf

Kay

Where can we find it on the motherboard or probe for it safely?

Exactly. All the IBM people on this list and not one remotely useful post. I can contact [email protected] or something if I want a bunch of fluff. That whitepaper is just a user level guide for the Windows driver ferchrissake.

Obviously it's a motion detector on the motherboard. How do we freaking TALK to it? As in, what bits to we write to what registers to do what.

Anyway, Linux support doesn't look good, if IBM isn't going to help.

Lee

#2 lore raw
In reply to Shawn Starr
Quoted 8 lines · Shawn Starr
Quoted 8 lines
Quoted 6 lines · Lee Revell <rlrevell <at> joe-job.com> writes:
Quoted 3 lines · Shawn Starr

While I have seen this feature in XP, It would be nice to have such functionality in Linux. Does anyone know if this is being worked on somewhere?

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

What is it? What does it do? How does it work? Got a link?

It's a motion detector on the motherboard.

Here is an IBM whitepaper:
ftp://ftp.software.ibm.com/pc/pccbbs/mobiles_pdf/aps2mst.pdf

Where can we find it on the motherboard or probe for it safely?

No idea. Look at shockprf.sys in the Windows driver:

Shockproof Disk Driver
Copyright (C) IBM Corp. 2002, 2003
Autonomic HDD Protection Manager
IBM Hard Drive Active Protection System

You will find something like that:

  .text:00010409                 push    0Ah
  .text:0001040B                 push    3F6h
  .text:00010410                 call    ds:WRITE_PORT_UCHAR
  ...
  .text:00014661                 push    7
  .text:00014663                 push    2Eh
  .text:00014665                 call    esi ; WRITE_PORT_UCHAR
  ...
  .text:00014672                 push    7
  .text:00014674                 push    2Fh
  .text:00014676                 call    esi ; WRITE_PORT_UCHAR
  ...
  .text:0001467C                 push    60h
  .text:0001467E                 push    2Eh
  .text:00014680                 call    esi ; WRITE_PORT_UCHAR
  ...
  .text:0001482E                 push    1F0h
  .text:00014833                 call    ds:READ_PORT_USHORT

Good luck,
Kay

#3 lore raw
Quoted 4 lines · Kay Sievers
Quoted 1 line

Where can we find it on the motherboard or probe for it safely?

No idea. Look at shockprf.sys in the Windows driver:

So in other words reverse engineer it. Ugh. I thought those days were behind us, at least with regards to "linux friendly" vendors like IBM.

Shawn, why don't you just ask IBM for the data sheet?

Lee

#4 lore raw
Quoted 4 lines · Lee Revell

So in other words reverse engineer it. Ugh. I thought those days were behind us, at least with regards to "linux friendly" vendors like IBM.

Shawn, why don't you just ask IBM for the data sheet?

IBM are still really really bad about external data sheets and the like. I spent over three years chasing IBM for docking station chip information.

Alan