Merge tag 'freevxfs-for-4.8' of git://git.infradead.org/users/hch/freevxfs
[deliverable/linux.git] / Documentation / media / uapi / cec / cec-intro.rst
CommitLineData
da98a79b
MCC
1.. _cec-intro:
2
3Introduction
4============
5
706f8a99
MCC
6.. note:: This documents the proposed CEC API. This API is not yet finalized
7 and is currently only available as a staging kernel module.
da98a79b
MCC
8
9HDMI connectors provide a single pin for use by the Consumer Electronics
10Control protocol. This protocol allows different devices connected by an
11HDMI cable to communicate. The protocol for CEC version 1.4 is defined
12in supplements 1 (CEC) and 2 (HEAC or HDMI Ethernet and Audio Return
13Channel) of the HDMI 1.4a (:ref:`hdmi`) specification and the
14extensions added to CEC version 2.0 are defined in chapter 11 of the
15HDMI 2.0 (:ref:`hdmi2`) specification.
16
17The bitrate is very slow (effectively no more than 36 bytes per second)
18and is based on the ancient AV.link protocol used in old SCART
19connectors. The protocol closely resembles a crazy Rube Goldberg
20contraption and is an unholy mix of low and high level messages. Some
21messages, especially those part of the HEAC protocol layered on top of
22CEC, need to be handled by the kernel, others can be handled either by
23the kernel or by userspace.
24
25In addition, CEC can be implemented in HDMI receivers, transmitters and
26in USB devices that have an HDMI input and an HDMI output and that
27control just the CEC pin.
28
29Drivers that support CEC will create a CEC device node (/dev/cecX) to
30give userspace access to the CEC adapter. The
31:ref:`CEC_ADAP_G_CAPS` ioctl will tell userspace what it is allowed to do.
This page took 0.11624 seconds and 5 git commands to generate.