On Fri, Nov 12, 2021 at 12:57 PM Ricardo Ribalda <ribalda@xxxxxxxxxxxx> wrote: > > Never return V4L2_COLORSPACE_DEFAULT. From the standard: > > """ > In the absence of this descriptor, or in the case of > “Unspecified” values within the descriptor, color matching > defaults will be assumed. The color matching defaults are > compliant with sRGB since the BT.709 transfer function and > the sRGB transfer function are very similar. > """ > > Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx> > --- > @James: Can you try this version? Thanks! Yeah, that looks better I think: # dmesg -c > /dev/null # v4l2-ctl --all -d /dev/video0 Driver Info: Driver name : uvcvideo Card type : SVS RGB USB camera: SVS RGB USB Bus info : usb-0000:00:14.0-2 Driver version : 5.15.0 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : SVS RGB USB camera: SVS RGB USB Serial : V20210818SWS2093 Bus info : usb-0000:00:14.0-2 Media version : 5.15.0 Hardware revision: 0x00000001 (1) Driver version : 5.15.0 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Video Capture 4 Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3' (Video Pixel Formatter): Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 640/480 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 614400 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 640, Height 480 Default : Left 0, Top 0, Width 640, Height 480 Pixel Aspect: 1/1 Selection Video Capture: crop_default, Left 0, Top 0, Width 640, Height 480, Flags: Selection Video Capture: crop_bounds, Left 0, Top 0, Width 640, Height 480, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 15.000 (15/1) Read buffers : 0 User Controls brightness 0x00980900 (int) : min=1 max=255 step=1 default=128 value=128 contrast 0x00980901 (int) : min=1 max=255 step=1 default=128 value=128 saturation 0x00980902 (int) : min=1 max=255 step=1 default=128 value=128 white_balance_automatic 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=1 max=255 step=1 default=128 value=128 gain 0x00980913 (int) : min=1 max=100 step=1 default=50 value=50 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=1 value=2 (60 Hz) 0: Disabled 1: 50 Hz 2: 60 Hz white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4650 value=4650 flags=inactive sharpness 0x0098091b (int) : min=1 max=255 step=1 default=128 value=128 Camera Controls auto_exposure 0x009a0901 (menu) : min=0 max=3 default=0 value=2 (Shutter Priority Mode) 0: Auto Mode 2: Shutter Priority Mode exposure_time_absolute 0x009a0902 (int) : min=5 max=2500 step=1 default=5 value=5 flags=inactive exposure_dynamic_framerate 0x009a0903 (bool) : default=0 value=0 # strace -f v4l2-compliance -d /dev/video0 -E execve("/usr/bin/v4l2-compliance", ["v4l2-compliance", "-d", "/dev/video0", "-E"], 0x7ffe21439b40 /* 13 vars */) = 0 brk(NULL) = 0x55c0dee1e000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v3/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v3", 0x7fff5f34ee70, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v2/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v2", 0x7fff5f34ee70, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/tls/haswell/x86_64/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib64/tls/haswell/x86_64", 0x7fff5f34ee70, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/tls/haswell/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib64/tls/haswell", 0x7fff5f34ee70, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/tls/x86_64/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib64/tls/x86_64", 0x7fff5f34ee70, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/tls/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib64/tls", 0x7fff5f34ee70, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/haswell/x86_64/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib64/haswell/x86_64", 0x7fff5f34ee70, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/haswell/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib64/haswell", 0x7fff5f34ee70, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/x86_64/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib64/x86_64", 0x7fff5f34ee70, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\370\"\0\0\0\0\0\0"..., 832) = 832 pread64(3, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\1\0\1\300\4\0\0\0\t\0\0\0\0\0\0\0"..., 48, 35072) = 48 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=55392, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbcff9a0000 mmap(NULL, 57808, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbcff991000 mmap(0x7fbcff993000, 20480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fbcff993000 mmap(0x7fbcff998000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fbcff998000 mmap(0x7fbcff99a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7fbcff99a000 close(3) = 0 openat(AT_FDCWD, "/lib64/libv4lconvert.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\250D\0\0\0\0\0\0"..., 832) = 832 pread64(3, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\1\0\1\300\4\0\0\0\t\0\0\0\0\0\0\0"..., 48, 126512) = 48 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=137440, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 476256, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbcff91c000 mprotect(0x7fbcff920000, 114688, PROT_NONE) = 0 mmap(0x7fbcff920000, 73728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7fbcff920000 mmap(0x7fbcff932000, 36864, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7fbcff932000 mmap(0x7fbcff93c000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0x7fbcff93c000 mmap(0x7fbcff93f000, 332896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbcff93f000 close(3) = 0 openat(AT_FDCWD, "/lib64/libjpeg.so.8", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@E\0\0\0\0\0\0"..., 832) = 832 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=493408, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 495648, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbcff8a2000 mmap(0x7fbcff8a6000, 237568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7fbcff8a6000 mmap(0x7fbcff8e0000, 237568, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3e000) = 0x7fbcff8e0000 mmap(0x7fbcff91a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x77000) = 0x7fbcff91a000 close(3) = 0 openat(AT_FDCWD, "/lib64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\214\n\0\0\0\0\0"..., 832) = 832 pread64(3, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\1\0\1\300\4\0\0\0\v\0\0\0\0\0\0\0"..., 48, 1457064) = 48 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=1515608, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 1531392, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbcff72c000 mmap(0x7fbcff7ce000, 524288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa2000) = 0x7fbcff7ce000 mmap(0x7fbcff84e000, 270336, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x122000) = 0x7fbcff84e000 mmap(0x7fbcff890000, 61440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x163000) = 0x7fbcff890000 mmap(0x7fbcff89f000, 11776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbcff89f000 close(3) = 0 openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\321\0\0\0\0\0\0"..., 832) = 832 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=878512, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 880680, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbcff654000 mprotect(0x7fbcff661000, 823296, PROT_NONE) = 0 mmap(0x7fbcff661000, 442368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7fbcff661000 mmap(0x7fbcff6cd000, 376832, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x79000) = 0x7fbcff6cd000 mmap(0x7fbcff72a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd5000) = 0x7fbcff72a000 close(3) = 0 openat(AT_FDCWD, "/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3702\0\0\0\0\0\0"..., 832) = 832 pread64(3, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\1\0\1\300\4\0\0\0\v\0\0\0\0\0\0\0"..., 48, 71408) = 48 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=76144, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 78856, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbcff640000 mmap(0x7fbcff643000, 49152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbcff643000 mmap(0x7fbcff64f000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7fbcff64f000 mmap(0x7fbcff652000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x7fbcff652000 close(3) = 0 openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \224\2\0\0\0\0\0"..., 832) = 832 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 pread64(3, "\4\0\0\0000\0\0\0\5\0\0\0GNU\0\2\200\0\300\4\0\0\0\3\0\0\0\0\0\0\0"..., 64, 848) = 64 pread64(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\5\0\0\0\17\0\0\0\0\0\0\0", 32, 912) = 32 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=2023720, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbcff63e000 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 mmap(NULL, 2075760, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbcff443000 mprotect(0x7fbcff46b000, 1835008, PROT_NONE) = 0 mmap(0x7fbcff46b000, 1466368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7fbcff46b000 mmap(0x7fbcff5d1000, 364544, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18e000) = 0x7fbcff5d1000 mmap(0x7fbcff62b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7fbcff62b000 mmap(0x7fbcff631000, 52336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbcff631000 close(3) = 0 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbcff440000 arch_prctl(ARCH_SET_FS, 0x7fbcff440740) = 0 set_tid_address(0x7fbcff440a10) = 521 set_robust_list(0x7fbcff440a20, 24) = 0 mprotect(0x7fbcff62b000, 16384, PROT_READ) = 0 mprotect(0x7fbcff652000, 4096, PROT_READ) = 0 mprotect(0x7fbcff72a000, 4096, PROT_READ) = 0 mprotect(0x7fbcff890000, 45056, PROT_READ) = 0 mprotect(0x7fbcff91a000, 4096, PROT_READ) = 0 mprotect(0x7fbcff93c000, 8192, PROT_READ) = 0 mprotect(0x7fbcff99a000, 4096, PROT_READ) = 0 mprotect(0x55c0ddde6000, 8192, PROT_READ) = 0 mprotect(0x7fbcff9d1000, 8192, PROT_READ) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 getrandom("\x8d\xf6\x56\xbc\x82\x5d\xe5\x46", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55c0dee1e000 brk(0x55c0dee3f000) = 0x55c0dee3f000 futex(0x7fbcff89fcbc, FUTEX_WAKE_PRIVATE, 2147483647) = 0 futex(0x7fbcff89fcc8, FUTEX_WAKE_PRIVATE, 2147483647) = 0 ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0 newfstatat(1, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}, AT_EMPTY_PATH) = 0 write(1, "v4l2-compliance 1.22.1, 64 bits,"..., 47v4l2-compliance 1.22.1, 64 bits, 64-bit time_t ) = 47 write(1, "\n", 1 ) = 1 newfstatat(AT_FDCWD, "/dev/video0", {st_mode=S_IFCHR|0660, st_rdev=makedev(0x51, 0), ...}, 0) = 0 openat(AT_FDCWD, "/sys/dev/char/81:0/uevent", O_RDONLY) = 3 read(3, "MAJOR=81\nMINOR=0\nDEVNAME=video0\n", 8191) = 32 close(3) = 0 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 3 ioctl(3, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34e55c) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 newfstatat(3, "", {st_mode=S_IFCHR|0660, st_rdev=makedev(0x51, 0), ...}, AT_EMPTY_PATH) = 0 openat(AT_FDCWD, "/sys/dev/char/81:0/device", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55c0dee30500 /* 26 entries */, 32768) = 936 openat(AT_FDCWD, "/dev/media0", O_RDWR) = 5 close(4) = 0 ioctl(5, MEDIA_IOC_DEVICE_INFO, 0x7fff5f34db58) = 0 write(1, "Compliance test for uvcvideo dev"..., 50Compliance test for uvcvideo device /dev/video0: ) = 50 write(1, "Driver Info:\n", 13Driver Info: ) = 13 write(1, "\tDriver name : uvcvideo\n", 29 Driver name : uvcvideo ) = 29 write(1, "\tCard type : SVS RGB USB "..., 52 Card type : SVS RGB USB camera: SVS RGB USB ) = 52 write(1, "\tBus info : usb-0000:00:"..., 39 Bus info : usb-0000:00:14.0-2 ) = 39 write(1, "\tDriver version : 5.15.0\n", 27 Driver version : 5.15.0 ) = 27 write(1, "\tCapabilities : 0x84a00001\n", 31 Capabilities : 0x84a00001 ) = 31 write(1, "\t\tVideo Capture\n\t\tMetadata Captu"..., 91 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities ) = 91 write(1, "\tDevice Caps : 0x04200001\n", 31 Device Caps : 0x04200001 ) = 31 write(1, "\t\tVideo Capture\n\t\tStreaming\n\t\tEx"..., 50 Video Capture Streaming Extended Pix Format ) = 50 ioctl(5, MEDIA_IOC_DEVICE_INFO, 0x7fff5f34d758) = 0 write(1, "Media Driver Info:\n", 19Media Driver Info: ) = 19 write(1, "\tDriver name : uvcvideo\n", 29 Driver name : uvcvideo ) = 29 write(1, "\tModel : SVS RGB USB "..., 52 Model : SVS RGB USB camera: SVS RGB USB ) = 52 write(1, "\tSerial : V20210818SWS"..., 37 Serial : V20210818SWS2093 ) = 37 write(1, "\tBus info : usb-0000:00:"..., 39 Bus info : usb-0000:00:14.0-2 ) = 39 write(1, "\tMedia version : 5.15.0\n", 27 Media version : 5.15.0 ) = 27 write(1, "\tHardware revision: 0x00000001 ("..., 35 Hardware revision: 0x00000001 (1) ) = 35 write(1, "\tDriver version : 5.15.0\n", 27 Driver version : 5.15.0 ) = 27 newfstatat(3, "", {st_mode=S_IFCHR|0660, st_rdev=makedev(0x51, 0), ...}, AT_EMPTY_PATH) = 0 ioctl(5, MEDIA_IOC_G_TOPOLOGY, 0x7fff5f34d638) = 0 ioctl(5, MEDIA_IOC_G_TOPOLOGY, 0x7fff5f34d638) = 0 write(1, "Interface Info:\n", 16Interface Info: ) = 16 write(1, "\tID : 0x03000002\n", 31 ID : 0x03000002 ) = 31 write(1, "\tType : V4L Video\n", 30 Type : V4L Video ) = 30 write(1, "Entity Info:\n", 13Entity Info: ) = 13 write(1, "\tID : 0x00000001 ("..., 35 ID : 0x00000001 (1) ) = 35 write(1, "\tName : Video Captur"..., 36 Name : Video Capture 4 ) = 36 write(1, "\tFunction : V4L2 I/O\n", 29 Function : V4L2 I/O ) = 29 write(1, "\tFlags : default\n", 28 Flags : default ) = 28 write(1, "\tPad 0x01000007 : 0: Sink\n", 28 Pad 0x01000007 : 0: Sink ) = 28 write(1, "\t Link 0x02000010: from remote "..., 120 Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3' (Video Pixel Formatter): Data, Enabled, Immutable ) = 120 ioctl(5, MEDIA_IOC_ENUM_ENTITIES, 0x7fff5f34e930) = 0 ioctl(5, MEDIA_IOC_ENUM_LINKS, 0x7fff5f34db58) = 0 write(1, "\n", 1 ) = 1 write(1, "Required ioctls:\n", 17Required ioctls: ) = 17 write(1, "\ttest MC information (see 'Media"..., 66 test MC information (see 'Media Driver Info' above): OK ) = 66 ioctl(3, VIDIOC_QUERYCAP, NULL) = -1 EFAULT (Bad address) ioctl(3, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 write(1, "\ttest VIDIOC_QUERYCAP: \33[32mOK\33["..., 35 test VIDIOC_QUERYCAP: OK ) = 35 ioctl(3, _IOC(_IOC_NONE, 0x56, 0xff, 0), 0) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, _IOC(_IOC_NONE, 0x56, 0, 0x3fff), 0) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, _IOC(_IOC_READ, 0x56, 0, 0x3fff), 0x7fff5f349978) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, _IOC(_IOC_WRITE, 0x56, 0, 0x3fff), 0x7fff5f349978) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x56, 0, 0x3fff), 0x7fff5f349978) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest invalid ioctls: \33[32mOK\33[0"..., 34 test invalid ioctls: OK ) = 34 write(1, "\n", 1 ) = 1 write(1, "Allow for multiple opens:\n", 26Allow for multiple opens: ) = 26 dup(3) = 4 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 6 close(4) = 0 ioctl(6, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 ioctl(6, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(6, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(6, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(6, VIDIOC_G_SELECTION, 0x7fff5f34d7ec) = -1 EINVAL (Invalid argument) write(1, "\ttest second /dev/video0 open: \33"..., 43 test second /dev/video0 open: OK ) = 43 ioctl(6, VIDIOC_QUERYCAP, NULL) = -1 EFAULT (Bad address) ioctl(6, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 write(1, "\ttest VIDIOC_QUERYCAP: \33[32mOK\33["..., 35 test VIDIOC_QUERYCAP: OK ) = 35 ioctl(3, VIDIOC_G_PRIORITY, 0x7fff5f34d974) = 0 ioctl(6, VIDIOC_G_PRIORITY, 0x7fff5f34d974) = 0 ioctl(3, VIDIOC_S_PRIORITY, 0x7fff5f34d9f0) = 0 ioctl(3, VIDIOC_G_PRIORITY, 0x7fff5f34d974) = 0 ioctl(6, VIDIOC_G_PRIORITY, 0x7fff5f34d974) = 0 ioctl(6, VIDIOC_S_PRIORITY, 0x7fff5f34d9f0) = -1 EBUSY (Device or resource busy) ioctl(3, VIDIOC_S_PRIORITY, 0x7fff5f34d9f0) = 0 ioctl(3, VIDIOC_G_PRIORITY, 0x7fff5f34d974) = 0 ioctl(6, VIDIOC_G_PRIORITY, 0x7fff5f34d974) = 0 write(1, "\ttest VIDIOC_G/S_PRIORITY: \33[32m"..., 39 test VIDIOC_G/S_PRIORITY: OK ) = 39 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 4 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 7 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 8 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 9 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 10 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 11 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 12 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 13 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 14 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 15 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 16 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 17 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 18 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 19 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 20 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 21 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 22 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 23 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 24 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 25 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 26 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 27 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 28 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 29 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 30 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 31 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 32 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 33 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 34 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 35 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 36 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 37 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 38 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 39 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 40 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 41 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 42 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 43 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 44 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 45 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 46 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 47 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 48 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 49 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 50 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 51 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 52 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 53 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 54 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 55 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 56 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 57 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 58 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 59 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 60 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 61 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 62 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 63 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 64 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 65 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 66 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 67 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 68 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 69 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 70 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 71 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 72 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 73 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 74 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 75 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 76 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 77 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 78 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 79 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 80 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 81 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 82 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 83 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 84 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 85 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 86 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 87 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 88 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 89 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 90 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 91 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 92 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 93 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 94 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 95 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 96 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 97 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 98 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 99 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 100 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 101 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 102 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 103 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 104 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 105 close(105) = 0 close(104) = 0 close(103) = 0 close(102) = 0 close(101) = 0 close(100) = 0 close(99) = 0 close(98) = 0 close(97) = 0 close(96) = 0 close(95) = 0 close(94) = 0 close(93) = 0 close(92) = 0 close(91) = 0 close(90) = 0 close(89) = 0 close(88) = 0 close(87) = 0 close(86) = 0 close(85) = 0 close(84) = 0 close(83) = 0 close(82) = 0 close(81) = 0 close(80) = 0 close(79) = 0 close(78) = 0 close(77) = 0 close(76) = 0 close(75) = 0 close(74) = 0 close(73) = 0 close(72) = 0 close(71) = 0 close(70) = 0 close(69) = 0 close(68) = 0 close(67) = 0 close(66) = 0 close(65) = 0 close(64) = 0 close(63) = 0 close(62) = 0 close(61) = 0 close(60) = 0 close(59) = 0 close(58) = 0 close(57) = 0 close(56) = 0 close(55) = 0 close(54) = 0 close(53) = 0 close(52) = 0 close(51) = 0 close(50) = 0 close(49) = 0 close(48) = 0 close(47) = 0 close(46) = 0 close(45) = 0 close(44) = 0 close(43) = 0 close(42) = 0 close(41) = 0 close(40) = 0 close(39) = 0 close(38) = 0 close(37) = 0 close(36) = 0 close(35) = 0 close(34) = 0 close(33) = 0 close(32) = 0 close(31) = 0 close(30) = 0 close(29) = 0 close(28) = 0 close(27) = 0 close(26) = 0 close(25) = 0 close(24) = 0 close(23) = 0 close(22) = 0 close(21) = 0 close(20) = 0 close(19) = 0 close(18) = 0 close(17) = 0 close(16) = 0 close(15) = 0 close(14) = 0 close(13) = 0 close(12) = 0 close(11) = 0 close(10) = 0 close(9) = 0 close(8) = 0 close(7) = 0 close(4) = 0 write(1, "\ttest for unlimited opens: \33[32m"..., 39 test for unlimited opens: OK ) = 39 write(1, "\n", 1 ) = 1 ioctl(3, VIDIOC_G_INPUT, [0]) = 0 ioctl(3, VIDIOC_ENUMINPUT, {index=0, name="Camera 1", type=V4L2_INPUT_TYPE_CAMERA}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34da6c) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34da6c) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/15, extendedmode=0, readbuffers=0}}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CTRL_CLASS_USER+0x1 => V4L2_CID_BRIGHTNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Brightness", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_BRIGHTNESS => V4L2_CID_CONTRAST, type=V4L2_CTRL_TYPE_INTEGER, name="Contrast", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_CONTRAST => V4L2_CID_SATURATION, type=V4L2_CTRL_TYPE_INTEGER, name="Saturation", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_SATURATION => V4L2_CID_AUTO_WHITE_BALANCE, type=V4L2_CTRL_TYPE_BOOLEAN, name="White Balance, Automatic", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_AUTO_WHITE_BALANCE => V4L2_CID_GAMMA, type=V4L2_CTRL_TYPE_INTEGER, name="Gamma", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_GAMMA => V4L2_CID_GAIN, type=V4L2_CTRL_TYPE_INTEGER, name="Gain", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_GAIN => V4L2_CID_POWER_LINE_FREQUENCY, type=V4L2_CTRL_TYPE_MENU, name="Power Line Frequency", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_POWER_LINE_FREQUENCY => V4L2_CID_WHITE_BALANCE_TEMPERATURE, type=V4L2_CTRL_TYPE_INTEGER, name="White Balance Temperature", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_WHITE_BALANCE_TEMPERATURE => V4L2_CID_SHARPNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Sharpness", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_SHARPNESS => V4L2_CTRL_CLASS_CAMERA+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="Camera Controls", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CTRL_CLASS_CAMERA+0x1 => V4L2_CID_EXPOSURE_AUTO, type=V4L2_CTRL_TYPE_MENU, name="Auto Exposure", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_EXPOSURE_AUTO => V4L2_CID_EXPOSURE_ABSOLUTE, type=V4L2_CTRL_TYPE_INTEGER, name="Exposure Time, Absolute", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_EXPOSURE_ABSOLUTE => V4L2_CID_EXPOSURE_AUTO_PRIORITY, type=V4L2_CTRL_TYPE_BOOLEAN, name="Exposure, Dynamic Framerate", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_EXPOSURE_AUTO_PRIORITY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=128}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=128}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=128}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=1}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=128}, {id=V4L2_CID_GAIN, size=0, value=50, value64=50}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=2}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=4650}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=128}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=2}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=5}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=0}]}) = 0 rt_sigaction(SIGINT, {sa_handler=0x55c0ddd8ebf6, sa_mask=[INT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbcff480420}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 write(1, "Debug ioctls:\n", 14Debug ioctls: ) = 14 getuid() = 0 ioctl(3, VIDIOC_DBG_G_REGISTER, 0x7fff5f34d868) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_DBG_G/S_REGISTER: \33"..., 59 test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported) ) = 59 ioctl(3, VIDIOC_LOG_STATUS, 0) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_LOG_STATUS: \33[32mOK"..., 53 test VIDIOC_LOG_STATUS: OK (Not Supported) ) = 53 write(1, "\n", 1 ) = 1 write(1, "Input ioctls:\n", 14Input ioctls: ) = 14 ioctl(3, VIDIOC_G_STD, 0x7fff5f34d8a0) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_G_TUNER, {index=0}) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G/S_TUNER/ENUM_FREQ"..., 68 test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported) ) = 68 ioctl(3, VIDIOC_G_FREQUENCY, 0x7fff5f34d898) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_FREQUENCY, 0x7fff5f34d898) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G/S_FREQUENCY: \33[32"..., 56 test VIDIOC_G/S_FREQUENCY: OK (Not Supported) ) = 56 ioctl(3, VIDIOC_S_HW_FREQ_SEEK, 0x7fff5f34d8e4) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_S_HW_FREQ_SEEK: \33[3"..., 57 test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported) ) = 57 ioctl(3, VIDIOC_ENUMAUDIO, 0x7fff5f34d944) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_ENUMAUDIO: \33[32mOK\33"..., 52 test VIDIOC_ENUMAUDIO: OK (Not Supported) ) = 52 ioctl(3, VIDIOC_G_INPUT, [0]) = 0 ioctl(3, VIDIOC_ENUMINPUT, {index=0, name="Camera 1", type=V4L2_INPUT_TYPE_CAMERA}) = 0 ioctl(3, VIDIOC_S_INPUT, [0]) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d8c8) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUMINPUT, {index=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_INPUT, [1]) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_INPUT, [0]) = 0 write(1, "\ttest VIDIOC_G/S/ENUMINPUT: \33[32"..., 40 test VIDIOC_G/S/ENUMINPUT: OK ) = 40 ioctl(3, VIDIOC_S_INPUT, [0]) = 0 ioctl(3, VIDIOC_ENUMINPUT, {index=0, name="Camera 1", type=V4L2_INPUT_TYPE_CAMERA}) = 0 ioctl(3, VIDIOC_G_AUDIO, 0x7fff5f34d8d4) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_AUDIO, 0x7fff5f34d8d4) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G/S_AUDIO: \33[32mOK\33"..., 52 test VIDIOC_G/S_AUDIO: OK (Not Supported) ) = 52 write(1, "\tInputs: 1 Audio Inputs: 0 Tuner"..., 37 Inputs: 1 Audio Inputs: 0 Tuners: 0 ) = 37 write(1, "\n", 1 ) = 1 write(1, "Output ioctls:\n", 15Output ioctls: ) = 15 ioctl(3, VIDIOC_G_MODULATOR, 0x7fff5f34d914) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G/S_MODULATOR: \33[32"..., 56 test VIDIOC_G/S_MODULATOR: OK (Not Supported) ) = 56 ioctl(3, VIDIOC_G_FREQUENCY, 0x7fff5f34d8f8) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_FREQUENCY, 0x7fff5f34d8f8) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G/S_FREQUENCY: \33[32"..., 56 test VIDIOC_G/S_FREQUENCY: OK (Not Supported) ) = 56 ioctl(3, VIDIOC_ENUMAUDOUT, 0x7fff5f34d944) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_ENUMAUDOUT: \33[32mOK"..., 53 test VIDIOC_ENUMAUDOUT: OK (Not Supported) ) = 53 ioctl(3, VIDIOC_G_OUTPUT, 0x7fff5f34d8c8) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_ENUMOUTPUT, 0x7fff5f34d910) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_OUTPUT, 0x7fff5f34d8cc) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G/S/ENUMOUTPUT: \33[3"..., 57 test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported) ) = 57 write(1, "\ttest VIDIOC_G/S_AUDOUT: \33[32mOK"..., 53 test VIDIOC_G/S_AUDOUT: OK (Not Supported) ) = 53 write(1, "\tOutputs: 0 Audio Outputs: 0 Mod"..., 43 Outputs: 0 Audio Outputs: 0 Modulators: 0 ) = 43 write(1, "\n", 1 ) = 1 write(1, "Input/Output configuration ioctl"..., 35Input/Output configuration ioctls: ) = 35 ioctl(3, VIDIOC_ENUMINPUT, {index=0, name="Camera 1", type=V4L2_INPUT_TYPE_CAMERA}) = 0 ioctl(3, VIDIOC_S_INPUT, [0]) = 0 ioctl(3, VIDIOC_G_STD, 0x7fff5f34d828) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_STD, [0]) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_STD, [0x3000000]) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_ENUMSTD, {index=0}) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_QUERYSTD, 0x7fff5f34d828) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_ENUM/G/S/QUERY_STD:"..., 61 test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported) ) = 61 ioctl(3, VIDIOC_ENUMINPUT, {index=0, name="Camera 1", type=V4L2_INPUT_TYPE_CAMERA}) = 0 ioctl(3, VIDIOC_S_INPUT, [0]) = 0 ioctl(3, VIDIOC_G_DV_TIMINGS, 0x7fff5f34d3dc) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_ENUM_DV_TIMINGS, 0x7fff5f34d4e4) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_QUERY_DV_TIMINGS, 0x7fff5f34d3dc) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_ENUM/G/S/QUERY_DV_T"..., 68 test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported) ) = 68 ioctl(3, VIDIOC_ENUMINPUT, {index=0, name="Camera 1", type=V4L2_INPUT_TYPE_CAMERA}) = 0 ioctl(3, VIDIOC_S_INPUT, [0]) = 0 ioctl(3, VIDIOC_DV_TIMINGS_CAP, 0x7fff5f34d7f8) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_DV_TIMINGS_CAP: \33[3"..., 57 test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported) ) = 57 ioctl(3, VIDIOC_ENUMINPUT, {index=0, name="Camera 1", type=V4L2_INPUT_TYPE_CAMERA}) = 0 ioctl(3, VIDIOC_S_INPUT, [0]) = 0 ioctl(3, VIDIOC_G_EDID, 0x7fff5f345850) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_EDID, 0x7fff5f345850) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G/S_EDID: \33[32mOK\33["..., 51 test VIDIOC_G/S_EDID: OK (Not Supported) ) = 51 write(1, "\n", 1 ) = 1 ioctl(3, VIDIOC_S_INPUT, [0]) = 0 ioctl(3, VIDIOC_ENUMINPUT, {index=0, name="Camera 1", type=V4L2_INPUT_TYPE_CAMERA}) = 0 write(1, "Control ioctls (Input 0):\n", 26Control ioctls (Input 0): ) = 26 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CTRL_CLASS_USER+0x1 => V4L2_CID_BRIGHTNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Brightness", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_BRIGHTNESS => V4L2_CID_CONTRAST, type=V4L2_CTRL_TYPE_INTEGER, name="Contrast", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_CONTRAST => V4L2_CID_SATURATION, type=V4L2_CTRL_TYPE_INTEGER, name="Saturation", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_SATURATION => V4L2_CID_AUTO_WHITE_BALANCE, type=V4L2_CTRL_TYPE_BOOLEAN, name="White Balance, Automatic", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_AUTO_WHITE_BALANCE => V4L2_CID_GAMMA, type=V4L2_CTRL_TYPE_INTEGER, name="Gamma", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_GAMMA => V4L2_CID_GAIN, type=V4L2_CTRL_TYPE_INTEGER, name="Gain", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_GAIN => V4L2_CID_POWER_LINE_FREQUENCY, type=V4L2_CTRL_TYPE_MENU, name="Power Line Frequency", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_POWER_LINE_FREQUENCY => V4L2_CID_WHITE_BALANCE_TEMPERATURE, type=V4L2_CTRL_TYPE_INTEGER, name="White Balance Temperature", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_WHITE_BALANCE_TEMPERATURE => V4L2_CID_SHARPNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Sharpness", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_SHARPNESS => V4L2_CTRL_CLASS_CAMERA+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="Camera Controls", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CTRL_CLASS_CAMERA+0x1 => V4L2_CID_EXPOSURE_AUTO, type=V4L2_CTRL_TYPE_MENU, name="Auto Exposure", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_EXPOSURE_AUTO => V4L2_CID_EXPOSURE_ABSOLUTE, type=V4L2_CTRL_TYPE_INTEGER, name="Exposure Time, Absolute", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_EXPOSURE_ABSOLUTE => V4L2_CID_EXPOSURE_AUTO_PRIORITY, type=V4L2_CTRL_TYPE_BOOLEAN, name="Exposure, Dynamic Framerate", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|V4L2_CID_EXPOSURE_AUTO_PRIORITY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_CLASS_USER+0x1 => V4L2_CID_BRIGHTNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Brightness", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_BRIGHTNESS => V4L2_CID_CONTRAST, type=V4L2_CTRL_TYPE_INTEGER, name="Contrast", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_CONTRAST => V4L2_CID_SATURATION, type=V4L2_CTRL_TYPE_INTEGER, name="Saturation", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_SATURATION => V4L2_CID_AUTO_WHITE_BALANCE, type=V4L2_CTRL_TYPE_BOOLEAN, name="White Balance, Automatic", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_AUTO_WHITE_BALANCE => V4L2_CID_GAMMA, type=V4L2_CTRL_TYPE_INTEGER, name="Gamma", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_GAMMA => V4L2_CID_GAIN, type=V4L2_CTRL_TYPE_INTEGER, name="Gain", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_GAIN => V4L2_CID_POWER_LINE_FREQUENCY, type=V4L2_CTRL_TYPE_MENU, name="Power Line Frequency", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_POWER_LINE_FREQUENCY => V4L2_CID_WHITE_BALANCE_TEMPERATURE, type=V4L2_CTRL_TYPE_INTEGER, name="White Balance Temperature", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_WHITE_BALANCE_TEMPERATURE => V4L2_CID_SHARPNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Sharpness", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_SHARPNESS => V4L2_CTRL_CLASS_CAMERA+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="Camera Controls", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_CLASS_CAMERA+0x1 => V4L2_CID_EXPOSURE_AUTO, type=V4L2_CTRL_TYPE_MENU, name="Auto Exposure", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_EXPOSURE_AUTO => V4L2_CID_EXPOSURE_ABSOLUTE, type=V4L2_CTRL_TYPE_INTEGER, name="Exposure Time, Absolute", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_EXPOSURE_ABSOLUTE => V4L2_CID_EXPOSURE_AUTO_PRIORITY, type=V4L2_CTRL_TYPE_BOOLEAN, name="Exposure, Dynamic Framerate", ...}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_EXPOSURE_AUTO_PRIORITY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_BRIGHTNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Brightness", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_CONTRAST, type=V4L2_CTRL_TYPE_INTEGER, name="Contrast", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_SATURATION, type=V4L2_CTRL_TYPE_INTEGER, name="Saturation", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_HUE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_CLASS_USER+0x904}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_AUDIO_VOLUME}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_AUDIO_BALANCE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_AUDIO_BASS}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_AUDIO_TREBLE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_AUDIO_MUTE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_AUDIO_LOUDNESS}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_BLACK_LEVEL}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_AUTO_WHITE_BALANCE, type=V4L2_CTRL_TYPE_BOOLEAN, name="White Balance, Automatic", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_DO_WHITE_BALANCE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_RED_BALANCE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_BLUE_BALANCE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_GAMMA, type=V4L2_CTRL_TYPE_INTEGER, name="Gamma", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_EXPOSURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_AUTOGAIN}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_GAIN, type=V4L2_CTRL_TYPE_INTEGER, name="Gain", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_HFLIP}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_VFLIP}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_HCENTER}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_VCENTER}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_POWER_LINE_FREQUENCY, type=V4L2_CTRL_TYPE_MENU, name="Power Line Frequency", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_HUE_AUTO}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, type=V4L2_CTRL_TYPE_INTEGER, name="White Balance Temperature", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_SHARPNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Sharpness", ...}) = 0 ioctl(3, VIDIOC_QUERYMENU, 0x7fff5f34d7cc) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_BACKLIGHT_COMPENSATION}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_CHROMA_AGC}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_COLOR_KILLER}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_COLORFX}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_AUTOBRIGHTNESS}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_BAND_STOP_FILTER}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_ROTATE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_BG_COLOR}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_CHROMA_GAIN}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_ILLUMINATORS_1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_ILLUMINATORS_2}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_MIN_BUFFERS_FOR_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_MIN_BUFFERS_FOR_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_ALPHA_COMPONENT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CID_COLORFX_CBCR}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=0x8000000 /* V4L2_CID_??? */}) = -1 EINVAL (Invalid argument) write(1, "\ttest VIDIOC_QUERY_EXT_CTRL/QUER"..., 51 test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK ) = 51 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_CLASS_USER+0x1 => V4L2_CID_BRIGHTNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Brightness", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_BRIGHTNESS => V4L2_CID_CONTRAST, type=V4L2_CTRL_TYPE_INTEGER, name="Contrast", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_CONTRAST => V4L2_CID_SATURATION, type=V4L2_CTRL_TYPE_INTEGER, name="Saturation", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_SATURATION => V4L2_CID_AUTO_WHITE_BALANCE, type=V4L2_CTRL_TYPE_BOOLEAN, name="White Balance, Automatic", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_AUTO_WHITE_BALANCE => V4L2_CID_GAMMA, type=V4L2_CTRL_TYPE_INTEGER, name="Gamma", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_GAMMA => V4L2_CID_GAIN, type=V4L2_CTRL_TYPE_INTEGER, name="Gain", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_GAIN => V4L2_CID_POWER_LINE_FREQUENCY, type=V4L2_CTRL_TYPE_MENU, name="Power Line Frequency", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_POWER_LINE_FREQUENCY => V4L2_CID_WHITE_BALANCE_TEMPERATURE, type=V4L2_CTRL_TYPE_INTEGER, name="White Balance Temperature", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_WHITE_BALANCE_TEMPERATURE => V4L2_CID_SHARPNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Sharpness", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_SHARPNESS => V4L2_CTRL_CLASS_CAMERA+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="Camera Controls", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_CLASS_CAMERA+0x1 => V4L2_CID_EXPOSURE_AUTO, type=V4L2_CTRL_TYPE_MENU, name="Auto Exposure", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_EXPOSURE_AUTO => V4L2_CID_EXPOSURE_ABSOLUTE, type=V4L2_CTRL_TYPE_INTEGER, name="Exposure Time, Absolute", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_EXPOSURE_ABSOLUTE => V4L2_CID_EXPOSURE_AUTO_PRIORITY, type=V4L2_CTRL_TYPE_BOOLEAN, name="Exposure, Dynamic Framerate", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CID_EXPOSURE_AUTO_PRIORITY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_BRIGHTNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Brightness", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_CONTRAST, type=V4L2_CTRL_TYPE_INTEGER, name="Contrast", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_SATURATION, type=V4L2_CTRL_TYPE_INTEGER, name="Saturation", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_HUE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_CLASS_USER+0x904}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_AUDIO_VOLUME}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_AUDIO_BALANCE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_AUDIO_BASS}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_AUDIO_TREBLE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_AUDIO_MUTE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_AUDIO_LOUDNESS}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_BLACK_LEVEL}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_AUTO_WHITE_BALANCE, type=V4L2_CTRL_TYPE_BOOLEAN, name="White Balance, Automatic", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_DO_WHITE_BALANCE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_RED_BALANCE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_BLUE_BALANCE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_GAMMA, type=V4L2_CTRL_TYPE_INTEGER, name="Gamma", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_EXPOSURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_AUTOGAIN}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_GAIN, type=V4L2_CTRL_TYPE_INTEGER, name="Gain", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_HFLIP}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_VFLIP}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_HCENTER}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_VCENTER}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_POWER_LINE_FREQUENCY, type=V4L2_CTRL_TYPE_MENU, name="Power Line Frequency", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_HUE_AUTO}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, type=V4L2_CTRL_TYPE_INTEGER, name="White Balance Temperature", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_SHARPNESS, type=V4L2_CTRL_TYPE_INTEGER, name="Sharpness", ...}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_BACKLIGHT_COMPENSATION}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_CHROMA_AGC}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_COLOR_KILLER}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_COLORFX}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_AUTOBRIGHTNESS}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_BAND_STOP_FILTER}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_ROTATE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_BG_COLOR}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_CHROMA_GAIN}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_ILLUMINATORS_1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_ILLUMINATORS_2}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_MIN_BUFFERS_FOR_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_MIN_BUFFERS_FOR_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_ALPHA_COMPONENT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CID_COLORFX_CBCR}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYCTRL, {id=0x8000000 /* V4L2_CID_??? */}) = -1 EINVAL (Invalid argument) write(1, "\ttest VIDIOC_QUERYCTRL: \33[32mOK\33"..., 36 test VIDIOC_QUERYCTRL: OK ) = 36 ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CTRL_CLASS_USER+0x1}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CTRL_CLASS_USER+0x1, value=0}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_BRIGHTNESS, value=128}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_BRIGHTNESS, value=128 => 128}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_BRIGHTNESS, value=0 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_BRIGHTNESS, value=256 => 255}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_BRIGHTNESS, value=1 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_BRIGHTNESS, value=255 => 255}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_BRIGHTNESS, value=128 => 128}) = 0 ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_CONTRAST, value=128}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_CONTRAST, value=128 => 128}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_CONTRAST, value=0 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_CONTRAST, value=256 => 255}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_CONTRAST, value=1 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_CONTRAST, value=255 => 255}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_CONTRAST, value=128 => 128}) = 0 ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_SATURATION, value=128}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SATURATION, value=128 => 128}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SATURATION, value=0 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SATURATION, value=256 => 255}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SATURATION, value=1 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SATURATION, value=255 => 255}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SATURATION, value=128 => 128}) = 0 ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_AUTO_WHITE_BALANCE, value=1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_AUTO_WHITE_BALANCE, value=1 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_AUTO_WHITE_BALANCE, value=-1 => 0}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_AUTO_WHITE_BALANCE, value=2 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_AUTO_WHITE_BALANCE, value=0 => 0}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_AUTO_WHITE_BALANCE, value=1 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_AUTO_WHITE_BALANCE, value=1 => 1}) = 0 ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_GAMMA, value=128}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAMMA, value=128 => 128}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAMMA, value=0 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAMMA, value=256 => 255}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAMMA, value=1 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAMMA, value=255 => 255}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAMMA, value=128 => 128}) = 0 ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_GAIN, value=50}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAIN, value=50 => 50}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAIN, value=0 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAIN, value=101 => 100}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAIN, value=1 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAIN, value=100 => 100}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_GAIN, value=50 => 50}) = 0 ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_POWER_LINE_FREQUENCY, value=2}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_POWER_LINE_FREQUENCY, value=2 => 2}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_POWER_LINE_FREQUENCY, value=-1}) = -1 ERANGE (Numerical result out of range) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_POWER_LINE_FREQUENCY, value=3}) = -1 ERANGE (Numerical result out of range) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_POWER_LINE_FREQUENCY, value=0 => 0}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_POWER_LINE_FREQUENCY, value=1 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_POWER_LINE_FREQUENCY, value=2 => 2}) = 0 ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, value=4650}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, value=4650}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, value=2799}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, value=6501}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, value=2800}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, value=6500}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, value=4650}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_SHARPNESS, value=128}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SHARPNESS, value=128 => 128}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SHARPNESS, value=0 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SHARPNESS, value=256 => 255}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SHARPNESS, value=1 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SHARPNESS, value=255 => 255}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_SHARPNESS, value=128 => 128}) = 0 ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CTRL_CLASS_CAMERA+0x1}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CTRL_CLASS_CAMERA+0x1, value=0}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_EXPOSURE_AUTO, value=2}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO, value=2 => 2}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO, value=-1}) = -1 ERANGE (Numerical result out of range) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO, value=4}) = -1 ERANGE (Numerical result out of range) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO, value=0 => 0}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO, value=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO, value=2 => 2}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO, value=3}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_EXPOSURE_ABSOLUTE, value=5}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_ABSOLUTE, value=5}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_ABSOLUTE, value=4}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_ABSOLUTE, value=2501}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_ABSOLUTE, value=5}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_ABSOLUTE, value=2500}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_ABSOLUTE, value=5}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_G_CTRL, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, value=0}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, value=0 => 0}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, value=-1 => 0}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, value=2 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, value=0 => 0}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, value=1 => 1}) = 0 ioctl(3, VIDIOC_S_CTRL, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, value=0 => 0}) = 0 ioctl(3, VIDIOC_G_CTRL, {id=0 /* V4L2_CID_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_CTRL, {id=0 /* V4L2_CID_??? */, value=0}) = -1 EINVAL (Invalid argument) write(1, "\ttest VIDIOC_G/S_CTRL: \33[32mOK\33["..., 35 test VIDIOC_G/S_CTRL: OK ) = 35 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=0x980001 /* V4L2_CID_??? */, size=0, value=0, value64=0}], error_idx=1}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=0x980001 /* V4L2_CID_??? */, size=0, value=0, value64=0}]} => {controls=[{id=0x980001 /* V4L2_CID_??? */, size=0, value=0, value64=0}], error_idx=0}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=0x980001 /* V4L2_CID_??? */, size=0, value=0, value64=0}]} => {controls=[{id=0x980001 /* V4L2_CID_??? */, size=0, value=0, value64=0}], error_idx=1}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=128}]} => {controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=128}]} => {controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_CONTRAST, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_CONTRAST, size=0, value=128, value64=128}]} => {controls=[{id=V4L2_CID_CONTRAST, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_CONTRAST, size=0, value=128, value64=128}]} => {controls=[{id=V4L2_CID_CONTRAST, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_SATURATION, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_SATURATION, size=0, value=128, value64=128}]} => {controls=[{id=V4L2_CID_SATURATION, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_SATURATION, size=0, value=128, value64=128}]} => {controls=[{id=V4L2_CID_SATURATION, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=1}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=1}]} => {controls=[{id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=1}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=1}]} => {controls=[{id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=1}]}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_GAMMA, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_GAMMA, size=0, value=128, value64=128}]} => {controls=[{id=V4L2_CID_GAMMA, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_GAMMA, size=0, value=128, value64=128}]} => {controls=[{id=V4L2_CID_GAMMA, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_GAIN, size=0, value=50, value64=50}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_GAIN, size=0, value=50, value64=50}]} => {controls=[{id=V4L2_CID_GAIN, size=0, value=50, value64=50}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_GAIN, size=0, value=50, value64=50}]} => {controls=[{id=V4L2_CID_GAIN, size=0, value=50, value64=50}]}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=2}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=2}]} => {controls=[{id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=2}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=2}]} => {controls=[{id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=2}]}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=4650}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=4650}]} => {controls=[{id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=4650}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=1, controls=[{id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=4650}]} => {controls=[{id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=4650}], error_idx=1}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_SHARPNESS, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_SHARPNESS, size=0, value=128, value64=128}]} => {controls=[{id=V4L2_CID_SHARPNESS, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_SHARPNESS, size=0, value=128, value64=128}]} => {controls=[{id=V4L2_CID_SHARPNESS, size=0, value=128, value64=128}]}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=0x9a0001 /* V4L2_CID_??? */, size=0, value=0, value64=0}], error_idx=1}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=0x9a0001 /* V4L2_CID_??? */, size=0, value=0, value64=0}]} => {controls=[{id=0x9a0001 /* V4L2_CID_??? */, size=0, value=0, value64=0}], error_idx=0}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=0x9a0001 /* V4L2_CID_??? */, size=0, value=0, value64=0}]} => {controls=[{id=0x9a0001 /* V4L2_CID_??? */, size=0, value=0, value64=0}], error_idx=1}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=2}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=2}]} => {controls=[{id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=2}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=2}]} => {controls=[{id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=2}]}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_CAMERA, count=1, controls=[{id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=5}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_CAMERA, count=1, controls=[{id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=5}]} => {controls=[{id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=5}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_CAMERA, count=1, controls=[{id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=5}]} => {controls=[{id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=5}], error_idx=1}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=0}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=0}]} => {controls=[{id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=0}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=0}]} => {controls=[{id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=0}]}) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=0 /* V4L2_CID_??? */, size=0, value=0, value64=0}], error_idx=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=0 /* V4L2_CID_??? */, size=0, value=0, value64=0}]} => {controls=[{id=0 /* V4L2_CID_??? */, size=0, value=0, value64=0}], error_idx=0}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=1, controls=[{id=0 /* V4L2_CID_??? */, size=0, value=0, value64=0}]} => {controls=[{id=0 /* V4L2_CID_??? */, size=0, value=0, value64=0}], error_idx=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}]}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}]} => {controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}]}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}]} => {controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}], error_idx=12}) = -1 EACCES (Permission denied) ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}], error_idx=12}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}]} => {controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}], error_idx=9}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=V4L2_CTRL_CLASS_USER, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}]} => {controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}], error_idx=12}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0xf000000 /* V4L2_CTRL_CLASS_??? */, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}]} => {controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}], error_idx=12}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0xf000000 /* V4L2_CTRL_CLASS_??? */, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}]} => {controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=12884901890}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=12884901890}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}], error_idx=12}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0xf000000 /* V4L2_CTRL_CLASS_??? */, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=12884902016}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=12884902016}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=12884901889}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=12884902016}, {id=V4L2_CID_GAIN, size=0, value=50, value64=12884901938}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=1, value64=12884901889}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=12884906538}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=12884902016}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=0, value64=12884901888}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=12884901893}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=12884901888}]}) = 0 write(1, "\ttest VIDIOC_G/S/TRY_EXT_CTRLS: "..., 44 test VIDIOC_G/S/TRY_EXT_CTRLS: OK ) = 44 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 0 (Timeout) ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97415}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=96845}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97391}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97531}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97564}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97621}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97585}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97795}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97689}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 0 (Timeout) ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97918}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97810}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 pselect6(4, NULL, NULL, [3], {tv_sec=0, tv_nsec=100000}, NULL) = 1 (except [3], left {tv_sec=0, tv_nsec=97958}) ioctl(3, VIDIOC_DQEVENT, 0x7fff5f34d8d0) = 0 ioctl(3, VIDIOC_UNSUBSCRIBE_EVENT, 0x7fff5f34d7f0) = 0 ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d830) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_SUBSCRIBE_EVENT, 0x7fff5f34d830) = -1 EINVAL (Invalid argument) write(1, "\ttest VIDIOC_(UN)SUBSCRIBE_EVENT"..., 54 test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK ) = 54 ioctl(3, VIDIOC_G_JPEGCOMP, 0x7fff5f34d8ec) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_JPEGCOMP, 0x7fff5f34d8ec) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G/S_JPEGCOMP: \33[32m"..., 55 test VIDIOC_G/S_JPEGCOMP: OK (Not Supported) ) = 55 write(1, "\tStandard Controls: 14 Private C"..., 43 Standard Controls: 14 Private Controls: 0 ) = 43 write(1, "\n", 1 ) = 1 write(1, "Format ioctls (Input 0):\n", 25Format ioctls (Input 0): ) = 25 ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=0 /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_VIDEO_CAPTURE, flags=V4L2_FMT_FLAG_COMPRESSED, description="Motion-JPEG", pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */}) = 0 ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=640, height=480}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=5, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=6, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=7, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=8, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=641, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1920, height=1080}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1920, height=1080}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1921, height=1080}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1280, height=1024}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=1024}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1281, height=1024}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1280, height=800}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=800}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1281, height=800}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1280, height=720}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1280, height=720}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1281, height=720}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=5, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1024, height=768}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1024, height=768}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=1025, height=768}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=6, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=800, height=600}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=800, height=600}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=801, height=600}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=7, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=800, height=500}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=800, height=500}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=801, height=500}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=8, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=640, height=400}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=400}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=641, height=400}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=9, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=640, height=480}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=5, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=6, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=7, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=8, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=640, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, width=641, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=10, pixel_format=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=1, type=V4L2_BUF_TYPE_VIDEO_CAPTURE, flags=V4L2_FMT_FLAG_COMPRESSED, description="H.264", pixelformat=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */}) = 0 ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=640, height=480}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=5, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=6, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=7, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=8, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=641, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1920, height=1080}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1920, height=1080}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1921, height=1080}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1280, height=1024}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=1024}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1281, height=1024}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1280, height=800}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=800}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1281, height=800}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1280, height=720}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1280, height=720}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1281, height=720}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=5, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1024, height=768}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1024, height=768}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=1025, height=768}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=6, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=800, height=600}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=800, height=600}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=801, height=600}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=7, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=800, height=500}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=800, height=500}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=801, height=500}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=8, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=640, height=400}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=400}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=641, height=400}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=9, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=640, height=480}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=5, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=6, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=7, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=8, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=640, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, width=641, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=10, pixel_format=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=2, type=V4L2_BUF_TYPE_VIDEO_CAPTURE, flags=0, description="YUYV 4:2:2", pixelformat=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */}) = 0 ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=640, height=480}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=5, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=6, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=7, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=8, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=641, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1920, height=1080}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1920, height=1080, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1920, height=1080}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1921, height=1080}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1280, height=1024}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=1024, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=1024}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1281, height=1024}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1280, height=800}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=800, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=800}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1281, height=800}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1280, height=720}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=720, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1280, height=720}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1281, height=720}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=5, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=1024, height=768}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1024, height=768, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1024, height=768}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=1025, height=768}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=6, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=800, height=600}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=800, height=600, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=800, height=600}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=801, height=600}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=7, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=800, height=500}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=800, height=500, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=800, height=500}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=801, height=500}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=8, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=640, height=400}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=400, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=400}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=641, height=400}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=9, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, type=V4L2_FRMSIZE_TYPE_DISCRETE, discrete={width=640, height=480}}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=1, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=2, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=3, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=4, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/30}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=5, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/25}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=6, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/20}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=7, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480, type=V4L2_FRMIVAL_TYPE_DISCRETE, discrete=1/15}) = 0 ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=8, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=640, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */, width=641, height=480}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=10, pixel_format=v4l2_fourcc('Y', 'U', 'Y', 'V') /* V4L2_PIX_FMT_YUYV */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=3, type=V4L2_BUF_TYPE_VIDEO_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_VIDEO_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_VIDEO_OVERLAY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_VBI_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_VBI_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_SLICED_VBI_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_SLICED_VBI_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_SDR_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_SDR_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_META_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_META_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=0x80 /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMESIZES, {index=0, pixel_format=v4l2_fourcc(' ', ' ', ' ', ' ')}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FRAMEINTERVALS, {index=0, pixel_format=v4l2_fourcc(' ', ' ', ' ', ' '), width=640, height=480}) = -1 EINVAL (Invalid argument) write(1, "\ttest VIDIOC_ENUM_FMT/FRAMESIZES"..., 61 test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK ) = 61 ioctl(3, VIDIOC_G_PARM, {type=0 /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=0 /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/15, extendedmode=0, readbuffers=0}}) = 0 ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=0, capturemode=0, timeperframe=0/0, extendedmode=0, readbuffers=0}} => {parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/15, extendedmode=0, readbuffers=0}}) = 0 ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=0/1, extendedmode=0, readbuffers=0}} => {parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/30, extendedmode=0, readbuffers=0}}) = 0 ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/0, extendedmode=0, readbuffers=0}} => {parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/15, extendedmode=0, readbuffers=0}}) = 0 ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VIDEO_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VIDEO_OVERLAY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_VIDEO_OVERLAY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VBI_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_VBI_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VBI_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_VBI_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_SLICED_VBI_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_SLICED_VBI_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_SLICED_VBI_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_SLICED_VBI_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_SDR_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_SDR_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_SDR_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_SDR_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_META_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_META_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_META_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_META_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_PARM, {type=0x80 /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_PARM, {type=0x80 /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) write(1, "\ttest VIDIOC_G/S_PARM: \33[32mOK\33["..., 35 test VIDIOC_G/S_PARM: OK ) = 35 ioctl(3, VIDIOC_G_FBUF, 0x7fff5f34d958) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G_FBUF: \33[32mOK\33[0m"..., 49 test VIDIOC_G_FBUF: OK (Not Supported) ) = 49 ioctl(3, VIDIOC_G_FMT, {type=0 /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_OVERLAY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VBI_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VBI_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_SLICED_VBI_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_SLICED_VBI_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_SDR_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_SDR_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_META_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_META_OUTPUT}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=0x80 /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) write(1, "\ttest VIDIOC_G_FMT: \33[32mOK\33[0m\n", 32 test VIDIOC_G_FMT: OK ) = 32 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_TRY_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}} => {fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_TRY_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=4294967295, height=4294967295, pixelformat=v4l2_fourcc('\xff', '\xff', '\xff', '\xff'), field=V4L2_FIELD_ANY, bytesperline=4294967295, sizeimage=4294967295, colorspace=0xffffffff /* V4L2_COLORSPACE_??? */}} => {fmt.pix={width=1920, height=1080, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=4147200, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_TRY_FMT, {type=0x80 /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) write(1, "\ttest VIDIOC_TRY_FMT: \33[32mOK\33[0"..., 34 test VIDIOC_TRY_FMT: OK ) = 34 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_S_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=4294967295, height=4294967295, pixelformat=v4l2_fourcc('\xff', '\xff', '\xff', '\xff'), field=V4L2_FIELD_ANY, bytesperline=4294967295, sizeimage=4294967295, colorspace=0xffffffff /* V4L2_COLORSPACE_??? */}} => {fmt.pix={width=1920, height=1080, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=4147200, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_S_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}} => {fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_S_FMT, {type=0x80 /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_ENUM_FMT, {index=1, type=V4L2_BUF_TYPE_VIDEO_CAPTURE, flags=V4L2_FMT_FLAG_COMPRESSED, description="H.264", pixelformat=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */}) = 0 ioctl(3, VIDIOC_ENUM_FMT, {index=0, type=V4L2_BUF_TYPE_VIDEO_CAPTURE, flags=V4L2_FMT_FLAG_COMPRESSED, description="Motion-JPEG", pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */}) = 0 ioctl(3, VIDIOC_S_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=0, height=0, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_ANY, bytesperline=0, sizeimage=0, colorspace=V4L2_COLORSPACE_DEFAULT}} => {fmt.pix={width=640, height=400, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=512000, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(6, VIDIOC_S_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=0, height=0, pixelformat=v4l2_fourcc('H', '2', '6', '4') /* V4L2_PIX_FMT_H264 */, field=V4L2_FIELD_ANY, bytesperline=0, sizeimage=0, colorspace=V4L2_COLORSPACE_DEFAULT}}) = -1 EBUSY (Device or resource busy) write(1, "\t\t\33[1mwarn\33[0m: v4l2-test-format"..., 64 warn: v4l2-test-formats.cpp(1036): Could not set fmt2 ) = 64 ioctl(3, VIDIOC_S_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}} => {fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 write(1, "\ttest VIDIOC_S_FMT: \33[32mOK\33[0m\n", 32 test VIDIOC_S_FMT: OK ) = 32 ioctl(3, VIDIOC_G_SLICED_VBI_CAP, 0x7fff5f34d8e4) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G_SLICED_VBI_CAP: \33"..., 59 test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) ) = 59 ioctl(3, VIDIOC_CROPCAP, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, bounds={left=0, top=0, width=640, height=480}, defrect={left=0, top=0, width=640, height=480}, pixelaspect=1/1}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d918) = 0 ioctl(3, VIDIOC_CROPCAP, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE, bounds={left=0, top=0, width=640, height=480}, defrect={left=0, top=0, width=640, height=480}, pixelaspect=1/1}) = 0 ioctl(3, VIDIOC_CROPCAP, {type=0xff /* V4L2_BUF_TYPE_??? */}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_CROP, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d918) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d728) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_SELECTION, 0x7fff5f34d728) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest Cropping: \33[32mOK\33[0m (Not"..., 44 test Cropping: OK (Not Supported) ) = 44 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d7c8) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_SELECTION, 0x7fff5f34d7c8) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest Composing: \33[32mOK\33[0m (No"..., 45 test Composing: OK (Not Supported) ) = 45 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_S_SELECTION, 0x7fff5f34d428) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_SELECTION, 0x7fff5f34d468) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=1, height=1, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_ANY, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}} => {fmt.pix={width=640, height=400, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=512000, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d428) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d468) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=16384, height=16384, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_ANY, bytesperline=0, sizeimage=512000, colorspace=V4L2_COLORSPACE_SRGB}} => {fmt.pix={width=1920, height=1080, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=4147200, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_S_SELECTION, 0x7fff5f34d428) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_S_SELECTION, 0x7fff5f34d468) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d428) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d468) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}} => {fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 write(1, "\ttest Scaling: \33[32mOK\33[0m (Not "..., 43 test Scaling: OK (Not Supported) ) = 43 write(1, "\n", 1 ) = 1 write(1, "Codec ioctls (Input 0):\n", 24Codec ioctls (Input 0): ) = 24 ioctl(3, VIDIOC_ENCODER_CMD, 0x7fff5f34d940) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_TRY_ENCODER_CMD, 0x7fff5f34d940) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_(TRY_)ENCODER_CMD: "..., 60 test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported) ) = 60 ioctl(3, VIDIOC_G_ENC_INDEX, 0x7fff5f34d170) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_G_ENC_INDEX: \33[32mO"..., 54 test VIDIOC_G_ENC_INDEX: OK (Not Supported) ) = 54 ioctl(3, VIDIOC_DECODER_CMD, 0x7fff5f34d920) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, VIDIOC_TRY_DECODER_CMD, 0x7fff5f34d920) = -1 ENOTTY (Inappropriate ioctl for device) write(1, "\ttest VIDIOC_(TRY_)DECODER_CMD: "..., 60 test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported) ) = 60 write(1, "\n", 1 ) = 1 write(1, "Buffer ioctls (Input 0):\n", 25Buffer ioctls (Input 0): ) = 25 close(3) = 0 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 3 ioctl(3, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34a52c) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_REQBUFS, {type=0 /* V4L2_BUF_TYPE_??? */, memory=0 /* V4L2_MEMORY_??? */, count=0}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_REQBUFS, {type=0 /* V4L2_BUF_TYPE_??? */, memory=0 /* V4L2_MEMORY_??? */, count=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_MMAP, count=0 => 0}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_USERPTR, count=0 => 0}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_MMAP, count=1 => 1}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_MMAP, m.offset=0, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_MMAP, count=1 => 1}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_MMAP, m.offset=0, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_MMAP, m.offset=0, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_USERPTR, count=1 => 1}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_USERPTR, m.userptr=NULL, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_USERPTR, count=1 => 1}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_USERPTR, m.userptr=NULL, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_USERPTR, m.userptr=NULL, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=1 => 1}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=1 => 1}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=1 => 1}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_MMAP, count=1}) = -1 EBUSY (Device or resource busy) ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_MMAP, count=0}) = -1 EBUSY (Device or resource busy) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_MMAP, count=1 => 1}) = 0 ioctl(6, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_MMAP, m.offset=0, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_MMAP, count=0 => 0}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_MMAP, count=1 => 1}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=0, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=0}) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_MMAP, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=1}) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=1}) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=1, count=1}) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=2}) = -1 EINVAL (Invalid argument) ioctl(6, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(6, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_MMAP, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = -1 EBUSY (Device or resource busy) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=240, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=307200, colorspace=V4L2_COLORSPACE_SRGB}}}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=1228800, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=1}) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=1228800, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=1 => 1}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_USERPTR, count=1}) = -1 EBUSY (Device or resource busy) ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_USERPTR, count=0}) = -1 EBUSY (Device or resource busy) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_USERPTR, count=1 => 1}) = 0 ioctl(6, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_USERPTR, m.userptr=NULL, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_USERPTR, count=0 => 0}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_USERPTR, count=1 => 1}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=0, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=0}) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_USERPTR, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=1}) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=1}) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=1, count=1}) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=2}) = -1 EINVAL (Invalid argument) ioctl(6, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(6, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_USERPTR, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = -1 EBUSY (Device or resource busy) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=240, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=307200, colorspace=V4L2_COLORSPACE_SRGB}}}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=1228800, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=1}) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=1228800, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=1 => 1}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=1}) = -1 EBUSY (Device or resource busy) ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0}) = -1 EBUSY (Device or resource busy) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=1 => 1}) = 0 ioctl(6, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(6, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=1 => 1}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=0, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=0}) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=1}) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=1}) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=1, count=1}) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1, memory=V4L2_MEMORY_DMABUF, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=2}) = -1 EINVAL (Invalid argument) ioctl(6, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(6, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}}) = -1 EBUSY (Device or resource busy) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=240, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=307200, colorspace=V4L2_COLORSPACE_SRGB}}}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_CREATE_BUFS, {count=1, memory=V4L2_MEMORY_DMABUF, format={type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=1228800, colorspace=V4L2_COLORSPACE_SRGB}}}) = 0 ({index=0, count=1}) ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_DMABUF, length=1228800, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_DMABUF, count=0 => 0}) = 0 write(1, "\ttest VIDIOC_REQBUFS/CREATE_BUFS"..., 55 test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK ) = 55 close(3) = 0 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 3 ioctl(3, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d7ec) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_MMAP, count=2 => 2}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=0, memory=V4L2_MEMORY_MMAP, m.offset=0, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_QUERYBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=1, memory=V4L2_MEMORY_MMAP, m.offset=0x96000, length=614400, bytesused=0, flags=V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC|V4L2_BUF_FLAG_TSTAMP_SRC_SOE, ...}) = 0 ioctl(3, VIDIOC_EXPBUF, 0x7fff5f34c0c8) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_EXPBUF, 0x7fff5f34c098) = 0 ioctl(3, VIDIOC_EXPBUF, 0x7fff5f34c098) = 0 close(4) = 0 close(7) = 0 ioctl(3, VIDIOC_REQBUFS, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, memory=V4L2_MEMORY_MMAP, count=0 => 0}) = 0 write(1, "\ttest VIDIOC_EXPBUF: \33[32mOK\33[0m"..., 33 test VIDIOC_EXPBUF: OK ) = 33 ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/30, extendedmode=0, readbuffers=0}}) = 0 ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/1000, extendedmode=0, readbuffers=0}} => {parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/30, extendedmode=0, readbuffers=0}}) = 0 newfstatat(3, "", {st_mode=S_IFCHR|0660, st_rdev=makedev(0x51, 0), ...}, AT_EMPTY_PATH) = 0 openat(AT_FDCWD, "/sys/dev/char/81:0/device", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55c0dee32040 /* 26 entries */, 32768) = 936 openat(AT_FDCWD, "/dev/media0", O_RDWR) = 7 close(4) = 0 ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0xf010000 /* V4L2_CTRL_CLASS_??? */, count=0}) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_G_EXT_CTRLS, {ctrl_class=0xf010000 /* V4L2_CTRL_CLASS_??? */, count=0}) = -1 EINVAL (Invalid argument) ioctl(7, MEDIA_IOC_REQUEST_ALLOC, 0x7fff5f349dd0) = -1 ENOTTY (Inappropriate ioctl for device) close(7) = 0 write(1, "\ttest Requests: \33[32mOK\33[0m (Not"..., 44 test Requests: OK (Not Supported) ) = 44 close(3) = 0 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 3 ioctl(3, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d7ec) = -1 EINVAL (Invalid argument) write(1, "\n", 1 ) = 1 close(3) = 0 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 3 ioctl(3, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d72c) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_INPUT, [0]) = 0 ioctl(3, VIDIOC_S_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}} => {fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/30, extendedmode=0, readbuffers=0}}) = 0 ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/15, extendedmode=0, readbuffers=0}} => {parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/15, extendedmode=0, readbuffers=0}}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=128}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=128}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=128}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=1}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=128}, {id=V4L2_CID_GAIN, size=0, value=50, value64=50}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=2}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=4650}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=128}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=2}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=5}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=0}]} => {controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=128}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=128}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=128}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=1}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=128}, {id=V4L2_CID_GAIN, size=0, value=50, value64=50}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=2}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=4650}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=128}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=2}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=5}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=0}], error_idx=12}) = -1 EACCES (Permission denied) close(3) = 0 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 3 ioctl(3, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d72c) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_INPUT, [0]) = 0 close(3) = 0 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 3 ioctl(3, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d72c) = -1 EINVAL (Invalid argument) ioctl(3, VIDIOC_S_INPUT, [0]) = 0 ioctl(3, VIDIOC_S_FMT, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}} => {fmt.pix={width=640, height=480, pixelformat=v4l2_fourcc('M', 'J', 'P', 'G') /* V4L2_PIX_FMT_MJPEG */, field=V4L2_FIELD_NONE, bytesperline=0, sizeimage=614400, colorspace=V4L2_COLORSPACE_SRGB}}) = 0 ioctl(3, VIDIOC_G_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/30, extendedmode=0, readbuffers=0}}) = 0 ioctl(3, VIDIOC_S_PARM, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/15, extendedmode=0, readbuffers=0}} => {parm.capture={capability=V4L2_CAP_TIMEPERFRAME, capturemode=0, timeperframe=1/15, extendedmode=0, readbuffers=0}}) = 0 ioctl(3, VIDIOC_S_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=12, controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=128}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=128}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=128}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=1}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=128}, {id=V4L2_CID_GAIN, size=0, value=50, value64=50}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=2}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=4650}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=128}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=2}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=5}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=0}]} => {controls=[{id=V4L2_CID_BRIGHTNESS, size=0, value=128, value64=128}, {id=V4L2_CID_CONTRAST, size=0, value=128, value64=128}, {id=V4L2_CID_SATURATION, size=0, value=128, value64=128}, {id=V4L2_CID_AUTO_WHITE_BALANCE, size=0, value=1, value64=1}, {id=V4L2_CID_GAMMA, size=0, value=128, value64=128}, {id=V4L2_CID_GAIN, size=0, value=50, value64=50}, {id=V4L2_CID_POWER_LINE_FREQUENCY, size=0, value=2, value64=2}, {id=V4L2_CID_WHITE_BALANCE_TEMPERATURE, size=0, value=4650, value64=4650}, {id=V4L2_CID_SHARPNESS, size=0, value=128, value64=128}, {id=V4L2_CID_EXPOSURE_AUTO, size=0, value=2, value64=2}, {id=V4L2_CID_EXPOSURE_ABSOLUTE, size=0, value=5, value64=5}, {id=V4L2_CID_EXPOSURE_AUTO_PRIORITY, size=0, value=0, value64=0}], error_idx=12}) = -1 EACCES (Permission denied) close(3) = 0 openat(AT_FDCWD, "/dev/video0", O_RDWR) = 3 ioctl(3, VIDIOC_QUERYCAP, {driver="uvcvideo", card="SVS RGB USB camera: SVS RGB USB", bus_info="usb-0000:00:14.0-2", version=KERNEL_VERSION(5, 15, 0), capabilities=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_META_CAPTURE|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 0 ioctl(3, VIDIOC_QUERY_EXT_CTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|V4L2_CTRL_FLAG_NEXT_COMPOUND|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_TRY_EXT_CTRLS, {ctrl_class=0 /* V4L2_CTRL_CLASS_??? */, count=0}) = 0 ioctl(3, VIDIOC_QUERYCTRL, {id=V4L2_CTRL_FLAG_NEXT_CTRL|0 /* V4L2_CID_??? */ => V4L2_CTRL_CLASS_USER+0x1, type=V4L2_CTRL_TYPE_CTRL_CLASS, name="User Controls", ...}) = 0 ioctl(3, VIDIOC_G_SELECTION, 0x7fff5f34d72c) = -1 EINVAL (Invalid argument) write(1, "Total for uvcvideo device /dev/v"..., 81Total for uvcvideo device /dev/video0: 46, Succeeded: 46, Failed: 0, Warnings: 1 ) = 81 close(3) = 0 close(6) = 0 close(5) = 0 exit_group(0) = ? +++ exited with 0 +++ # dmesg [ 50.203806] usb 1-2: uvc_v4l2_open [ 50.299428] usb 1-2: Resuming interface 0 [ 50.299442] usb 1-2: Resuming interface 1 [ 50.303496] usb 1-2: uvc_v4l2_release [ 50.343577] usb 1-2: uvc_v4l2_open [ 50.351939] usb 1-2: uvc_v4l2_open [ 50.354430] usb 1-2: uvc_v4l2_open [ 50.354536] usb 1-2: uvc_v4l2_open [ 50.354630] usb 1-2: uvc_v4l2_open [ 50.354727] usb 1-2: uvc_v4l2_open [ 50.354823] usb 1-2: uvc_v4l2_open [ 50.354917] usb 1-2: uvc_v4l2_open [ 50.355037] usb 1-2: uvc_v4l2_open [ 50.355133] usb 1-2: uvc_v4l2_open [ 50.355227] usb 1-2: uvc_v4l2_open [ 50.355318] usb 1-2: uvc_v4l2_open [ 50.355410] usb 1-2: uvc_v4l2_open [ 50.355500] usb 1-2: uvc_v4l2_open [ 50.355593] usb 1-2: uvc_v4l2_open [ 50.355684] usb 1-2: uvc_v4l2_open [ 50.355776] usb 1-2: uvc_v4l2_open [ 50.355870] usb 1-2: uvc_v4l2_open [ 50.355962] usb 1-2: uvc_v4l2_open [ 50.356091] usb 1-2: uvc_v4l2_open [ 50.356186] usb 1-2: uvc_v4l2_open [ 50.356278] usb 1-2: uvc_v4l2_open [ 50.356370] usb 1-2: uvc_v4l2_open [ 50.356462] usb 1-2: uvc_v4l2_open [ 50.356552] usb 1-2: uvc_v4l2_open [ 50.356642] usb 1-2: uvc_v4l2_open [ 50.356737] usb 1-2: uvc_v4l2_open [ 50.356832] usb 1-2: uvc_v4l2_open [ 50.356924] usb 1-2: uvc_v4l2_open [ 50.357038] usb 1-2: uvc_v4l2_open [ 50.357251] usb 1-2: uvc_v4l2_open [ 50.357414] usb 1-2: uvc_v4l2_open [ 50.357568] usb 1-2: uvc_v4l2_open [ 50.357713] usb 1-2: uvc_v4l2_open [ 50.357875] usb 1-2: uvc_v4l2_open [ 50.357966] usb 1-2: uvc_v4l2_open [ 50.358070] usb 1-2: uvc_v4l2_open [ 50.358167] usb 1-2: uvc_v4l2_open [ 50.358266] usb 1-2: uvc_v4l2_open [ 50.358340] usb 1-2: uvc_v4l2_open [ 50.358528] usb 1-2: uvc_v4l2_open [ 50.358635] usb 1-2: uvc_v4l2_open [ 50.358755] usb 1-2: uvc_v4l2_open [ 50.358850] usb 1-2: uvc_v4l2_open [ 50.358941] usb 1-2: uvc_v4l2_open [ 50.359099] usb 1-2: uvc_v4l2_open [ 50.359201] usb 1-2: uvc_v4l2_open [ 50.359307] usb 1-2: uvc_v4l2_open [ 50.359399] usb 1-2: uvc_v4l2_open [ 50.359470] usb 1-2: uvc_v4l2_open [ 50.359538] usb 1-2: uvc_v4l2_open [ 50.359598] usb 1-2: uvc_v4l2_open [ 50.359709] usb 1-2: uvc_v4l2_open [ 50.359835] usb 1-2: uvc_v4l2_open [ 50.359952] usb 1-2: uvc_v4l2_open [ 50.360088] usb 1-2: uvc_v4l2_open [ 50.360181] usb 1-2: uvc_v4l2_open [ 50.360262] usb 1-2: uvc_v4l2_open [ 50.360350] usb 1-2: uvc_v4l2_open [ 50.360440] usb 1-2: uvc_v4l2_open [ 50.360511] usb 1-2: uvc_v4l2_open [ 50.360582] usb 1-2: uvc_v4l2_open [ 50.360650] usb 1-2: uvc_v4l2_open [ 50.360716] usb 1-2: uvc_v4l2_open [ 50.360784] usb 1-2: uvc_v4l2_open [ 50.360852] usb 1-2: uvc_v4l2_open [ 50.360918] usb 1-2: uvc_v4l2_open [ 50.360987] usb 1-2: uvc_v4l2_open [ 50.361072] usb 1-2: uvc_v4l2_open [ 50.361140] usb 1-2: uvc_v4l2_open [ 50.361205] usb 1-2: uvc_v4l2_open [ 50.361274] usb 1-2: uvc_v4l2_open [ 50.361342] usb 1-2: uvc_v4l2_open [ 50.361412] usb 1-2: uvc_v4l2_open [ 50.361478] usb 1-2: uvc_v4l2_open [ 50.361566] usb 1-2: uvc_v4l2_open [ 50.361634] usb 1-2: uvc_v4l2_open [ 50.361702] usb 1-2: uvc_v4l2_open [ 50.361770] usb 1-2: uvc_v4l2_open [ 50.361837] usb 1-2: uvc_v4l2_open [ 50.361902] usb 1-2: uvc_v4l2_open [ 50.361971] usb 1-2: uvc_v4l2_open [ 50.362045] usb 1-2: uvc_v4l2_open [ 50.362113] usb 1-2: uvc_v4l2_open [ 50.362180] usb 1-2: uvc_v4l2_open [ 50.362247] usb 1-2: uvc_v4l2_open [ 50.362314] usb 1-2: uvc_v4l2_open [ 50.362380] usb 1-2: uvc_v4l2_open [ 50.362447] usb 1-2: uvc_v4l2_open [ 50.362516] usb 1-2: uvc_v4l2_open [ 50.362595] usb 1-2: uvc_v4l2_open [ 50.362643] usb 1-2: uvc_v4l2_open [ 50.362692] usb 1-2: uvc_v4l2_open [ 50.362740] usb 1-2: uvc_v4l2_open [ 50.362790] usb 1-2: uvc_v4l2_open [ 50.362839] usb 1-2: uvc_v4l2_open [ 50.362887] usb 1-2: uvc_v4l2_open [ 50.362935] usb 1-2: uvc_v4l2_open [ 50.362985] usb 1-2: uvc_v4l2_open [ 50.363042] usb 1-2: uvc_v4l2_open [ 50.363088] usb 1-2: uvc_v4l2_open [ 50.363136] usb 1-2: uvc_v4l2_open [ 50.363189] usb 1-2: uvc_v4l2_release [ 50.363259] usb 1-2: uvc_v4l2_release [ 50.363347] usb 1-2: uvc_v4l2_release [ 50.363421] usb 1-2: uvc_v4l2_release [ 50.363466] usb 1-2: uvc_v4l2_release [ 50.363514] usb 1-2: uvc_v4l2_release [ 50.363552] usb 1-2: uvc_v4l2_release [ 50.363588] usb 1-2: uvc_v4l2_release [ 50.363653] usb 1-2: uvc_v4l2_release [ 50.363697] usb 1-2: uvc_v4l2_release [ 50.363767] usb 1-2: uvc_v4l2_release [ 50.363825] usb 1-2: uvc_v4l2_release [ 50.363873] usb 1-2: uvc_v4l2_release [ 50.363939] usb 1-2: uvc_v4l2_release [ 50.364011] usb 1-2: uvc_v4l2_release [ 50.364062] usb 1-2: uvc_v4l2_release [ 50.364118] usb 1-2: uvc_v4l2_release [ 50.364177] usb 1-2: uvc_v4l2_release [ 50.364228] usb 1-2: uvc_v4l2_release [ 50.364289] usb 1-2: uvc_v4l2_release [ 50.364372] usb 1-2: uvc_v4l2_release [ 50.364420] usb 1-2: uvc_v4l2_release [ 50.364477] usb 1-2: uvc_v4l2_release [ 50.364535] usb 1-2: uvc_v4l2_release [ 50.364587] usb 1-2: uvc_v4l2_release [ 50.364632] usb 1-2: uvc_v4l2_release [ 50.364689] usb 1-2: uvc_v4l2_release [ 50.364745] usb 1-2: uvc_v4l2_release [ 50.364817] usb 1-2: uvc_v4l2_release [ 50.364863] usb 1-2: uvc_v4l2_release [ 50.364913] usb 1-2: uvc_v4l2_release [ 50.364968] usb 1-2: uvc_v4l2_release [ 50.365039] usb 1-2: uvc_v4l2_release [ 50.365095] usb 1-2: uvc_v4l2_release [ 50.365150] usb 1-2: uvc_v4l2_release [ 50.365210] usb 1-2: uvc_v4l2_release [ 50.365268] usb 1-2: uvc_v4l2_release [ 50.365315] usb 1-2: uvc_v4l2_release [ 50.365362] usb 1-2: uvc_v4l2_release [ 50.365408] usb 1-2: uvc_v4l2_release [ 50.365466] usb 1-2: uvc_v4l2_release [ 50.365535] usb 1-2: uvc_v4l2_release [ 50.365581] usb 1-2: uvc_v4l2_release [ 50.365626] usb 1-2: uvc_v4l2_release [ 50.365662] usb 1-2: uvc_v4l2_release [ 50.365706] usb 1-2: uvc_v4l2_release [ 50.365750] usb 1-2: uvc_v4l2_release [ 50.365790] usb 1-2: uvc_v4l2_release [ 50.365854] usb 1-2: uvc_v4l2_release [ 50.365900] usb 1-2: uvc_v4l2_release [ 50.365965] usb 1-2: uvc_v4l2_release [ 50.366038] usb 1-2: uvc_v4l2_release [ 50.366084] usb 1-2: uvc_v4l2_release [ 50.366150] usb 1-2: uvc_v4l2_release [ 50.366219] usb 1-2: uvc_v4l2_release [ 50.366263] usb 1-2: uvc_v4l2_release [ 50.366326] usb 1-2: uvc_v4l2_release [ 50.366369] usb 1-2: uvc_v4l2_release [ 50.366407] usb 1-2: uvc_v4l2_release [ 50.366468] usb 1-2: uvc_v4l2_release [ 50.366536] usb 1-2: uvc_v4l2_release [ 50.366579] usb 1-2: uvc_v4l2_release [ 50.366643] usb 1-2: uvc_v4l2_release [ 50.366686] usb 1-2: uvc_v4l2_release [ 50.366749] usb 1-2: uvc_v4l2_release [ 50.366817] usb 1-2: uvc_v4l2_release [ 50.366860] usb 1-2: uvc_v4l2_release [ 50.366897] usb 1-2: uvc_v4l2_release [ 50.366958] usb 1-2: uvc_v4l2_release [ 50.367032] usb 1-2: uvc_v4l2_release [ 50.367078] usb 1-2: uvc_v4l2_release [ 50.367140] usb 1-2: uvc_v4l2_release [ 50.367208] usb 1-2: uvc_v4l2_release [ 50.367251] usb 1-2: uvc_v4l2_release [ 50.367313] usb 1-2: uvc_v4l2_release [ 50.367356] usb 1-2: uvc_v4l2_release [ 50.367419] usb 1-2: uvc_v4l2_release [ 50.367485] usb 1-2: uvc_v4l2_release [ 50.367554] usb 1-2: uvc_v4l2_release [ 50.367587] usb 1-2: uvc_v4l2_release [ 50.367636] usb 1-2: uvc_v4l2_release [ 50.367669] usb 1-2: uvc_v4l2_release [ 50.367717] usb 1-2: uvc_v4l2_release [ 50.367752] usb 1-2: uvc_v4l2_release [ 50.367802] usb 1-2: uvc_v4l2_release [ 50.367852] usb 1-2: uvc_v4l2_release [ 50.367895] usb 1-2: uvc_v4l2_release [ 50.367936] usb 1-2: uvc_v4l2_release [ 50.367978] usb 1-2: uvc_v4l2_release [ 50.368027] usb 1-2: uvc_v4l2_release [ 50.368071] usb 1-2: uvc_v4l2_release [ 50.368113] usb 1-2: uvc_v4l2_release [ 50.368155] usb 1-2: uvc_v4l2_release [ 50.368198] usb 1-2: uvc_v4l2_release [ 50.368241] usb 1-2: uvc_v4l2_release [ 50.368283] usb 1-2: uvc_v4l2_release [ 50.368326] usb 1-2: uvc_v4l2_release [ 50.368369] usb 1-2: uvc_v4l2_release [ 50.368412] usb 1-2: uvc_v4l2_release [ 50.368455] usb 1-2: uvc_v4l2_release [ 50.373076] usb 1-2: Control 0x00980001 not found [ 50.374028] usb 1-2: Control 0x009a0001 not found [ 50.375157] usb 1-2: Control 0x00000000 not found [ 50.375440] usb 1-2: Control 0x00980903 not found [ 50.375484] usb 1-2: Control 0x00980904 not found [ 50.375528] usb 1-2: Control 0x00980905 not found [ 50.375572] usb 1-2: Control 0x00980906 not found [ 50.375615] usb 1-2: Control 0x00980907 not found [ 50.375658] usb 1-2: Control 0x00980908 not found [ 50.375701] usb 1-2: Control 0x00980909 not found [ 50.375744] usb 1-2: Control 0x0098090a not found [ 50.375788] usb 1-2: Control 0x0098090b not found [ 50.375911] usb 1-2: Control 0x0098090d not found [ 50.375955] usb 1-2: Control 0x0098090e not found [ 50.376003] usb 1-2: Control 0x0098090f not found [ 50.376125] usb 1-2: Control 0x00980911 not found [ 50.376169] usb 1-2: Control 0x00980912 not found [ 50.376292] usb 1-2: Control 0x00980914 not found [ 50.376334] usb 1-2: Control 0x00980915 not found [ 50.376377] usb 1-2: Control 0x00980916 not found [ 50.376421] usb 1-2: Control 0x00980917 not found [ 50.376658] usb 1-2: Control 0x00980919 not found [ 50.376862] usb 1-2: Control 0x0098091c not found [ 50.376907] usb 1-2: Control 0x0098091d not found [ 50.376950] usb 1-2: Control 0x0098091e not found [ 50.376993] usb 1-2: Control 0x0098091f not found [ 50.377046] usb 1-2: Control 0x00980920 not found [ 50.377090] usb 1-2: Control 0x00980921 not found [ 50.377134] usb 1-2: Control 0x00980922 not found [ 50.377176] usb 1-2: Control 0x00980923 not found [ 50.377221] usb 1-2: Control 0x00980924 not found [ 50.377265] usb 1-2: Control 0x00980925 not found [ 50.377308] usb 1-2: Control 0x00980926 not found [ 50.377352] usb 1-2: Control 0x00980927 not found [ 50.377395] usb 1-2: Control 0x00980928 not found [ 50.377439] usb 1-2: Control 0x00980929 not found [ 50.377484] usb 1-2: Control 0x0098092a not found [ 50.377528] usb 1-2: Control 0x08000000 not found [ 50.378178] usb 1-2: Control 0x00000000 not found [ 50.378320] usb 1-2: Control 0x00980903 not found [ 50.378357] usb 1-2: Control 0x00980904 not found [ 50.378394] usb 1-2: Control 0x00980905 not found [ 50.378430] usb 1-2: Control 0x00980906 not found [ 50.378466] usb 1-2: Control 0x00980907 not found [ 50.378502] usb 1-2: Control 0x00980908 not found [ 50.378539] usb 1-2: Control 0x00980909 not found [ 50.378576] usb 1-2: Control 0x0098090a not found [ 50.378612] usb 1-2: Control 0x0098090b not found [ 50.378683] usb 1-2: Control 0x0098090d not found [ 50.378719] usb 1-2: Control 0x0098090e not found [ 50.378756] usb 1-2: Control 0x0098090f not found [ 50.378827] usb 1-2: Control 0x00980911 not found [ 50.378863] usb 1-2: Control 0x00980912 not found [ 50.378934] usb 1-2: Control 0x00980914 not found [ 50.378970] usb 1-2: Control 0x00980915 not found [ 50.379010] usb 1-2: Control 0x00980916 not found [ 50.379046] usb 1-2: Control 0x00980917 not found [ 50.379116] usb 1-2: Control 0x00980919 not found [ 50.379224] usb 1-2: Control 0x0098091c not found [ 50.379261] usb 1-2: Control 0x0098091d not found [ 50.379298] usb 1-2: Control 0x0098091e not found [ 50.379334] usb 1-2: Control 0x0098091f not found [ 50.379370] usb 1-2: Control 0x00980920 not found [ 50.379406] usb 1-2: Control 0x00980921 not found [ 50.379443] usb 1-2: Control 0x00980922 not found [ 50.379479] usb 1-2: Control 0x00980923 not found [ 50.379515] usb 1-2: Control 0x00980924 not found [ 50.379552] usb 1-2: Control 0x00980925 not found [ 50.379588] usb 1-2: Control 0x00980926 not found [ 50.379624] usb 1-2: Control 0x00980927 not found [ 50.379661] usb 1-2: Control 0x00980928 not found [ 50.379698] usb 1-2: Control 0x00980929 not found [ 50.379735] usb 1-2: Control 0x0098092a not found [ 50.379772] usb 1-2: Control 0x08000000 not found [ 50.387154] usb 1-2: Control 0x00000000 not found [ 50.387223] usb 1-2: Control 0x00000000 not found [ 50.389670] usb 1-2: Control 0x00000000 not found [ 50.389708] usb 1-2: Control 0x00000000 not found [ 50.389759] usb 1-2: Control 0x00000000 not found [ 50.390729] usb 1-2: uvc_v4l2_poll [ 50.390881] usb 1-2: uvc_v4l2_poll [ 50.390958] usb 1-2: uvc_v4l2_poll [ 50.391079] usb 1-2: uvc_v4l2_poll [ 50.391177] usb 1-2: uvc_v4l2_poll [ 50.391283] usb 1-2: uvc_v4l2_poll [ 50.391383] usb 1-2: uvc_v4l2_poll [ 50.391484] usb 1-2: uvc_v4l2_poll [ 50.391584] usb 1-2: uvc_v4l2_poll [ 50.391755] usb 1-2: uvc_v4l2_poll [ 50.391857] usb 1-2: uvc_v4l2_poll [ 50.391969] usb 1-2: uvc_v4l2_poll [ 50.392121] usb 1-2: uvc_v4l2_poll [ 50.392233] usb 1-2: uvc_v4l2_poll [ 50.392399] usb 1-2: uvc_v4l2_poll [ 50.392507] usb 1-2: uvc_v4l2_poll [ 50.399694] usb 1-2: Setting frame interval to 0/0 (4294967295) [ 50.400055] usb 1-2: Setting frame interval to 0/1 (0) [ 50.400398] usb 1-2: Setting frame interval to 1/0 (4294967295) [ 50.401730] usb 1-2: Trying format 0x47504a4d (MJPG): 640x480 [ 50.401734] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.402079] usb 1-2: Trying format 0xffffffff (\xff\xff\xff\xff): 4294967295x4294967295 [ 50.402083] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.402498] usb 1-2: Trying format 0xffffffff (\xff\xff\xff\xff): 4294967295x4294967295 [ 50.402501] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.402836] usb 1-2: Trying format 0x47504a4d (MJPG): 640x480 [ 50.402840] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.403268] usb 1-2: Trying format 0x47504a4d (MJPG): 0x0 [ 50.403272] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.403688] usb 1-2: Trying format 0x47504a4d (MJPG): 640x480 [ 50.403691] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.404444] usb 1-2: Trying format 0x47504a4d (MJPG): 1x1 [ 50.404447] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.404867] usb 1-2: Trying format 0x47504a4d (MJPG): 16384x16384 [ 50.404870] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.405282] usb 1-2: Trying format 0x47504a4d (MJPG): 640x480 [ 50.405285] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.406031] usb 1-2: uvc_v4l2_release [ 50.406065] usb 1-2: uvc_v4l2_open [ 50.409549] usb 1-2: uvc_v4l2_release [ 50.409576] usb 1-2: uvc_v4l2_open [ 50.410127] usb 1-2: Setting frame interval to 1/1000 (10000) [ 50.410733] usb 1-2: uvc_v4l2_release [ 50.410792] usb 1-2: uvc_v4l2_open [ 50.410980] usb 1-2: uvc_v4l2_release [ 50.411011] usb 1-2: uvc_v4l2_open [ 50.411204] usb 1-2: Trying format 0x47504a4d (MJPG): 640x480 [ 50.411207] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.411601] usb 1-2: Setting frame interval to 1/15 (666666) [ 50.412041] usb 1-2: uvc_v4l2_release [ 50.412083] usb 1-2: uvc_v4l2_open [ 50.475712] usb 1-2: uvc_v4l2_release [ 50.475929] usb 1-2: uvc_v4l2_open [ 50.477599] usb 1-2: Trying format 0x47504a4d (MJPG): 640x480 [ 50.477618] usb 1-2: Using default frame interval 33333.3 us (30.0 fps) [ 50.478424] usb 1-2: Setting frame interval to 1/15 (666666) [ 50.479445] usb 1-2: uvc_v4l2_release [ 50.479664] usb 1-2: uvc_v4l2_open [ 50.481183] usb 1-2: uvc_v4l2_release [ 50.481312] usb 1-2: uvc_v4l2_release [ 52.794273] usb 1-2: Suspending interface 1 [ 52.794289] usb 1-2: Suspending interface 0 > > drivers/media/usb/uvc/uvc_driver.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c > index 29befcb229b2..27234fe60a48 100644 > --- a/drivers/media/usb/uvc/uvc_driver.c > +++ b/drivers/media/usb/uvc/uvc_driver.c > @@ -256,7 +256,7 @@ static struct uvc_format_desc *uvc_format_by_guid(const u8 guid[16]) > static enum v4l2_colorspace uvc_colorspace(const u8 primaries) > { > static const enum v4l2_colorspace colorprimaries[] = { > - V4L2_COLORSPACE_DEFAULT, /* Unspecified */ > + V4L2_COLORSPACE_SRGB, /* Unspecified */ > V4L2_COLORSPACE_SRGB, > V4L2_COLORSPACE_470_SYSTEM_M, > V4L2_COLORSPACE_470_SYSTEM_BG, > @@ -267,7 +267,7 @@ static enum v4l2_colorspace uvc_colorspace(const u8 primaries) > if (primaries < ARRAY_SIZE(colorprimaries)) > return colorprimaries[primaries]; > > - return V4L2_COLORSPACE_DEFAULT; /* Reserved */ > + return V4L2_COLORSPACE_SRGB; /* Reserved */ > } > > static enum v4l2_xfer_func uvc_xfer_func(const u8 transfer_characteristics) > @@ -769,6 +769,8 @@ static int uvc_parse_format(struct uvc_device *dev, > > buflen -= buffer[0]; > buffer += buffer[0]; > + } else { > + format->colorspace = V4L2_COLORSPACE_SRGB; > } > > return buffer - start; > -- > 2.34.0.rc1.387.gb447b232ab-goog >