v4l2-dbg -V (return code: 1)
Failed to open /dev/video0: No such file or directory
v4l2-dbg --help (return code: 0)
Usage: v4l2-dbg [options] [values]
-D, --info Show driver info [VIDIOC_QUERYCAP]
-d, --device=<dev> Use device <dev> instead of /dev/video0
If <dev> starts with a digit, then /dev/video<dev> is used
-h, --help Display this help message
--verbose Turn on verbose ioctl error reporting
-c, --chip=<chip> The chip identifier to use with other commands
It can be one of:
bridge<num>: bridge chip number <num>
bridge (default): same as bridge0
subdev<num>: sub-device number <num>
-l, --list-registers[=min=<addr>[,max=<addr>]]
Dump registers from <min> to <max> [VIDIOC_DBG_G_REGISTER]
-g, --get-register=<addr>
Get the specified register [VIDIOC_DBG_G_REGISTER]
-s, --set-register=<addr>
Set the register with the commandline arguments
The register will autoincrement [VIDIOC_DBG_S_REGISTER]
-n, --scan-chips Scan the available bridge and subdev chips [VIDIOC_DBG_G_CHIP_INFO]
-w, --wide=<reg length>
Sets step between two registers
--list-symbols List the symbolic register names you can use, if any
--log-status Log the board status in the kernel log [VIDIOC_LOG_STATUS]