OS Manuals

/usr/bin/v4l2-dbg

Linux media (V4L2/DVB/CEC/IR) utilities and libraries

From v4l-utils 1.32.0-r1 (enterprise-packages), captured 2026-11-08 by running v4l2-dbg --help (exit 0). permalink

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]
Options (10)
OptionDescriptionSource
-D, --infoShow driver info [VIDIOC_QUERYCAP]help
-h, --helpDisplay this help messagehelp
--verboseTurn on verbose ioctl error reportinghelp
-c, --chip chipThe 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>help
-l, --list-registers min=<addrDump registers from <min> to <max> [VIDIOC_DBG_G_REGISTER]help
-g, --get-register addrGet the specified register [VIDIOC_DBG_G_REGISTER]help
-s, --set-register addrSet the register with the commandline arguments The register will autoincrement [VIDIOC_DBG_S_REGISTER]help
-n, --scan-chipsScan the available bridge and subdev chips [VIDIOC_DBG_G_CHIP_INFO]help
--list-symbolsList the symbolic register names you can use, if anyhelp
--log-statusLog the board status in the kernel log [VIDIOC_LOG_STATUS]help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.