Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 1 | .. -*- coding: utf-8; mode: rst -*- |
| 2 | |
Mauro Carvalho Chehab | af4a4d0 | 2016-07-01 13:42:29 -0300 | [diff] [blame] | 3 | .. _VIDIOC_LOG_STATUS: |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 4 | |
| 5 | *********************** |
| 6 | ioctl VIDIOC_LOG_STATUS |
| 7 | *********************** |
| 8 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 9 | NAME |
| 10 | ==== |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 11 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 12 | VIDIOC_LOG_STATUS - Log driver status information |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 13 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 14 | SYNOPSIS |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 15 | ======== |
| 16 | |
Mauro Carvalho Chehab | b7e67f6 | 2016-07-02 09:49:16 -0300 | [diff] [blame] | 17 | .. cpp:function:: int ioctl( int fd, int request ) |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 18 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 19 | |
| 20 | ARGUMENTS |
| 21 | ========= |
| 22 | |
| 23 | |
| 24 | |
| 25 | DESCRIPTION |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 26 | =========== |
| 27 | |
| 28 | As the video/audio devices become more complicated it becomes harder to |
| 29 | debug problems. When this ioctl is called the driver will output the |
| 30 | current device status to the kernel log. This is particular useful when |
| 31 | dealing with problems like no sound, no video and incorrectly tuned |
| 32 | channels. Also many modern devices autodetect video and audio standards |
| 33 | and this ioctl will report what the device thinks what the standard is. |
| 34 | Mismatches may give an indication where the problem is. |
| 35 | |
| 36 | This ioctl is optional and not all drivers support it. It was introduced |
| 37 | in Linux 2.6.15. |
| 38 | |
| 39 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 40 | RETURN VALUE |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 41 | ============ |
| 42 | |
| 43 | On success 0 is returned, on error -1 and the ``errno`` variable is set |
| 44 | appropriately. The generic error codes are described at the |
| 45 | :ref:`Generic Error Codes <gen-errors>` chapter. |