Messages in this thread |  | | Subject | Re: [WISHLIST] IBM HD Shock detection in Linux | | From | Kay Sievers <> | | Date | Fri, 10 Dec 2004 21:03:01 +0100 |
| |
On Fri, 2004-12-10 at 03:39 -0500, Shawn Starr wrote: > > Lee Revell <rlrevell <at> joe-job.com> writes: > > > > > > > > On Wed, 2004-12-01 at 13:31 -0500, Shawn Starr wrote: > > > > 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? > > > > 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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |