hdapsd for Debian
-----------------

disable hdapsd
==============

hdapsd can be disabled on boot, if you want to start it manually.

To disable hdapsd under systemd, use “systemctl disable hdapsd.service”.
For inits using the init.d scripts, use “update-rc.d hdapsd disable” or
adjust /etc/default/hdapsd to have “START=no” in it.

hdapsd with kernels <= 2.6.27
=============================

Linux kernels <= 2.6.27 have no built-in interface for parking the heads.
Thus, hdapsd needs a kernel patch to be able to protect your drive.
You can find such patches and further information in the ThinkWiki[1].

hdapsd with kernels >= 2.6.28
=============================

Since kernel 2.6.28, there is an interface for parking the heads, so no
patch is needed anymore.
However, kernels >= 2.6.28 only enable this interface for ATA-7 drives.
IBM/Lenovo has shipped ATA-6 drives with modified firmware and
"IDLE_IMMEDIATE with UNLOAD" support, these drives need FORCEENABLE="yes"
in /etc/default/hdapsd to work.
For additional information, read the ThinkWiki[1] and the docs in the
kernel source[2].

tp-smapi
========

For reading the accelerometer, hdapsd needs the hdaps module.
There is one in the kernel, but it is recommended to use the one from
tp-smapi, as it supports more hardware and has a less power-hungry design.

[1] http://thinkwiki.org/wiki/HDAPS
[2] Documentation/laptops/disk-shock-protection.txt

 -- Evgeni Golov <sargentd@die-welt.net>  Thu, 13 Nov 2008 13:09:18 +0100
