Skip to content

Commit a79a0e7

Browse files
committed
media: admin-guide: reorganize the guide
Separate the generic documentation from the driver-specific parts, and use a better title for the documentation. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent f45ce7a commit a79a0e7

3 files changed

Lines changed: 44 additions & 23 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.. SPDX-License-Identifier: GPL-2.0
2+
3+
==========
4+
Digital TV
5+
==========
6+
7+
.. toctree::
8+
9+
dvb_intro
10+
ci
11+
faq
12+
dvb_references

‎Documentation/admin-guide/media/index.rst‎

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
33
.. include:: <isonum.txt>
44

5-
============================
6-
Media subsystem usage guides
7-
============================
5+
====================================
6+
Media subsystem admin and user guide
7+
====================================
88

99
This section contains usage information about media subsystem and
1010
its supported drivers.
@@ -18,11 +18,8 @@ Please see:
1818
for driver development information and Kernel APIs used by
1919
media devices;
2020

21-
.. _uapi-v4l-drivers:
22-
23-
################################################
24-
Video4Linux (V4L) driver-specific documentation
25-
################################################
21+
The media subsystem
22+
===================
2623

2724
.. only:: html
2825

@@ -37,9 +34,27 @@ Video4Linux (V4L) driver-specific documentation
3734
intro
3835
building
3936

37+
remote-controller
38+
39+
dvb
40+
4041
cardlist
4142

42-
v4l-with-ir
43+
44+
.. _uapi-v4l-drivers:
45+
46+
Video4Linux (V4L) driver-specific documentation
47+
===============================================
48+
49+
.. only:: html
50+
51+
.. class:: toc-title
52+
53+
Table of Contents
54+
55+
.. toctree::
56+
:maxdepth: 5
57+
:numbered:
4358

4459
bttv
4560
cafe_ccic
@@ -64,9 +79,8 @@ Video4Linux (V4L) driver-specific documentation
6479
vimc
6580
vivid
6681

67-
##############################################
68-
Linux Digital TV driver-specific documentation
69-
##############################################
82+
Digital TV driver-specific documentation
83+
========================================
7084

7185
.. only:: html
7286

@@ -78,11 +92,6 @@ Linux Digital TV driver-specific documentation
7892
:maxdepth: 5
7993
:numbered:
8094

81-
dvb_intro
82-
ci
83-
faq
84-
dvb_references
85-
8695
avermedia
8796
bt8xx
8897
lmedm04
@@ -91,9 +100,8 @@ Linux Digital TV driver-specific documentation
91100
ttusb-dec
92101
zr364xx
93102

94-
#################################
95103
CEC driver-specific documentation
96-
#################################
104+
=================================
97105

98106
.. only:: html
99107

Documentation/admin-guide/media/v4l-with-ir.rst renamed to Documentation/admin-guide/media/remote-controller.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
.. SPDX-License-Identifier: GPL-2.0
22
3+
======================================================
34
Infrared remote control support in video4linux drivers
45
======================================================
56

67
Authors: Gerd Hoffmann, Mauro Carvalho Chehab
78

89
Basics
9-
------
10+
======
1011

1112
Most analog and digital TV boards support remote controllers. Several of
1213
them have a microprocessor that receives the IR carriers, convert into
@@ -33,7 +34,7 @@ detected. However, for a few devices, you need to manually load the
3334
ir-kbd-i2c module.
3435

3536
How it works
36-
------------
37+
============
3738

3839
The modules register the remote as keyboard within the linux input
3940
layer, i.e. you'll see the keys of the remote as normal key strokes
@@ -55,15 +56,15 @@ the keymaps, like the input kbd utility.
5556

5657

5758
Using with lircd
58-
================
59+
----------------
5960

6061
The latest versions of the lircd daemon supports reading events from the
6162
linux input layer (via event device). It also supports receiving IR codes
6263
in lirc mode.
6364

6465

6566
Using without lircd
66-
===================
67+
-------------------
6768

6869
Xorg recognizes several IR keycodes that have its numerical value lower
6970
than 247. With the advent of Wayland, the input driver got updated too,

0 commit comments

Comments
 (0)