1 .. SPDX-License-Identifier: GFDL-1.1-no-invari 2 3 .. _querycap: 4 5 ********************* 6 Querying Capabilities 7 ********************* 8 9 Because V4L2 covers a wide variety of devices 10 are equally applicable to all types of devices 11 the same type have different capabilities and 12 the omission of a few complicated and less imp 13 14 The :ref:`VIDIOC_QUERYCAP` ioctl is available 15 check if the kernel device is compatible with 16 query the :ref:`functions <devices>` and :ref: 17 supported by the device. 18 19 Starting with kernel version 3.1, :ref:`VIDIOC 20 will return the V4L2 API version used by the d 21 matches the Kernel version. There's no need of 22 :ref:`VIDIOC_QUERYCAP` to check if a specific 23 is supported, the V4L2 core now returns ``ENOT 24 provide support for an ioctl. 25 26 Other features can be queried by calling the r 27 example :ref:`VIDIOC_ENUMINPUT` to learn about 28 number, types and names of video connectors on 29 abstraction is a major objective of this API, 30 :ref:`VIDIOC_QUERYCAP` ioctl also allows drive 31 specific applications to reliably identify the 32 33 All V4L2 drivers must support :ref:`VIDIOC_QUE 34 Applications should always call this ioctl aft
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.