€•j8Œ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Œ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”…””}”hhísbah}”(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¦hhýhž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.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khhýhž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¦hj$hžhhŸh¶h K!ubh¸)”}”(hŒ!This device comes with 3 methods:”h]”hŒ!This device comes with 3 methods:”…””}”(hj5hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K#hj$hžhubhŒtable”“”)”}”(hhh]”hŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jMhjJubjN)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”KEuh1jMhjJubhŒtbody”“”)”}”(hhh]”(hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”h¸)”}”(hŒ_STA”h]”hŒ_STA”…””}”(hjrhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K&hjoubah}”(h]”h ]”h"]”h$]”h&]”uh1jmhjjubjn)”}”(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.”…””}”(hj‰hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K&hj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jmhjjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhjeubji)”}”(hhh]”(jn)”}”(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&]”uh1jmhj£ubjn)”}”(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&]”uh1jmhj£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhjeubji)”}”(hhh]”(jn)”}”(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&]”uh1jmhjÚubjn)”}”(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)hjôubah}”(h]”h ]”h"]”h$]”h&]”uh1jmhjÚubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhjeubeh}”(h]”h ]”h"]”h$]”h&]”uh1jchjJubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jHhjEubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj$hžhhŸh¶h NubhŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hX 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 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:”…””}”(hj1hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hŸh¶h K2hj+ubhŒ definition”“”)”}”(hhh]”h¸)”}”(hXThe 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 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 make 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.”…””}”(hjDhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K.hjAubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hŸh¶h K2hj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj$hž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”…””}”(hjohžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjlhž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 K7hjlhž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žhubjD)”}”(hhh]”jI)”}”(hhh]”(jN)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jMhjÜubjN)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K