Lines Matching refs:latch
58 The latch mechanism has two major states: *open* and *closed*. In the
62 The latch can additionally be locked and, correspondingly, unlocked, which
66 documentation for the detachment procedure below. By default, the latch is
82 instructions/commands. In case the latch is unlocked, the led will flash
83 green. If the latch has been locked, the led will be solid red
93 - If the latch is unlocked, the EC will open the latch and the clipboard
98 - If the latch is locked, the EC will *not* open the latch, meaning the
111 latch, after which the user can separate clipboard and base.
113 As this changes the latch state, a *latch-status* event
114 (``SDTX_EVENT_LATCH_STATUS``) will be sent once the latch has been opened
115 successfully. If the EC fails to open the latch, e.g. due to hardware
116 error or low battery, a latch-cancel event (``SDTX_EVENT_CANCEL``) will be
119 If the latch is currently locked, the latch will automatically be
214 - Detachment process timed out while the latch was locked.
219 - Failed to open latch.
224 - Failed to keep latch open.
229 - Failed to close latch.
342 * ``SDTX_DETACH_TIMEDOUT``: Detachment timed out while the latch was locked.
343 The latch has neither been opened nor unlocked.
348 * ``SDTX_ERR_FAILED_TO_OPEN``: Could not open the latch (hardware failure).
350 * ``SDTX_ERR_FAILED_TO_REMAIN_OPEN``: Could not keep the latch open (hardware
353 * ``SDTX_ERR_FAILED_TO_CLOSE``: Could not close the latch (hardware failure).
411 Sent when the latch status has changed, i.e. when the latch has been opened,
495 - Lock the latch.
501 - Unlock the latch.
543 - Get current device latch status.
566 Locks the latch, causing the detachment procedure to abort without opening
567 the latch on timeout. The latch is unlocked by default. This command will be
568 silently ignored if the latch is already locked.
575 Unlocks the latch, causing the detachment procedure to open the latch on
576 timeout. The latch is unlocked by default. This command will not open the
577 latch when sent during an ongoing detachment process. It will be silently
578 ignored if the latch is already unlocked.
585 Generic latch request. Behavior depends on the context: If no
599 Acknowledges and confirms a latch request. If sent during an ongoing
600 detachment process, this command causes the latch to be opened immediately.
601 The latch will also be opened if it has been locked. In this case, the latch
674 Get the current latch status or (presumably) the last error encountered when
675 trying to open/close the latch. This is command essentially provides a way
676 to query the information provided by the latch status change event