Discuss: Toshiba MQ01ACF032 - hard drive - 320 GB - SATA 6Gb/s Sign in to comment. Be respectful, keep it civil and stay on topic. We delete comments that violate our policy, which we encourage. This package supports the following driver models:TOSHIBA HDD Protection - Shock Sensor Driver.
Kernel driver: toshiba_haps
Author: Azael Avalos <coproscefalo@gmail.com>
1. Description¶
![Protection Protection](http://lh3.googleusercontent.com/-JZUWSMqYaDg/Vc66fjKFmFI/AAAAAAAAIrk/cJnV_pJuJ8k/004_thumb.png?imgmax=800)
This driver provides support for the accelerometer found in various Toshibalaptops, being called “Toshiba HDD Protection - Shock Sensor” officially,and detects laptops automatically with this device.On Windows, Toshiba provided software monitors this device and providesautomatic HDD protection (head unload) on sudden moves or harsh vibrations,however, this driver only provides a notification via a sysfs file to letuserspace tools or daemons act accordingly, as well as providing a sysfsfile to set the desired protection level or sensor sensibility.
2. Interface¶
This device comes with 3 methods:
_STA | Checks existence of the device, returning Zero if the device does notexists or is not supported. |
PTLV | Sets the desired protection level. |
RSSS | Shuts down the HDD protection interface for a few seconds,then restores normal operation. |
- Note:
- The presence of Solid State Drives (SSD) can make this driver to fail loading,given the fact that such drives have no movable parts, and thus, not requiringany “protection” as well as failing during the evaluation of the _STA methodfound under this device.
3. Accelerometer axes¶
This device does not report any axes, however, to query the sensor positiona couple HCI (Hardware Configuration Interface) calls (0x6D and 0xA6) areprovided to query such information, handled by the kernel module toshiba_acpisince kernel version 3.15.
4. Supported devices¶
This driver binds itself to the ACPI device TOS620A, and any Toshiba laptopwith this device is supported, given the fact that they have the presence ofconventional HDD and not only SSD, or a combination of both HDD and SSD.
5. Usage¶
The sysfs files under /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/ are:
protection_level | The protection_level is readable and writeable, andprovides a way to let userspace query the current protectionlevel, as well as set the desired protection level, theavailable protection levels are: |
reset_protection | The reset_protection entry is writeable only, being “1”the only parameter it accepts, it is used to triggera reset of the protection interface. |