summaryrefslogtreecommitdiff
path: root/v4l2-spec/vidioc-queryctrl.sgml
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-02-26 15:41:03 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-02-26 15:41:03 -0300
commitab59a93feb6d2b697c06ee5fad3ff40a7d2b34ed (patch)
treee0d2287a87e88f253b7160b6fe84d213a51e09d6 /v4l2-spec/vidioc-queryctrl.sgml
parent997c1fa3a879220de8463573bea0586ab8521cd9 (diff)
parent2a3734eea927c02985fd33e502f07915a09dd6b9 (diff)
downloadmediapointer-dvb-s2-ab59a93feb6d2b697c06ee5fad3ff40a7d2b34ed.tar.gz
mediapointer-dvb-s2-ab59a93feb6d2b697c06ee5fad3ff40a7d2b34ed.tar.bz2
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l2-spec/vidioc-queryctrl.sgml')
-rw-r--r--v4l2-spec/vidioc-queryctrl.sgml15
1 files changed, 15 insertions, 0 deletions
diff --git a/v4l2-spec/vidioc-queryctrl.sgml b/v4l2-spec/vidioc-queryctrl.sgml
index 20c4147eb..9908a964d 100644
--- a/v4l2-spec/vidioc-queryctrl.sgml
+++ b/v4l2-spec/vidioc-queryctrl.sgml
@@ -361,6 +361,15 @@ control.</entry>
<entry>A hint that this control is best represented as a
slider-like element in a user interface.</entry>
</row>
+ <row>
+ <entry><constant>V4L2_CTRL_FLAG_WRITE_ONLY</constant></entry>
+ <entry>0x0040</entry>
+ <entry>This control is permanently writable only. Any
+attempt to read the control will result in an &EACCES; error code. This
+flag is typically present for relative controls or action controls where
+writing a value will cause the device to carry out a given action
+(&eg; motor control) but no meaningful value can be returned.</entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -378,6 +387,12 @@ is invalid. The &v4l2-querymenu; <structfield>id</structfield> or
<structfield>index</structfield> is invalid.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><errorcode>EACCES</errorcode></term>
+ <listitem>
+ <para>An attempt was made to read a write-only control.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>
</refentry>