mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 09:11:49 +00:00
[media] doc-rst: reorganize LIRC ReST files
Reorganize the LIRC rst files, using "-" instead of "_" on their names, and creating a separate chapter for syscalls. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
048eb3ef75
commit
bd6a63f2e6
14
Documentation/media/uapi/rc/lirc-dev.rst
Normal file
14
Documentation/media/uapi/rc/lirc-dev.rst
Normal file
@ -0,0 +1,14 @@
|
||||
.. -*- coding: utf-8; mode: rst -*-
|
||||
|
||||
.. _lirc_dev:
|
||||
|
||||
LIRC Device Interface
|
||||
=====================
|
||||
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
lirc-dev-intro
|
||||
lirc-func
|
||||
lirc-header
|
@ -1,17 +1,16 @@
|
||||
.. -*- coding: utf-8; mode: rst -*-
|
||||
|
||||
.. _lirc_dev:
|
||||
.. _lirc_func:
|
||||
|
||||
LIRC Device Interface
|
||||
=====================
|
||||
LIRC Function Reference
|
||||
=======================
|
||||
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
lirc_dev_intro
|
||||
lirc_read
|
||||
lirc_write
|
||||
lirc-read
|
||||
lirc-write
|
||||
lirc-get-features
|
||||
lirc-get-send-mode
|
||||
lirc-get-rec-mode
|
@ -44,10 +44,10 @@ is greater than ``SSIZE_MAX``, the result is unspecified.
|
||||
The lircd userspace daemon reads raw IR data from the LIRC chardev. The
|
||||
exact format of the data depends on what modes a driver supports, and
|
||||
what mode has been selected. lircd obtains supported modes and sets the
|
||||
active mode via the ioctl interface, detailed at :ref:`lirc_ioctl`.
|
||||
The generally preferred mode is LIRC_MODE_MODE2, in which packets
|
||||
containing an int value describing an IR signal are read from the
|
||||
chardev.
|
||||
active mode via the ioctl interface, detailed at :ref:`lirc_func`.
|
||||
The generally preferred mode for receive is
|
||||
:ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>`, in which packets containing an
|
||||
int value describing an IR signal are read from the chardev.
|
||||
|
||||
See also
|
||||
`http://www.lirc.org/html/technical.html <http://www.lirc.org/html/technical.html>`__
|
@ -23,8 +23,7 @@ Remote Controllers
|
||||
rc-sysfs-nodes
|
||||
rc-tables
|
||||
rc-table-change
|
||||
lirc_device_interface
|
||||
lirc-header
|
||||
lirc-dev
|
||||
|
||||
|
||||
**********************
|
||||
|
Loading…
Reference in New Issue
Block a user