sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget;/translations/zh_CN/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/zh_TW/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/it_IT/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/ja_JP/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/ko_KR/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/pt_BR/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/sp_SP/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-laterh]h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhU/var/lib/git/docbuild/linux/Documentation/userspace-api/media/cec/cec-ioc-dqevent.rsthKubhtarget)}(h.. _CEC_DQEVENT:h]h}(h]h ]h"]h$]h&]refid cec-dqeventuh1hhKhhhhhhubhsection)}(hhh](htitle)}(hioctl CEC_DQEVENTh]hioctl CEC_DQEVENT}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(h!CEC_DQEVENT - Dequeue a CEC eventh]h!CEC_DQEVENT - Dequeue a CEC event}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubeh}(h]nameah ]h"]nameah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hSynopsish]hSynopsis}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singleCEC.CEC_DQEVENT (C macro)c.CEC.CEC_DQEVENThNtauh1j%hjhhhNhNubhdesc)}(hhh](hdesc_signature)}(h CEC_DQEVENTh]hdesc_signature_line)}(h CEC_DQEVENTh]h desc_name)}(h CEC_DQEVENTh]h desc_sig_name)}(hj?h]h CEC_DQEVENT}(hjOhhhNhNubah}(h]h ]nah"]h$]h&]uh1jMhjIubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1jGhjChhhhhKubah}(h]h ]h"]h$]h&]hhƌ add_permalinkuh1jAsphinx_line_type declaratorhj=hhhhhKubah}(h]j4ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1j;hhhKhj8hhubh desc_content)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj8hhhhhKubeh}(h]h ](cmacroeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1j6hhhjhNhNubh)}(h:``int ioctl(int fd, CEC_DQEVENT, struct cec_event *argp)``h]hliteral)}(hjh]h6int ioctl(int fd, CEC_DQEVENT, struct cec_event *argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]synopsisah ]h"]synopsisah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Argumentsh]h Arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhdefinition_list)}(hhh]hdefinition_list_item)}(h5``fd`` File descriptor returned by :c:func:`open()`. h](hterm)}(h``fd``h]j)}(hjh]hfd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh]h)}(h-File descriptor returned by :c:func:`open()`.h](hFile descriptor returned by }(hjhhhNhNubh)}(h:c:func:`open()`h]j)}(hjh]hopen()}(hjhhhNhNubah}(h]h ](xrefjc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc'userspace-api/media/cec/cec-ioc-dqevent refdomainjreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)} identifierCECsbNasb reftargetopenuh1hhhhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubh)}(h``argp``h]j)}(hjDh]hargp}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h] argumentsah ]h"] argumentsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahhhhhKubh)}(hCEC devices can send asynchronous events. These can be retrieved by calling :c:func:`CEC_DQEVENT`. If the file descriptor is in non-blocking mode and no event is pending, then it will return -1 and set errno to the ``EAGAIN`` error code.h](hLCEC devices can send asynchronous events. These can be retrieved by calling }(hjrhhhNhNubh)}(h:c:func:`CEC_DQEVENT`h]j)}(hj|h]h CEC_DQEVENT()}(hj~hhhNhNubah}(h]h ](jjc-funceh"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypefunc refexplicitrefwarnjjj$ CEC_DQEVENTuh1hhhhK!hjrubhv. If the file descriptor is in non-blocking mode and no event is pending, then it will return -1 and set errno to the }(hjrhhhNhNubj)}(h ``EAGAIN``h]hEAGAIN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh error code.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK!hjahhubh)}(hX9The internal event queues are per-filehandle and per-event type. If there is no more room in a queue then the last event is overwritten with the new one. This means that intermediate results can be thrown away but that the latest event is always available. This also means that is it possible to read two successive events that have the same value (e.g. two :ref:`CEC_EVENT_STATE_CHANGE ` events with the same state). In that case the intermediate state changes were lost but it is guaranteed that the state did change in between the two events.h](hXfThe internal event queues are per-filehandle and per-event type. If there is no more room in a queue then the last event is overwritten with the new one. This means that intermediate results can be thrown away but that the latest event is always available. This also means that is it possible to read two successive events that have the same value (e.g. two }(hjhhhNhNubh)}(h6:ref:`CEC_EVENT_STATE_CHANGE `h]hinline)}(hjh]hCEC_EVENT_STATE_CHANGE}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$cec-event-state-changeuh1hhhhK&hjubh events with the same state). In that case the intermediate state changes were lost but it is guaranteed that the state did change in between the two events.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK&hjahhubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{1.2cm}|p{2.9cm}|p{13.2cm}|uh1jhhhK/hjahhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2#CEC.cec_event_state_change (C type)c.CEC.cec_event_state_changehNtauh1j%hjahhhNhNubj7)}(hhh](j<)}(hcec_event_state_changeh]jB)}(htype cec_event_state_changeh](hdesc_sig_keyword)}(htypeh]htype}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhj hhhhhK1ubhdesc_sig_space)}(h h]h }(hj"hhhNhNubah}(h]h ]wah"]h$]h&]uh1j hj hhhhhK1ubjH)}(hcec_event_state_changeh]jN)}(hj h]hcec_event_state_change}(hj5hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhj1ubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhj hhhhhK1ubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhK1ubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhK1hjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhK1ubeh}(h]h ](jtypeeh"]h$]h&]jjjj`jj`jjjuh1j6hhhjahNhNubhtable)}(hhh](h)}(hstruct cec_event_state_changeh]hstruct cec_event_state_change}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK3hjfubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjyubj})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjyubj})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjyubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u16h]h__u16}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``phys_addr``h]j)}(hjh]h phys_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK9hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hdThe current physical address. This is ``CEC_PHYS_ADDR_INVALID`` if no valid physical address is set.h](h&The current physical address. This is }(hjhhhNhNubj)}(h``CEC_PHYS_ADDR_INVALID``h]hCEC_PHYS_ADDR_INVALID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% if no valid physical address is set.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u16h]h__u16}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjHubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u16h]h__u16}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKBhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``have_conn_info``h]j)}(hjh]hhave_conn_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKChjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hXbIf non-zero, then HDMI connector information is available. This field is only valid if ``CEC_CAP_CONNECTOR_INFO`` is set. If that capability is set and ``have_conn_info`` is zero, then that indicates that the HDMI connector device is not instantiated, either because the HDMI driver is still configuring the device or because the HDMI device was unbound.h](hWIf non-zero, then HDMI connector information is available. This field is only valid if }(hjhhhNhNubj)}(h``CEC_CAP_CONNECTOR_INFO``h]hCEC_CAP_CONNECTOR_INFO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' is set. If that capability is set and }(hjhhhNhNubj)}(h``have_conn_info``h]hhave_conn_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is zero, then that indicates that the HDMI connector device is not instantiated, either because the HDMI driver is still configuring the device or because the HDMI device was unbound.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]colsKuh1jwhjfubeh}(h]id1ah ]h"]h$]h&]uh1jdhjahhhNhNubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2 CEC.cec_event_lost_msgs (C type)c.CEC.cec_event_lost_msgshNtauh1j%hjahhhNhNubj7)}(hhh](j<)}(hcec_event_lost_msgsh]jB)}(htype cec_event_lost_msgsh](j)}(hjh]htype}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhhhKKubj!)}(h h]h }(hjPhhhNhNubah}(h]h ]j-ah"]h$]h&]uh1j hj?hhhhhKKubjH)}(hcec_event_lost_msgsh]jN)}(hj=h]hcec_event_lost_msgs}(hjbhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhj^ubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhj?hhhhhKKubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhj;hhhhhKKubah}(h]j6ah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKKhj8hhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj8hhhhhKKubeh}(h]h ](jtypeeh"]h$]h&]jjjjjjjjjuh1j6hhhjahNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j|p{1.0cm}|p{2.0cm}|p{14.3cm}|uh1jhhhKMhjahhubje)}(hhh](h)}(hstruct cec_event_lost_msgsh]hstruct cec_event_lost_msgs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKOhjubjx)}(hhh](j})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjubj})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjubj})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjubj)}(hhh]j)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKThjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``lost_msgs``h]j)}(hjh]h lost_msgs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKUhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hXSet to the number of lost messages since the filehandle was opened or since the last time this event was dequeued for this filehandle. The messages lost are the oldest messages. So when a new message arrives and there is no more room, then the oldest message is discarded to make room for the new one. The internal size of the message queue guarantees that all messages received in the last two seconds will be stored. Since messages should be replied to within a second according to the CEC specification, this is more than enough.h]hXSet to the number of lost messages since the filehandle was opened or since the last time this event was dequeued for this filehandle. The messages lost are the oldest messages. So when a new message arrives and there is no more room, then the oldest message is discarded to make room for the new one. The internal size of the message queue guarantees that all messages received in the last two seconds will be stored. Since messages should be replied to within a second according to the CEC specification, this is more than enough.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKVhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jwhjubeh}(h]id2ah ]h"]h$]h&]uh1jdhjahhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j%|p{1.0cm}|p{4.4cm}|p{2.5cm}|p{9.2cm}|uh1jhhhK`hjahhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2CEC.cec_event (C type)c.CEC.cec_eventhNtauh1j%hjahhhNhNubj7)}(hhh](j<)}(h cec_eventh]jB)}(htype cec_eventh](j)}(hjh]htype}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhhhKbubj!)}(h h]h }(hjkhhhNhNubah}(h]h ]j-ah"]h$]h&]uh1j hjZhhhhhKbubjH)}(h cec_eventh]jN)}(hjXh]h cec_event}(hj}hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjyubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjZhhhhhKbubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjVhhhhhKbubah}(h]jQah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKbhjShhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjShhhhhKbubeh}(h]h ](jtypeeh"]h$]h&]jjjjjjjjjuh1j6hhhjahNhNubje)}(hhh](h)}(hstruct cec_eventh]hstruct cec_event}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhjubjx)}(hhh](j})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjubj})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjubj})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h__u64h]h__u64}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKihjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``ts``h]j)}(hjh]hts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKjhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](h)}(hTimestamp of the event in ns.h]hTimestamp of the event in ns.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKkhjubh)}(h@The timestamp has been taken from the ``CLOCK_MONOTONIC`` clock.h](h&The timestamp has been taken from the }(hj,hhhNhNubj)}(h``CLOCK_MONOTONIC``h]hCLOCK_MONOTONIC}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh clock.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKmhjubh)}(hDTo access the same clock from userspace use :c:func:`clock_gettime`.h](h,To access the same clock from userspace use }(hjLhhhNhNubh)}(h:c:func:`clock_gettime`h]j)}(hjVh]hclock_gettime()}(hjXhhhNhNubah}(h]h ](jjc-funceh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypefunc refexplicitrefwarnjjj$ clock_gettimeuh1hhhhKohjLubh.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKohjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``event``h]j)}(hjh]hevent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKqhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h*The CEC event type, see :ref:`cec-events`.h](hThe CEC event type, see }(hjhhhNhNubh)}(h:ref:`cec-events`h]j)}(hjh]h cec-events}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$ cec-eventsuh1hhhhKrhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``flags``h]j)}(hj#h]hflags}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hhhhKthjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h(Event flags, see :ref:`cec-event-flags`.h](hEvent flags, see }(hjAhhhNhNubh)}(h:ref:`cec-event-flags`h]j)}(hjKh]hcec-event-flags}(hjMhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjWreftyperef refexplicitrefwarnj$cec-event-flagsuh1hhhhKuhjAubh.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKuhj>ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hunion {h]hunion {}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h (anonymous)h]h (anonymous)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKwhjubah}(h]h ]h"]h$]h&]morecolsKuh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hstruct cec_event_state_changeh]hstruct cec_event_state_change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``state_change``h]j)}(hjh]h state_change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKyhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hbThe new adapter state as sent by the :ref:`CEC_EVENT_STATE_CHANGE ` event.h](h%The new adapter state as sent by the }(hjhhhNhNubh)}(h6:ref:`CEC_EVENT_STATE_CHANGE `h]j)}(hjh]hCEC_EVENT_STATE_CHANGE}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$cec-event-state-changeuh1hhhhKzhjubh event.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hstruct cec_event_lost_msgsh]hstruct cec_event_lost_msgs}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK|hj5 ubah}(h]h ]h"]h$]h&]uh1jhj2 ubj)}(hhh]h)}(h ``lost_msgs``h]j)}(hjQ h]h lost_msgs}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO ubah}(h]h ]h"]h$]h&]uh1hhhhK}hjL ubah}(h]h ]h"]h$]h&]uh1jhj2 ubj)}(hhh]h)}(hbThe number of lost messages as sent by the :ref:`CEC_EVENT_LOST_MSGS ` event.h](h+The number of lost messages as sent by the }(hjo hhhNhNubh)}(h0:ref:`CEC_EVENT_LOST_MSGS `h]j)}(hjy h]hCEC_EVENT_LOST_MSGS}(hj{ hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjw ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$cec-event-lost-msgsuh1hhhhK~hjo ubh event.}(hjo hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK~hjl ubah}(h]h ]h"]h$]h&]uh1jhj2 ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h}h]h}}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]morecolsKuh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jwhjubeh}(h]id3ah ]h"]h$]h&]uh1jdhjahhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j|p{5.6cm}|p{0.9cm}|p{10.8cm}|uh1jhhhKhjahhubh)}(h.. _cec-events:h]h}(h]h ]h"]h$]h&]hԌ cec-eventsuh1hhKhjahhhhubje)}(hhh](h)}(hCEC Events Typesh]hCEC Events Types}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubjx)}(hhh](j})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hj ubj})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hj ubj})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hj ubj)}(hhh](j)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-STATE-CHANGE`:h]h}(h]h ]h"]h$]h&]hԌcec-event-state-changeuh1hhKhj)}(hhh](j; h)}(hGenerated when the CEC Adapter's state changes. When open() is called an initial event will be generated for that filehandle with the CEC Adapter's state at that time.h]hGenerated when the CEC Adapter’s state changes. When open() is called an initial event will be generated for that filehandle with the CEC Adapter’s state at that time.}(hjI hhhNhNubah}(h]jE ah ]h"]cec-event-state-changeah$]h&]uh1hhhhKhjF expect_referenced_by_name}jU j; sexpect_referenced_by_id}jE j; subeh}(h]h ]h"]h$]h&]uh1jhj5 ububh)}(h``CEC_EVENT_STATE_CHANGE``h]j)}(hjd h]hCEC_EVENT_STATE_CHANGE}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb ubah}(h]h ]h"]h$]h&]uh1hhhhKhj8 ubeh}(h]h ]h"]h$]h&]uh1jhj5 ubj)}(hhh](j; h)}(h1h]h1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj5 ubjF eh}(h]h ]h"]h$]h&]uh1jhj2 ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-LOST-MSGS`:h]h}(h]h ]h"]h$]h&]hԌcec-event-lost-msgsuh1hhKhj)}(hhh](j h)}(hpGenerated if one or more CEC messages were lost because the application didn't dequeue CEC messages fast enough.h]hrGenerated if one or more CEC messages were lost because the application didn’t dequeue CEC messages fast enough.}(hj hhhNhNubah}(h]j ah ]h"]cec-event-lost-msgsah$]h&]uh1hhhhKhj jX }j j sjZ }j j subeh}(h]h ]h"]h$]h&]uh1jhj ububh)}(h``CEC_EVENT_LOST_MSGS``h]j)}(hj h]hCEC_EVENT_LOST_MSGS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j h)}(h2h]h2}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj eh}(h]h ]h"]h$]h&]uh1jhj2 ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-CEC-LOW`:h]h}(h]h ]h"]h$]h&]hԌcec-event-pin-cec-lowuh1hhKhj)}(hhh](j h)}(hGenerated if the CEC pin goes from a high voltage to a low voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set.h](hkGenerated if the CEC pin goes from a high voltage to a low voltage. Only applies to adapters that have the }(hj hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh capability set.}(hj hhhNhNubeh}(h]j ah ]h"]cec-event-pin-cec-lowah$]h&]uh1hhhhKhj jX }j3 j sjZ }j j subeh}(h]h ]h"]h$]h&]uh1jhj ububh)}(h``CEC_EVENT_PIN_CEC_LOW``h]j)}(hj@ h]hCEC_EVENT_PIN_CEC_LOW}(hjB hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj> ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j h)}(h3h]h3}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj[ ubeh}(h]h ]h"]h$]h&]uh1jhj ubj eh}(h]h ]h"]h$]h&]uh1jhj2 ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-CEC-HIGH`:h]h}(h]h ]h"]h$]h&]hԌcec-event-pin-cec-highuh1hhKhj)}(hhh](j~ h)}(hGenerated if the CEC pin goes from a low voltage to a high voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set.h](hkGenerated if the CEC pin goes from a low voltage to a high voltage. Only applies to adapters that have the }(hj hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh capability set.}(hj hhhNhNubeh}(h]j ah ]h"]cec-event-pin-cec-highah$]h&]uh1hhhhKhj jX }j j~ sjZ }j j~ subeh}(h]h ]h"]h$]h&]uh1jhjx ububh)}(h``CEC_EVENT_PIN_CEC_HIGH``h]j)}(hj h]hCEC_EVENT_PIN_CEC_HIGH}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj{ ubeh}(h]h ]h"]h$]h&]uh1jhjx ubj)}(hhh](j~ h)}(h4h]h4}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhjx ubj eh}(h]h ]h"]h$]h&]uh1jhj2 ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-HPD-LOW`:h]h}(h]h ]h"]h$]h&]hԌcec-event-pin-hpd-lowuh1hhKhj)}(hhh](j h)}(hXGenerated if the HPD pin goes from a high voltage to a low voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set. When open() is called, the HPD pin can be read and if the HPD is low, then an initial event will be generated for that filehandle.h](hkGenerated if the HPD pin goes from a high voltage to a low voltage. Only applies to adapters that have the }(hj hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh capability set. When open() is called, the HPD pin can be read and if the HPD is low, then an initial event will be generated for that filehandle.}(hj hhhNhNubeh}(h]j ah ]h"]cec-event-pin-hpd-lowah$]h&]uh1hhhhKhj jX }j! j sjZ }j j subeh}(h]h ]h"]h$]h&]uh1jhj ububh)}(h``CEC_EVENT_PIN_HPD_LOW``h]j)}(hj. h]hCEC_EVENT_PIN_HPD_LOW}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj, ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j h)}(h5h]h5}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjI ubeh}(h]h ]h"]h$]h&]uh1jhj ubj eh}(h]h ]h"]h$]h&]uh1jhj2 ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-HPD-HIGH`:h]h}(h]h ]h"]h$]h&]hԌcec-event-pin-hpd-highuh1hhKhj)}(hhh](jl h)}(hXGenerated if the HPD pin goes from a low voltage to a high voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set. When open() is called, the HPD pin can be read and if the HPD is high, then an initial event will be generated for that filehandle.h](hkGenerated if the HPD pin goes from a low voltage to a high voltage. Only applies to adapters that have the }(hjz hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz ubh capability set. When open() is called, the HPD pin can be read and if the HPD is high, then an initial event will be generated for that filehandle.}(hjz hhhNhNubeh}(h]jv ah ]h"]cec-event-pin-hpd-highah$]h&]uh1hhhhKhjw jX }j jl sjZ }jv jl subeh}(h]h ]h"]h$]h&]uh1jhjf ububh)}(h``CEC_EVENT_PIN_HPD_HIGH``h]j)}(hj h]hCEC_EVENT_PIN_HPD_HIGH}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhji ubeh}(h]h ]h"]h$]h&]uh1jhjf ubj)}(hhh](jl h)}(h6h]h6}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhjf ubjw eh}(h]h ]h"]h$]h&]uh1jhj2 ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-5V-LOW`:h]h}(h]h ]h"]h$]h&]hԌcec-event-pin-5v-lowuh1hhKhj)}(hhh](j h)}(hXGenerated if the 5V pin goes from a high voltage to a low voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set. When open() is called, the 5V pin can be read and if the 5V is low, then an initial event will be generated for that filehandle.h](hjGenerated if the 5V pin goes from a high voltage to a low voltage. Only applies to adapters that have the }(hj hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh capability set. When open() is called, the 5V pin can be read and if the 5V is low, then an initial event will be generated for that filehandle.}(hj hhhNhNubeh}(h]j ah ]h"]cec-event-pin-5v-lowah$]h&]uh1hhhhKhj jX }j j sjZ }j j subeh}(h]h ]h"]h$]h&]uh1jhj ububh)}(h``CEC_EVENT_PIN_5V_LOW``h]j)}(hj h]hCEC_EVENT_PIN_5V_LOW}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j h)}(hj h]h6}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj7 ubeh}(h]h ]h"]h$]h&]uh1jhj ubj eh}(h]h ]h"]h$]h&]uh1jhj2 ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-5V-HIGH`:h]h}(h]h ]h"]h$]h&]hԌcec-event-pin-5v-highuh1hhKhj)}(hhh](jY h)}(hXGenerated if the 5V pin goes from a low voltage to a high voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set. When open() is called, the 5V pin can be read and if the 5V is high, then an initial event will be generated for that filehandle.h](hjGenerated if the 5V pin goes from a low voltage to a high voltage. Only applies to adapters that have the }(hjg hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg ubh capability set. When open() is called, the 5V pin can be read and if the 5V is high, then an initial event will be generated for that filehandle.}(hjg hhhNhNubeh}(h]jc ah ]h"]cec-event-pin-5v-highah$]h&]uh1hhhhKhjd jX }j jY sjZ }jc jY subeh}(h]h ]h"]h$]h&]uh1jhjS ububh)}(h``CEC_EVENT_PIN_5V_HIGH``h]j)}(hj h]hCEC_EVENT_PIN_5V_HIGH}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhjV ubeh}(h]h ]h"]h$]h&]uh1jhjS ubj)}(hhh](jY h)}(h7h]h7}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhjS ubjd eh}(h]h ]h"]h$]h&]uh1jhj2 ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jwhj ubeh}(h](id4j eh ]h"] cec-eventsah$]h&]uh1jdhjahhhNhNjX }j j sjZ }j j subj)}(hhh]h}(h]h ]h"]h$]h&]j|p{6.0cm}|p{0.6cm}|p{10.7cm}|uh1jhhhKhjahhubh)}(h.. _cec-event-flags:h]h}(h]h ]h"]h$]h&]hԌcec-event-flagsuh1hhKhjahhhhubje)}(hhh](h)}(hCEC Event Flagsh]hCEC Event Flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubjx)}(hhh](j})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjubj})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjubj})}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j|hjubj)}(hhh](j)}(hhh](j)}(hhh](h)}(h!.. _`CEC-EVENT-FL-INITIAL-STATE`:h]h}(h]h ]h"]h$]h&]hԌcec-event-fl-initial-stateuh1hhKhj)}(hhh](j1h)}(hSet for the initial events that are generated when the device is opened. See the table above for which events do this. This allows applications to learn the initial state of the CEC adapter at open() time.h]hSet for the initial events that are generated when the device is opened. See the table above for which events do this. This allows applications to learn the initial state of the CEC adapter at open() time.}(hj?hhhNhNubah}(h]j;ah ]h"]cec-event-fl-initial-stateah$]h&]uh1hhhhKhj<jX }jKj1sjZ }j;j1subeh}(h]h ]h"]h$]h&]uh1jhj+ububh)}(h``CEC_EVENT_FL_INITIAL_STATE``h]j)}(hjXh]hCEC_EVENT_FL_INITIAL_STATE}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhhhKhj.ubeh}(h]h ]h"]h$]h&]uh1jhj+ubj)}(hhh](j1h)}(hj h]h1}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjsubeh}(h]h ]h"]h$]h&]uh1jhj+ubj<eh}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh](j)}(hhh](h)}(h".. _`CEC-EVENT-FL-DROPPED-EVENTS`:h]h}(h]h ]h"]h$]h&]hԌcec-event-fl-dropped-eventsuh1hhKhj)}(hhh](jh)}(hSet if one or more events of the given event type have been dropped. This is an indication that the application cannot keep up.h]hSet if one or more events of the given event type have been dropped. This is an indication that the application cannot keep up.}(hjhhhNhNubah}(h]jah ]h"]cec-event-fl-dropped-eventsah$]h&]uh1hhhhKhjjX }jjsjZ }jjsubeh}(h]h ]h"]h$]h&]uh1jhjububh)}(h``CEC_EVENT_FL_DROPPED_EVENTS``h]j)}(hjh]hCEC_EVENT_FL_DROPPED_EVENTS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](jh)}(hj h]h2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjeh}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jwhj ubeh}(h](id5j eh ]h"]cec-event-flagsah$]h&]uh1jdhjahhhNhNjX }jj sjZ }j j subeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Return Valueh]h Return Value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hOn success 0 is returned, on error -1 and the ``errno`` variable is set appropriately. The generic error codes are described at the :ref:`Generic Error Codes ` chapter.h](h.On success 0 is returned, on error -1 and the }(hj#hhhNhNubj)}(h ``errno``h]herrno}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubhM variable is set appropriately. The generic error codes are described at the }(hj#hhhNhNubh)}(h':ref:`Generic Error Codes `h]j)}(hj?h]hGeneric Error Codes}(hjAhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]refdocj refdomainjKreftyperef refexplicitrefwarnj$ gen-errorsuh1hhhhKhj#ubh chapter.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hPThe :ref:`ioctl CEC_DQEVENT ` can return the following error codes:h](hThe }(hjghhhNhNubh)}(h&:ref:`ioctl CEC_DQEVENT `h]j)}(hjqh]hioctl CEC_DQEVENT}(hjshhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]refdocj refdomainj}reftyperef refexplicitrefwarnj$ cec_dqeventuh1hhhhKhjgubh& can return the following error codes:}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hhh](j)}(heEAGAIN This is returned when the filehandle is in non-blocking mode and there are no pending events. h](j)}(hEAGAINh]hEAGAIN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh]h)}(h]This is returned when the filehandle is in non-blocking mode and there are no pending events.h]h]This is returned when the filehandle is in non-blocking mode and there are no pending events.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hcERESTARTSYS An interrupt (e.g. Ctrl-C) arrived while in blocking mode waiting for events to arrive.h](j)}(h ERESTARTSYSh]h ERESTARTSYS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh]h)}(hWAn interrupt (e.g. Ctrl-C) arrived while in blocking mode waiting for events to arrive.h]hWAn interrupt (e.g. Ctrl-C) arrived while in blocking mode waiting for events to arrive.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhKubeh}(h](ioctl-cec-dqeventheh ]h"](ioctl cec_dqevent cec_dqeventeh$]h&]uh1hhhhhhhhKjX }jhsjZ }hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj5error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehnj _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}(h]haj ]j ajE ]j; aj ]j aj ]j aj ]j~ aj ]j ajv ]jl aj ]j ajc ]jY aj ]j aj;]j1aj]jaunameids}(jhj j jjjjj^j[jj j j jU jE j j j3 j j j j! j j jv j j j jc jj jKj;jjjju nametypes}(jj jjj^jj jU j j3 j j! j j j jjKjjuh}(hhj hjhjjj4j=j[jj jajjj6j;jQjVj j jE jI j j j j j j j j jv jz j j jc jg j j j;j?jjjjj%jfj6jj jj j jj u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}jCKsRparse_messages]hsystem_message)}(hhh]h)}(heUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.h]hgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypeINFOlineKsourcehuh1jhj ubatransform_messages](j)}(hhh]h)}(hhh]h1Hyperlink target "cec-dqevent" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehnjlineKuh1jubj)}(hhh]h)}(hhh]h0Hyperlink target "cec-events" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehnjlineKuh1jubj)}(hhh]h)}(hhh]h