Difference between revisions of "Active Protection System"

From ThinkWiki
Jump to: navigation, search
m
Line 11: Line 11:
  
 
==Linux Support==
 
==Linux Support==
Linux support is in early development.
+
Linux support is in development.
 
 
This feature definitely depends on software and there is no hardware or BIOS only way of making it work. A statement from IBM clarifies this:
 
"The APS system will require APS software to be installed on the
 
computer before it activates the harddrive parking . This means it will
 
not work on systems preloaded with Linux."
 
  
 +
This feature definitely depends on software and there is no hardware or BIOS only way of making it work.
 
IBM made contradictory statements about their willingness to release the specifications of the hardware sensor and its API to the linux community or some developers. Although a lot of developers and other interested people from the OpenSource community actively contacted IBM to get the specs, in fact they never got them.
 
IBM made contradictory statements about their willingness to release the specifications of the hardware sensor and its API to the linux community or some developers. Although a lot of developers and other interested people from the OpenSource community actively contacted IBM to get the specs, in fact they never got them.
  
Meanwhile, some independent projects are making progress:
+
However, after first efforts of [http://www.kernelthread.com/software/ams/ Amit Singh on a PowerBook] and [http://www.almaden.ibm.com/cs/people/marksmith/tpaps.html Mark Smith on a ThinkPad], the [[HDAPS]] project was founded to produce a linux kernel driver for the acceleration sensor and a user space application to monitor it. Later, a kernel patch to enable harddisk parking followed.
* Quoted from NewScientist.com: The latest Apple PowerBook laptops can be controlled with a gentle shake. Programmer Amit Singh has written code that lets him use the sensor to control software on the computer. The code is published at [http://www.kernelthread.com/software/ams/ www.kernelthread.com/software/ams/].
 
 
 
*There is a fairly detailed article about [http://www.almaden.ibm.com/cs/people/marksmith/tpaps.html reverse engineering the APS accelerometer interface] by Mark Smith from IBM Research. Apparently they even have a prototype Linux driver working, but cannot release the full source yet.
 
 
 
* The [[HDAPS]] project is dedicated to developing & testing a kernel module and a user space application.
 
 
 
== Table of latch data from the (experimental) hdaps driver ==
 
{| cellspacing="0" cellpadding="5" border="1"
 
|- style="text-align:left;"
 
!ThinkPad!!bios firmware!!latch!!flip!!Value at 1.75 radians (see below)!!Value at 0.75 radians !! Value at rest !!boxers!!hdd-type
 
|- style="text-align:left;vertical-align:top;"
 
| {{R50}} || || || || || || || ||
 
|- style="text-align:left;vertical-align:top;"
 
| {{R50p}} || || || || || || || ||
 
|- style="text-align:left;vertical-align:top;"
 
| {{R51}} || 1VET64WW || 01 || reversed || (110,75)||(-36,-10) || || || IC25N040ATMR04_0-ATA-DISK-drive
 
|- style="text-align:left;vertical-align:top;"
 
| {{R52}} || || 01 || reversed || || || || || HTS541060G9AT00_SATA-DISK-drive
 
|- style="text-align:left;vertical-align:top;"
 
| {{T41}} || || 01 || reversed || || || || ||
 
|- style="text-align:left;vertical-align:top;"
 
| {{T41p}} || || 03 || OK || || || || ||
 
|- style="text-align:left;vertical-align:top;"
 
| {{T42}} || || 01 || reversed || || || || || HTS548080M9AT00
 
|- style="text-align:left;vertical-align:top;"
 
| {{T42p}} || || 03 || OK || || || || ||
 
|- style="text-align:left;vertical-align:top;"
 
| {{T43}} || || 01 || reversed || || || || ||
 
|- style="text-align:left;vertical-align:top;"
 
| {{T43p}} || || 03 || OK || || || || ||
 
|- style="text-align:left;vertical-align:top;"
 
| {{X40}} || || || || || || || ||
 
|- style="text-align:left;vertical-align:top;"
 
| {{X41}} || || || || || || || ||
 
|- style="text-align:left;vertical-align:top;"
 
| {{X41T}} || 75ET30WW || || || (550, 300) || (410, 484) || (480, 400) || || HTC426040G9AT00
 
|}
 
 
 
For the value at 1.75 radians, and value at 0.75 radians, we want the data from the pivot application (included in the driver tgz) at SE and NW, with North being straight away from the
 
user and West being to the left. In other words, SE is "tilt the laptop toward you and to the right" and NW is "tilt the laptop away from you and to the left".
 
  
== Table of working / non-working drive firmware for the (experimental) hdaps driver park command ==
+
See [[How to protect the harddisk through APS]] for instructions and [[Problem with APS harddisk parking]] for Troubleshooting.
{| cellspacing="0" cellpadding="2" border="1"
 
|- style="text-align:left;"
 
!Drive!!firmware!!park command output
 
|- style="text-align:left;vertical-align:top;"
 
| IC25N040ATCS04-0 || CA40A71A || not parked
 
|- style="text-align:left;vertical-align:top;"
 
| IC25N040ATMR04-0 || MO2OAD4A || not parked
 
|- style="text-align:left;vertical-align:top;"
 
| IC25N040ATMR04-0 || MO2OADEA || not parked
 
|- style="text-align:left;vertical-align:top;"
 
| HTS548040M9AT00 || MG20A5BA || not parked
 
|- style="text-align:left;vertical-align:top;"
 
| HTS548040M9AT00 || MG20A5HA || parked
 
|- style="text-align:left;vertical-align:top;"
 
| HTS548080M9AT00 || (TBA) || parked
 
|- style="text-align:left;vertical-align:top;"
 
| HTS541060G9AT00 || MB3IA60A || parked
 
|- style="text-align:left;vertical-align:top;"
 
| HTC426040G9AT00 || 00P4A0B4 || parked
 
|- style="text-align:left;vertical-align:top;"
 
| ? || ? || ?
 
|}
 
  
 
==Related Links==
 
==Related Links==

Revision as of 03:45, 17 April 2006

IBM Active Protection System

The Active Protection System

With the new series of ThinkPads IBM introduced the Active Protection System (APS) in 2003. The APS is a protection system for the ThinkPads internal harddrive. A sensor inside the ThinkPad recognizes when the notebook is accelerated. A software applet then is triggered to park the harddisk. This way the risk of data loss in case of when the notebook is dropped is significantly reduced since the read/write head of the harddrive is parked and hence can't crash onto the platter when the notebook drops onto the floor.

The whole concept of the technology seems very advanced. For the first part, the hardware sensor is capable of not only recognizing acceleration of the notebook, but also (to a certain degree) of its whole orientation in space, relative to gravity's axis. Furthermore, having the actual control put into software, its functionality is extendable and it gives chance to implement features like the "ignore minor shocks" feature which is present in the Windows based control applet. (This feature prevents the harddrive from parking in case of minor regular shocks such as occur when in a train or car.)

Linux Support

Linux support is in development.

This feature definitely depends on software and there is no hardware or BIOS only way of making it work. IBM made contradictory statements about their willingness to release the specifications of the hardware sensor and its API to the linux community or some developers. Although a lot of developers and other interested people from the OpenSource community actively contacted IBM to get the specs, in fact they never got them.

However, after first efforts of Amit Singh on a PowerBook and Mark Smith on a ThinkPad, the HDAPS project was founded to produce a linux kernel driver for the acceleration sensor and a user space application to monitor it. Later, a kernel patch to enable harddisk parking followed.

See How to protect the harddisk through APS for instructions and Problem with APS harddisk parking for Troubleshooting.

Related Links

Models featuring this Technology