Mauro Carvalho Chehab | 8e080c2 | 2009-09-13 22:16:04 -0300 | [diff] [blame] | 1 | <refentry id="vidioc-log-status"> |
| 2 | <refmeta> |
| 3 | <refentrytitle>ioctl VIDIOC_LOG_STATUS</refentrytitle> |
| 4 | &manvol; |
| 5 | </refmeta> |
| 6 | |
| 7 | <refnamediv> |
| 8 | <refname>VIDIOC_LOG_STATUS</refname> |
| 9 | <refpurpose>Log driver status information</refpurpose> |
| 10 | </refnamediv> |
| 11 | |
| 12 | <refsynopsisdiv> |
| 13 | <funcsynopsis> |
| 14 | <funcprototype> |
| 15 | <funcdef>int <function>ioctl</function></funcdef> |
| 16 | <paramdef>int <parameter>fd</parameter></paramdef> |
| 17 | <paramdef>int <parameter>request</parameter></paramdef> |
| 18 | </funcprototype> |
| 19 | </funcsynopsis> |
| 20 | </refsynopsisdiv> |
| 21 | |
| 22 | <refsect1> |
| 23 | <title>Description</title> |
| 24 | |
| 25 | <para>As the video/audio devices become more complicated it |
| 26 | becomes harder to debug problems. When this ioctl is called the driver |
| 27 | will output the current device status to the kernel log. This is |
| 28 | particular useful when dealing with problems like no sound, no video |
| 29 | and incorrectly tuned channels. Also many modern devices autodetect |
| 30 | video and audio standards and this ioctl will report what the device |
| 31 | thinks what the standard is. Mismatches may give an indication where |
| 32 | the problem is.</para> |
| 33 | |
| 34 | <para>This ioctl is optional and not all drivers support it. It |
| 35 | was introduced in Linux 2.6.15.</para> |
| 36 | </refsect1> |
| 37 | |
| 38 | <refsect1> |
| 39 | &return-value; |
| 40 | |
| 41 | <variablelist> |
| 42 | <varlistentry> |
| 43 | <term><errorcode>EINVAL</errorcode></term> |
| 44 | <listitem> |
| 45 | <para>The driver does not support this ioctl.</para> |
| 46 | </listitem> |
| 47 | </varlistentry> |
| 48 | </variablelist> |
| 49 | </refsect1> |
| 50 | </refentry> |
| 51 | |
| 52 | <!-- |
| 53 | Local Variables: |
| 54 | mode: sgml |
| 55 | sgml-parent-document: "v4l2.sgml" |
| 56 | indent-tabs-mode: nil |
| 57 | End: |
| 58 | --> |