€•_9Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ4/translations/zh_CN/admin-guide/laptops/toshiba_haps”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/zh_TW/admin-guide/laptops/toshiba_haps”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/it_IT/admin-guide/laptops/toshiba_haps”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/ja_JP/admin-guide/laptops/toshiba_haps”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/ko_KR/admin-guide/laptops/toshiba_haps”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/pt_BR/admin-guide/laptops/toshiba_haps”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/sp_SP/admin-guide/laptops/toshiba_haps”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ$Toshiba HDD Active Protection Sensor”h]”hŒ$Toshiba HDD Active Protection Sensor”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒN/var/lib/git/docbuild/linux/Documentation/admin-guide/laptops/toshiba_haps.rst”h´KubhŒ paragraph”“”)”}”(hŒKernel driver: toshiba_haps”h]”hŒKernel driver: toshiba_haps”…””}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hŒ-Author: Azael Avalos ”h]”(hŒAuthor: Azael Avalos <”…””}”(hhÛh²hh³Nh´NubhŒ reference”“”)”}”(hŒcoproscefalo@gmail.com”h]”hŒcoproscefalo@gmail.com”…””}”(hhåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:coproscefalo@gmail.com”uh1hãhhÛubhŒ>”…””}”(hhÛh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhŒcomment”“”)”}”(hŒ\0. Contents 1. Description 2. Interface 3. Accelerometer axes 4. Supported devices 5. Usage”h]”hŒ\0. Contents 1. Description 2. Interface 3. Accelerometer axes 4. Supported devices 5. Usage”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hÿhh·h²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒ1. Description”h]”hŒ1. Description”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´KubhÌ)”}”(hX0This driver provides support for the accelerometer found in various Toshiba laptops, being called "Toshiba HDD Protection - Shock Sensor" officially, and detects laptops automatically with this device. On Windows, Toshiba provided software monitors this device and provides automatic HDD protection (head unload) on sudden moves or harsh vibrations, however, this driver only provides a notification via a sysfs file to let userspace tools or daemons act accordingly, as well as providing a sysfs file to set the desired protection level or sensor sensibility.”h]”hX4This driver provides support for the accelerometer found in various Toshiba laptops, being called “Toshiba HDD Protection - Shock Sensor†officially, and detects laptops automatically with this device. On Windows, Toshiba provided software monitors this device and provides automatic HDD protection (head unload) on sudden moves or harsh vibrations, however, this driver only provides a notification via a sysfs file to let userspace tools or daemons act accordingly, as well as providing a sysfs file to set the desired protection level or sensor sensibility.”…””}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjh²hubeh}”(h]”Œ description”ah ]”h"]”Œ1. description”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒ 2. Interface”h]”hŒ 2. Interface”…””}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj8h²hh³hÊh´K!ubhÌ)”}”(hŒ!This device comes with 3 methods:”h]”hŒ!This device comes with 3 methods:”…””}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K#hj8h²hubhŒtable”“”)”}”(hhh]”hŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jahj^ubjb)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”KEuh1jahj^ubhŒtbody”“”)”}”(hhh]”(hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”hÌ)”}”(hŒ_STA”h]”hŒ_STA”…””}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K&hjƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ubj‚)”}”(hhh]”hÌ)”}”(hŒaChecks existence of the device, returning Zero if the device does not exists or is not supported.”h]”hŒaChecks existence of the device, returning Zero if the device does not exists or is not supported.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K&hjšubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyubj})”}”(hhh]”(j‚)”}”(hhh]”hÌ)”}”(hŒPTLV”h]”hŒPTLV”…””}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K(hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj·ubj‚)”}”(hhh]”hÌ)”}”(hŒ"Sets the desired protection level.”h]”hŒ"Sets the desired protection level.”…””}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K(hjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj·ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyubj})”}”(hhh]”(j‚)”}”(hhh]”hÌ)”}”(hŒRSSS”h]”hŒRSSS”…””}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K)hjñubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjîubj‚)”}”(hhh]”hÌ)”}”(hŒZShuts down the HDD protection interface for a few seconds, then restores normal operation.”h]”hŒZShuts down the HDD protection interface for a few seconds, then restores normal operation.”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K)hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjîubeh}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhj^ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j\hjYubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj8h²hh³hÊh´NubhŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hX Note: The presence of Solid State Drives (SSD) can cause this driver to fail loading, given the fact that such drives have no movable parts, and thus, not requiring any "protection" as well as failing during the evaluation of the _STA method found under this device. ”h]”(hŒterm”“”)”}”(hŒNote:”h]”hŒNote:”…””}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jCh³hÊh´K2hj?ubhŒ definition”“”)”}”(hhh]”hÌ)”}”(hXThe presence of Solid State Drives (SSD) can cause this driver to fail loading, given the fact that such drives have no movable parts, and thus, not requiring any "protection" as well as failing during the evaluation of the _STA method found under this device.”h]”hXThe presence of Solid State Drives (SSD) can cause this driver to fail loading, given the fact that such drives have no movable parts, and thus, not requiring any “protection†as well as failing during the evaluation of the _STA method found under this device.”…””}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K.hjUubah}”(h]”h ]”h"]”h$]”h&]”uh1jShj?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j=h³hÊh´K2hj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1j8hj8h²hh³hÊh´Nubeh}”(h]”Œ interface”ah ]”h"]”Œ 2. interface”ah$]”h&]”uh1hµhh·h²hh³hÊh´K!ubh¶)”}”(hhh]”(h»)”}”(hŒ3. Accelerometer axes”h]”hŒ3. Accelerometer axes”…””}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj€h²hh³hÊh´K5ubhÌ)”}”(hŒþThis device does not report any axes, however, to query the sensor position a couple HCI (Hardware Configuration Interface) calls (0x6D and 0xA6) are provided to query such information, handled by the kernel module toshiba_acpi since kernel version 3.15.”h]”hŒþThis device does not report any axes, however, to query the sensor position a couple HCI (Hardware Configuration Interface) calls (0x6D and 0xA6) are provided to query such information, handled by the kernel module toshiba_acpi since kernel version 3.15.”…””}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K7hj€h²hubeh}”(h]”Œaccelerometer-axes”ah ]”h"]”Œ3. accelerometer axes”ah$]”h&]”uh1hµhh·h²hh³hÊh´K5ubh¶)”}”(hhh]”(h»)”}”(hŒ4. Supported devices”h]”hŒ4. Supported devices”…””}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj§h²hh³hÊh´K>ubhÌ)”}”(hŒáThis driver binds itself to the ACPI device TOS620A, and any Toshiba laptop with this device is supported, given the fact that they have the presence of conventional HDD and not only SSD, or a combination of both HDD and SSD.”h]”hŒáThis driver binds itself to the ACPI device TOS620A, and any Toshiba laptop with this device is supported, given the fact that they have the presence of conventional HDD and not only SSD, or a combination of both HDD and SSD.”…””}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K@hj§h²hubeh}”(h]”Œsupported-devices”ah ]”h"]”Œ4. supported devices”ah$]”h&]”uh1hµhh·h²hh³hÊh´K>ubh¶)”}”(hhh]”(h»)”}”(hŒ5. Usage”h]”hŒ5. Usage”…””}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjÎh²hh³hÊh´KFubhÌ)”}”(hŒKThe sysfs files under /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/ are:”h]”hŒKThe sysfs files under /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/ are:”…””}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KHhjÎh²hubjX)”}”(hhh]”j])”}”(hhh]”(jb)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jahjðubjb)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K