Yu Watanabe
f13467ec23
license: GPL-2.0+ -> GPL-2.0-or-later
2020-11-09 13:25:50 +09:00
Frantisek Sumsal
4e361acc06
tree-wide: replace explicit NULL checks with their shorter variants
...
Done by coccinelle/equals-null.cocci
2019-04-28 14:28:49 +02:00
Michael Olbrich
646876105f
v4l_id: use device_caps if available
...
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
2019-02-15 12:14:05 +01:00
Zbigniew Jędrzejewski-Szmek
d9b02e1697
tree-wide: drop copyright headers from frequent contributors
...
Fixes #9320 .
for p in Shapovalov Chevalier Rozhkov Sievers Mack Herrmann Schmidt Rudenberg Sahani Landden Andersen Watanabe; do
git grep -e 'Copyright.*'$p -l|xargs perl -i -0pe 's|/([*][*])?[*]\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\s*[*]([*][*])?/\n*|\n|gms; s|\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\n*|\n|gms'
done
2018-06-20 11:58:53 +02:00
Lennart Poettering
810adae9e9
tree-wide: use proper unicode © instead of (C) where we can
...
Let's use a proper unicode copyright symbol where we can, it's prettier.
This important patch is very important.
2018-06-14 10:20:20 +02:00
Jui-Chi Ricky Liang
27b6cb1f59
v4l_id: check mplane video capture and output capailities ( #8464 )
...
Video devices using mplane buffer API declare capture and output
capabilities with V4L2_CAP_VIDEO_CAPTURE_MPLANE and
V4L2_CAP_VIDEO_OUTPUT_MPLANE.
2018-03-20 09:54:18 +01:00
Zbigniew Jędrzejewski-Szmek
e7145211c7
Add SPDX license identifiers to source files under the GPL
2017-11-19 19:08:15 +01:00
Zbigniew Jędrzejewski-Szmek
72cdb3e783
build-sys: drop automake support
...
v2:
- also mention m4
2017-07-18 10:04:44 -04:00
Daniel Mack
b26fa1a2fb
tree-wide: remove Emacs lines from all files
...
This should be handled fine now by .dir-locals.el, so need to carry that
stuff in every file.
2016-02-10 13:41:57 +01:00
Zbigniew Jędrzejewski-Szmek
3f65d73149
udev: add emacs header line
...
Otherwise emacs wants to use 2-space indentation and other
attrocities.
2015-12-07 00:45:08 -05:00
Thomas Hindoe Paaboel Andersen
cf0fbc49e6
tree-wide: sort includes
...
Sort the includes accoding to the new coding style.
2015-11-16 22:09:36 +01:00
Lennart Poettering
3ffd4af220
util-lib: split out fd-related operations into fd-util.[ch]
...
There are more than enough to deserve their own .c file, hence move them
over.
2015-10-25 13:19:18 +01:00
Zbigniew Jędrzejewski-Szmek
fadce6caf5
v4l_id: use standard option parsing loop
...
Not terribly important, but the loop wasn't an actual loop,
making coverity unhappy.
CID #1261725 .
2015-03-07 13:54:32 -05:00
Lennart Poettering
15f7a395c8
build-sys: add two more missing makefile links
2015-01-06 03:16:39 +01:00
Lennart Poettering
5ac0162c3a
udevadm,..: make --help output of udev tools more like the output of the various other tools
2015-01-05 13:19:55 +01:00
Robert Milasan
257e968d8c
udev: improve help/usage for some more programs
2015-01-01 14:38:21 -05:00
Karel Zak
4561be3a64
Remove duplicate includes
2013-11-18 20:28:55 -05:00
Kay Sievers
1298001ec5
use the same email address everywhere
2012-11-12 19:47:43 +01:00
Kay Sievers
20d83f2f43
udev: move all unconditionally installed rules to rules/
2012-04-14 20:10:03 +02:00
Kay Sievers
3e2147858f
move imported udev into place
2012-04-04 05:05:07 +02:00