<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/media/uapi/cec, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-06-20T09:55:15Z</updated>
<entry>
<title>[media] cec-ioc-adap-g-caps.rst: document CEC_CAP_NEEDS_HPD</title>
<updated>2017-06-20T09:55:15Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2017-06-07T14:46:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41c01d6582977c76f4ce827cc74e94d1892f9141'/>
<id>urn:sha1:41c01d6582977c76f4ce827cc74e94d1892f9141</id>
<content type='text'>
Document the new CEC_CAP_NEEDS_HPD capability.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] cec: document the special unconfigured case</title>
<updated>2017-03-22T14:13:12Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2017-02-27T13:53:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fabd5bd68f3248761d754ee242a75cd09e6a02f8'/>
<id>urn:sha1:fabd5bd68f3248761d754ee242a75cd09e6a02f8</id>
<content type='text'>
Even when the CEC device is unconfigured due to an invalid physical
address it is still allowed to send a message from 0xf (Unregistered)
to 0 (TV). This is a corner case explicitly allowed by the CEC specification.

Document this corner case.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] cec: document the error codes</title>
<updated>2017-03-22T14:12:34Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2017-02-20T20:21:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=491314b8d41bb680f6ddb2632c1a36dd3959d5b3'/>
<id>urn:sha1:491314b8d41bb680f6ddb2632c1a36dd3959d5b3</id>
<content type='text'>
Document all the various error codes returned by the CEC ioctls.

These were never documented, instead the documentation relied on a reference
to the generic error codes, but that's not sufficient.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] cec: documentation fixes</title>
<updated>2017-03-22T13:22:40Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2017-02-27T13:14:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b94dffd65c5cf09d8d3420581bd099dc61e7c3f2'/>
<id>urn:sha1:b94dffd65c5cf09d8d3420581bd099dc61e7c3f2</id>
<content type='text'>
Fixed a few spelling mistakes, but mostly incorrect rst syntax that caused wrong
references or font style.

No actual documentation changes, just fixes.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] cec-intro.rst: mention the v4l-utils package and CEC utilities</title>
<updated>2017-01-30T13:41:51Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2017-01-02T11:54:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8015d6b83cadc8f9f94c7bc8430255090ddf43d4'/>
<id>urn:sha1:8015d6b83cadc8f9f94c7bc8430255090ddf43d4</id>
<content type='text'>
Mention where to find the CEC utilities.

Signed-off-by: Hans Verkuil &lt;hansverk@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] cec rst: remove "This API is not yet finalized" notice</title>
<updated>2017-01-30T13:40:46Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2017-01-02T11:41:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed72b81bb7a49e8bfaa8dd6ab0b0e103ff0771ae'/>
<id>urn:sha1:ed72b81bb7a49e8bfaa8dd6ab0b0e103ff0771ae</id>
<content type='text'>
The API is now finalized, so this notice should be dropped.

Signed-off-by: Hans Verkuil &lt;hansverk@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] cec-ioc-adap-g-log-addrs.rst: describe CEC_LOG_ADDRS_FL_CDC_ONLY</title>
<updated>2016-11-16T18:04:45Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-11-16T17:59:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71334ae42d6b450efeac656dbb254bcf787f5ac7'/>
<id>urn:sha1:71334ae42d6b450efeac656dbb254bcf787f5ac7</id>
<content type='text'>
The CEC_LOG_ADDRS_FL_CDC_ONLY flag is missing at the documentation,
causing this warning:
	Documentation/output/cec.h.rst:6: WARNING: undefined label: cec-log-addrs-fl-cdc-only (if the link has no caption the label must precede a section header)

Add a documentation for it, based on the commit that introduced the
flag.

Fixes: a69a168a1bd4 ("[media] cec: add proper support for CDC-Only CEC devices")
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] cec: accept two replies for CEC_MSG_INITIATE_ARC</title>
<updated>2016-11-16T17:34:55Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2016-11-01T13:07:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f5580d8d6fd07a569e468fca51f435aa5b122fc4'/>
<id>urn:sha1:f5580d8d6fd07a569e468fca51f435aa5b122fc4</id>
<content type='text'>
The CEC_MSG_INITIATE_ARC message is special since it is the ONLY
CEC message that accepts two possible valid replies:

CEC_MSG_REPORT_ARC_INITIATED and CEC_MSG_REPORT_ARC_TERMINATED.

So if the transmitted message is CEC_MSG_INITIATE_ARC and the remote
side replied with CEC_MSG_REPORT_ARC_INITIATED or CEC_MSG_REPORT_ARC_TERMINATED,
then a msg-&gt;reply value of CEC_MSG_REPORT_ARC_INITIATED or
CEC_MSG_REPORT_ARC_TERMINATED will match either reply.

I thought about either adding a second reply2 field, but that's ugly
for all other messages that have only one reply, and what if in the
future a new message is added that can have three replies?

Another option would be to add a cec_msg flag, but really, the combination
of CEC_MSG_REPORT_ARC_INITIATED and a reply value of one of the two
possible replies already functions as a flag.

Another advantage of this approach is that it is safe to re-use a
cec_msg struct. No need to zero a flags field or a reply2 field.

So since this really is an exception in the CEC specification, I
decided to implement it as an exception as well.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] cec: add CEC_MSG_FL_REPLY_TO_FOLLOWERS</title>
<updated>2016-11-16T17:32:56Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2016-11-01T10:55:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=adc0c622783978ab0c740af77f98fc8f65c87d66'/>
<id>urn:sha1:adc0c622783978ab0c740af77f98fc8f65c87d66</id>
<content type='text'>
Give the caller more control over how replies to a transmit are
handled. By default the reply will only go to the filehandle that
called CEC_TRANSMIT. If this new flag is set, then the reply will
also go to all followers.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] cec: add flag to cec_log_addrs to enable RC passthrough</title>
<updated>2016-11-16T17:32:07Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2016-11-01T09:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4062625ede8f0280d8246437f4070c8eb7fe9f3'/>
<id>urn:sha1:f4062625ede8f0280d8246437f4070c8eb7fe9f3</id>
<content type='text'>
By default the CEC_MSG_USER_CONTROL_PRESSED/RELEASED messages
are passed on to the follower(s) only. If the new
CEC_LOG_ADDRS_FL_ALLOW_RC_PASSTHRU flag is set in the
flags field of struct cec_log_addrs then these messages are also
passed on to the remote control input subsystem and they will appear
as keystrokes.

This used to be the default behavior, but now you have to explicitly
enable it. This is done to force the caller to think about possible
security issues (e.g. if these messages are used to enter passwords).

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
</feed>
