hdapsd command not found

In this troubleshooting guide we learn how to fix hdapsd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

hdapsd: command not found

or when using sudo you get the following error message

sudo: hdapsd: command not found

Solutions to hdapsd: command not found

How To Fix hdapsd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu hdapsd is provided by hdapsd package.

hdapsd is:

This is a disk protection user-space daemon. It monitors the acceleration values through an interface and automatically initiates disk head parking if a fall or sliding of the laptop is detected.

Currently, the following interfaces are supported:

  • IBM/Lenovo ThinkPad (HDAPS)
  • Apple iBook/PowerBook (AMS)
  • Apple MacBook/MacBook Pro (APPLESMC)
  • HP (HP3D)
  • Dell (FREEFALL)
  • Toshiba (ACPI and HAPS)
  • Acer (INPUT)

On ThinkPads, it is recommended that you use this daemon with the hdaps module provided by tp-smapi rather the one in the kernel, as this will save you a bit of power and will work on a wider range of ThinkPads.

To fix this problem, we can install more using the command below.

sudo apt-get -y install hdapsd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install hdapsd.

sudo apt -y install hdapsd

Or if you have aptitude installed you can use the following command.

sudo aptitude install hdapsd

Summary

In this tutorial we learn how to fix hdapsd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.