HOWTO : Lenovo Active Protection System (HDAPS) on Ubuntu 11.04

HDAPS can protect against your laptop (Lenovo ThinkPad) from damaging the hard drive when the laptop is moving around.



Step 1 :



sudo apt-get update

sudo apt-get install tp-smapi-dkms hdapsd




Step 2 :



echo 'tp_smapi' | sudo tee -a /etc/modules

echo 'hdapsd' | sudo tee -a /etc/modules




Step 3 :



sudo modprobe tp_smapi

sudo /etc/init.d/hdapsd restart




** You just do Step 1 to Step 3 for one time only



Step 4 :



To test if the hdapsd is working or not, you just issue one of the following commands :



(a)

sudo find /



Then, move your laptop and to see if it can halt or not.



(b)

sudo hdapsd



Then, move your laptop and to see if it display "parking" or not.



Step 5 (Optional) :



You can adjust the sensitivity of the sensor by editing the following :



sudo nano /etc/default/hdapsd



Locate "SENSITIVITY" and adjust the value.



That's all! See you.