aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-05-28 06:42:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-18 21:04:58 -0400
commitefcf5bdac839f0dc9dc39ed1ad9fe2dbab49d00a (patch)
tree9c2d6ac42a91fd43cee2a7d391defe745f21b213 /Documentation
parent54f6019b5860ec062d1149b3a97a5a63ad3e4da9 (diff)
[media] V4L2 spec: clarify a few modulator issues
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/DocBook/media/v4l/common.xml17
1 files changed, 13 insertions, 4 deletions
diff --git a/Documentation/DocBook/media/v4l/common.xml b/Documentation/DocBook/media/v4l/common.xml
index 4101aeb56540..b91d25313b63 100644
--- a/Documentation/DocBook/media/v4l/common.xml
+++ b/Documentation/DocBook/media/v4l/common.xml
@@ -464,14 +464,14 @@ The <structfield>type</structfield> field of the respective
464<structfield>tuner</structfield> field contains the index number of 464<structfield>tuner</structfield> field contains the index number of
465the tuner.</para> 465the tuner.</para>
466 466
467 <para>Radio devices have exactly one tuner with index zero, no 467 <para>Radio input devices have exactly one tuner with index zero, no
468video inputs.</para> 468video inputs.</para>
469 469
470 <para>To query and change tuner properties applications use the 470 <para>To query and change tuner properties applications use the
471&VIDIOC-G-TUNER; and &VIDIOC-S-TUNER; ioctl, respectively. The 471&VIDIOC-G-TUNER; and &VIDIOC-S-TUNER; ioctl, respectively. The
472&v4l2-tuner; returned by <constant>VIDIOC_G_TUNER</constant> also 472&v4l2-tuner; returned by <constant>VIDIOC_G_TUNER</constant> also
473contains signal status information applicable when the tuner of the 473contains signal status information applicable when the tuner of the
474current video input, or a radio tuner is queried. Note that 474current video or radio input is queried. Note that
475<constant>VIDIOC_S_TUNER</constant> does not switch the current tuner, 475<constant>VIDIOC_S_TUNER</constant> does not switch the current tuner,
476when there is more than one at all. The tuner is solely determined by 476when there is more than one at all. The tuner is solely determined by
477the current video input. Drivers must support both ioctls and set the 477the current video input. Drivers must support both ioctls and set the
@@ -491,8 +491,17 @@ the modulator. The <structfield>type</structfield> field of the
491respective &v4l2-output; returned by the &VIDIOC-ENUMOUTPUT; ioctl is 491respective &v4l2-output; returned by the &VIDIOC-ENUMOUTPUT; ioctl is
492set to <constant>V4L2_OUTPUT_TYPE_MODULATOR</constant> and its 492set to <constant>V4L2_OUTPUT_TYPE_MODULATOR</constant> and its
493<structfield>modulator</structfield> field contains the index number 493<structfield>modulator</structfield> field contains the index number
494of the modulator. This specification does not define radio output 494of the modulator.</para>
495devices.</para> 495
496 <para>Radio output devices have exactly one modulator with index
497zero, no video outputs.</para>
498
499 <para>A video or radio device cannot support both a tuner and a
500modulator. Two separate device nodes will have to be used for such
501hardware, one that supports the tuner functionality and one that supports
502the modulator functionality. The reason is a limitation with the
503&VIDIOC-S-FREQUENCY; ioctl where you cannot specify whether the frequency
504is for a tuner or a modulator.</para>
496 505
497 <para>To query and change modulator properties applications use 506 <para>To query and change modulator properties applications use
498the &VIDIOC-G-MODULATOR; and &VIDIOC-S-MODULATOR; ioctl. Note that 507the &VIDIOC-G-MODULATOR; and &VIDIOC-S-MODULATOR; ioctl. Note that