646876105fe1799355715839477958adf1d096fd
According to the specification[1] the 'capabilities' describe the physical device as a whole and the 'device_caps' describe the current device node. The existence of 'device_caps' is indicated by the V4L2_CAP_DEVICE_CAPS capability flag. Use the 'device_caps' if available to generate the correct ID_V4L_CAPABILITIES for the current device node. This is relevant for UVC devices with current kernels: Two /dev/videoX devices exist for those. One for video and one for metadata. The V4L2_CAP_VIDEO_CAPTURE flag is present in the 'capabilities' for both device nodes but only in the 'device_caps' of the video device node. Without this, the ID_V4L_CAPABILITIES of the metadata device node incorrectly contains 'capture'. [1] https://www.linuxtv.org/downloads/v4l-dvb-apis-new/uapi/v4l/vidioc-querycap.html
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
Languages
C
88.5%
Shell
5.7%
Python
4.6%
Meson
1.1%