<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/media/uapi/rc, 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-03-24T10:43:26Z</updated>
<entry>
<title>[media] lirc: document lirc modes better</title>
<updated>2017-03-24T10:43:26Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2017-02-08T17:10:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8b875a54990415603d180e0c4bf31ce7d876c3a'/>
<id>urn:sha1:a8b875a54990415603d180e0c4bf31ce7d876c3a</id>
<content type='text'>
LIRC_MODE_MODE2 and LIRC_MODE_LIRCCODE were not covered at all.

Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] rc: change wakeup_protocols to list all protocol variants</title>
<updated>2017-01-30T14:15:12Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2016-12-05T19:08:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0751d33c27eacfcd4e15a3425a9e035614ab9713'/>
<id>urn:sha1:0751d33c27eacfcd4e15a3425a9e035614ab9713</id>
<content type='text'>
For IR wakeup, a driver has to program the hardware to wakeup at a
specific IR sequence, so it makes no sense to allow multiple wakeup
protocols to be selected. In the same manner the sysfs interface only
allows one scancode to be provided.

In addition, we need to know the specific variant of the protocol.

In short, these changes are made to the wakeup_protocols sysfs entry:
 - list all the protocol variants rather than the protocol groups,
   e.g. "nec nec-x nec-32" rather than just "nec".
 - only allow one protocol variant to be selected rather than multiple
 - wakeup_filter can only be set once a protocol has been selected in
   wakeup_protocols.

This is an API change, however the only user of this API is the img-ir,
but the wakeup code was never merged to mainline, so it was never used.

Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Cc: James Hogan &lt;james.hogan@imgtec.com&gt;
Cc: Sifan Naeem &lt;sifan.naeem@imgtec.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] docs-rst: fix two wrong :name: tags</title>
<updated>2016-09-09T12:58:26Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-09-08T11:14:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9de2d89a7e48c777254780502c16157e1740587'/>
<id>urn:sha1:e9de2d89a7e48c777254780502c16157e1740587</id>
<content type='text'>
There's a typo there, causing 4 warnings:

  Documentation/media/uapi/rc/lirc-read.rst:26: WARNING: c:type reference target not found: name
  Documentation/media/uapi/rc/lirc-read.rst:26: WARNING: c:type reference target not found: lirc
  Documentation/media/uapi/v4l/func-poll.rst:25: WARNING: c:type reference target not found: name
  Documentation/media/uapi/v4l/func-poll.rst:25: WARNING: c:type reference target not found: v4l2

 Fix them.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] docs-rst: Convert LIRC uAPI to use C function references</title>
<updated>2016-08-23T00:23:46Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-08-19T19:59:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=15c190146c5d1843d2eda0aac8be21d22c3ac431'/>
<id>urn:sha1:15c190146c5d1843d2eda0aac8be21d22c3ac431</id>
<content type='text'>
Name all ioctl references and make them match the ioctls that
are documented. That will improve the cross-reference index,
as it will have all ioctls and syscalls there.

While here, improve the documentation to make them to look more
like the rest of the document.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] docs-next: stop abusing on the cpp domain</title>
<updated>2016-08-23T00:23:00Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-08-19T15:00:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b81f010bfd8ce61b79329d7ebb23b62d5d7effb'/>
<id>urn:sha1:1b81f010bfd8ce61b79329d7ebb23b62d5d7effb</id>
<content type='text'>
Now that we have an override for the c domain that will do
the right thing for the Kernel, stop abusing on the cpp
domain.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] docs-rst: add tabularcolumns to all tables</title>
<updated>2016-08-22T13:07:12Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-08-17T11:14:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5bd4bb7817093e9e3fe2671832de3486cb58b28b'/>
<id>urn:sha1:5bd4bb7817093e9e3fe2671832de3486cb58b28b</id>
<content type='text'>
LaTeX doesn't handle too well auto-width on tables, and ReST
markup requires an special tag to give it the needed hints.

As we're using A4 paper, we have 17cm of useful spaces. As
most media tables have widths, let's use it to generate the
needed via the following perl script:

my ($line_size, $table_header, $has_cols) = (17.5, 0, 0);
my $out;
my $header = "";
my @widths = ();
sub round { $_[0] &gt; 0 ? int($_[0] + .5) : -int(-$_[0] + .5) }
while (&lt;&gt;) {
	if (!$table_header) {
		$has_cols = 1 if (m/..\s+tabularcolumns::/);
		if (m/..\s+flat-table::/) {
			$table_header = 1;
			$header = $_;
			next;
		}
		$out .= $_;
		next;
	}
	$header .= $_;
	@widths = split(/ /, $1) if (m/:widths:\s+(.*)/);
	if (m/^\n$/) {
		if (!$has_cols &amp;&amp; @widths) {
			my ($tot, $t, $i) = (0, 0, 0);
			foreach my $v(@widths) { $tot += $v; };
			$out .= ".. tabularcolumns:: |";
			for ($i = 0; $i &lt; scalar @widths - 1; $i++) {
				my $v = $widths[$i];
				my $w = round(10 * ($v * $line_size) / $tot) / 10;
				$out .= sprintf "p{%.1fcm}|", $w;
				$t += $w;
			}
			my $w = $line_size - $t;
			$out .= sprintf "p{%.1fcm}|\n\n", $w;
		}
		$out .= $header;
		$table_header = 0;
		$has_cols = 0;
		$header = "";
		@widths = ();
	}
}
print $out;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] docs-rst: better use the .. note:: tag</title>
<updated>2016-08-22T13:02:29Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-08-15T20:49:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b6b6e67824ec0593878afbee5958d80205606210'/>
<id>urn:sha1:b6b6e67824ec0593878afbee5958d80205606210</id>
<content type='text'>
Change multi-line note tags to be more symetric, e. g. not starting
the text together witht the tag.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] doc-rst: better organize the media books</title>
<updated>2016-07-23T11:03:24Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-07-20T13:36:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da83c888bfa5bee632953c57940c24846bb46965'/>
<id>urn:sha1:da83c888bfa5bee632953c57940c24846bb46965</id>
<content type='text'>
The uAPI book has 5 parts, but they lost numeration after
conversion to rst. Manually number those parts, and make
the main index with 1 depth, to only show the parts and
the annexes.

At each part, use :maxwidth: 5, in order to show a more
complete index.

While here, fix the cross-references between different
books.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>Revert "[media] docs-rst: escape [] characters"</title>
<updated>2016-07-13T11:43:30Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-07-13T11:43:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8968da9b8622f2da9b7f0a695acbe341ea28f55e'/>
<id>urn:sha1:8968da9b8622f2da9b7f0a695acbe341ea28f55e</id>
<content type='text'>
This patch touches on places where it shouldn't: image
files and code examples. Also, it doesn't fix all array
occurrences.

So, let's revert it.

This reverts commit ffbab694ede33c294e5864a5e0bf4d1474446a71.
</content>
</entry>
<entry>
<title>[media] docs-rst: escape [] characters</title>
<updated>2016-07-12T18:20:11Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-07-12T18:20:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ffbab694ede33c294e5864a5e0bf4d1474446a71'/>
<id>urn:sha1:ffbab694ede33c294e5864a5e0bf4d1474446a71</id>
<content type='text'>
Those characters are used for citations. Better to escape, to
avoid them to be misinterpreted.

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