platform/x86: Toshiba HDD Active Protection Sensor
authorAzael Avalos <coproscefalo@gmail.com>
Thu, 14 Aug 2014 15:55:38 +0000 (09:55 -0600)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sat, 16 Aug 2014 08:23:56 +0000 (01:23 -0700)
commit23d0ba0c908ac10139f0351023c64198d7fc1409
treed21868b431dcc9c6ef3e40ba42ea123d6a722612
parent831a444ea6f8f25fd1a9cc9d7651bc18b5a1f755
platform/x86: Toshiba HDD Active Protection Sensor

This driver adds support for the built-in accelereometer found
on recent Toshiba laptops with HID TOS620A.

This driver receives ACPI notify events 0x80 when the sensor
detects a sudden move or a harsh vibration, as well as an
ACPI notify event 0x81 whenever the movement or vibration has
been stabilized.

Also provides sysfs entries to get/set the desired protection
level and reseting the HDD protection interface.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/toshiba_haps.c [new file with mode: 0644]