blob: 0706274ff6a31eeb3fa44524389fa3e677e5071b [file] [log] [blame]
Markus Heiser5377d912016-06-30 15:18:56 +02001.. -*- coding: utf-8; mode: rst -*-
2
3.. _vidioc-log-status:
4
5***********************
6ioctl VIDIOC_LOG_STATUS
7***********************
8
9*man VIDIOC_LOG_STATUS(2)*
10
11Log driver status information
12
13
14Synopsis
15========
16
17.. c:function:: int ioctl( int fd, int request )
18
19Description
20===========
21
22As the video/audio devices become more complicated it becomes harder to
23debug problems. When this ioctl is called the driver will output the
24current device status to the kernel log. This is particular useful when
25dealing with problems like no sound, no video and incorrectly tuned
26channels. Also many modern devices autodetect video and audio standards
27and this ioctl will report what the device thinks what the standard is.
28Mismatches may give an indication where the problem is.
29
30This ioctl is optional and not all drivers support it. It was introduced
31in Linux 2.6.15.
32
33
34Return Value
35============
36
37On success 0 is returned, on error -1 and the ``errno`` variable is set
38appropriately. The generic error codes are described at the
39:ref:`Generic Error Codes <gen-errors>` chapter.
40
41
42.. ------------------------------------------------------------------------------
43.. This file was automatically converted from DocBook-XML with the dbxml
44.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
45.. from the linux kernel, refer to:
46..
47.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
48.. ------------------------------------------------------------------------------