Skip to content

v4l2‐util dump

99degree edited this page Apr 22, 2024 · 3 revisions
joyeuse:/ # media-ctl -p
Media controller API version 6.9.0

Media device information
------------------------
driver          qcom-camss
model           Qualcomm Camera Subsystem
serial
bus info        platform:acb3000.camss
hw revision     0x0
driver version  6.9.0

Device topology
- entity 1: msm_csiphy0 (2 pads, 3 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev0
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_csid0":0 []
                -> "msm_csid1":0 []
                -> "msm_csid2":0 []

- entity 4: msm_csiphy1 (2 pads, 3 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev1
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_csid0":0 []
                -> "msm_csid1":0 []
                -> "msm_csid2":0 []

- entity 7: msm_csiphy2 (2 pads, 4 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev2
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "s5k5e9 13-002d":0 [ENABLED,IMMUTABLE]
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_csid0":0 []
                -> "msm_csid1":0 []
                -> "msm_csid2":0 []

- entity 10: msm_csiphy3 (2 pads, 3 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev3
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_csid0":0 []
                -> "msm_csid1":0 []
                -> "msm_csid2":0 []

- entity 13: msm_csid0 (5 pads, 16 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev4
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csiphy0":1 []
                <- "msm_csiphy1":1 []
                <- "msm_csiphy2":1 []
                <- "msm_csiphy3":1 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_rdi0":0 []
                -> "msm_vfe1_rdi0":0 []
                -> "msm_vfe2_rdi0":0 []
        pad2: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_rdi1":0 []
                -> "msm_vfe1_rdi1":0 []
                -> "msm_vfe2_rdi1":0 []
        pad3: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_rdi2":0 []
                -> "msm_vfe1_rdi2":0 []
                -> "msm_vfe2_rdi2":0 []
        pad4: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_pix":0 []
                -> "msm_vfe1_pix":0 []
                -> "msm_vfe2_pix":0 []

- entity 19: msm_csid1 (5 pads, 16 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev5
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csiphy0":1 []
                <- "msm_csiphy1":1 []
                <- "msm_csiphy2":1 []
                <- "msm_csiphy3":1 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_rdi0":0 []
                -> "msm_vfe1_rdi0":0 []
                -> "msm_vfe2_rdi0":0 []
        pad2: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_rdi1":0 []
                -> "msm_vfe1_rdi1":0 []
                -> "msm_vfe2_rdi1":0 []
        pad3: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_rdi2":0 []
                -> "msm_vfe1_rdi2":0 []
                -> "msm_vfe2_rdi2":0 []
        pad4: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_pix":0 []
                -> "msm_vfe1_pix":0 []
                -> "msm_vfe2_pix":0 []

- entity 25: msm_csid2 (5 pads, 16 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev6
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csiphy0":1 []
                <- "msm_csiphy1":1 []
                <- "msm_csiphy2":1 []
                <- "msm_csiphy3":1 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_rdi0":0 []
                -> "msm_vfe1_rdi0":0 []
                -> "msm_vfe2_rdi0":0 []
        pad2: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_rdi1":0 []
                -> "msm_vfe1_rdi1":0 []
                -> "msm_vfe2_rdi1":0 []
        pad3: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_rdi2":0 []
                -> "msm_vfe1_rdi2":0 []
                -> "msm_vfe2_rdi2":0 []
        pad4: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_pix":0 []
                -> "msm_vfe1_pix":0 []
                -> "msm_vfe2_pix":0 []

- entity 31: msm_vfe0_rdi0 (2 pads, 4 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev7
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csid0":1 []
                <- "msm_csid1":1 []
                <- "msm_csid2":1 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_video0":0 [ENABLED,IMMUTABLE]

- entity 34: msm_vfe0_video0 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video0
        pad0: Sink
                <- "msm_vfe0_rdi0":1 [ENABLED,IMMUTABLE]

- entity 40: msm_vfe0_rdi1 (2 pads, 4 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev8
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csid0":2 []
                <- "msm_csid1":2 []
                <- "msm_csid2":2 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_video1":0 [ENABLED,IMMUTABLE]

- entity 43: msm_vfe0_video1 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video1
        pad0: Sink
                <- "msm_vfe0_rdi1":1 [ENABLED,IMMUTABLE]

- entity 49: msm_vfe0_rdi2 (2 pads, 4 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev9
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csid0":3 []
                <- "msm_csid1":3 []
                <- "msm_csid2":3 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe0_video2":0 [ENABLED,IMMUTABLE]

- entity 52: msm_vfe0_video2 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video2
        pad0: Sink
                <- "msm_vfe0_rdi2":1 [ENABLED,IMMUTABLE]

- entity 58: msm_vfe0_pix (2 pads, 4 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev10
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb
                 compose.bounds:(0,0)/1920x1080
                 compose:(0,0)/1920x1080]
                <- "msm_csid0":4 []
                <- "msm_csid1":4 []
                <- "msm_csid2":4 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb
                 crop.bounds:(0,0)/1920x1080
                 crop:(0,0)/1920x1080]
                -> "msm_vfe0_video3":0 [ENABLED,IMMUTABLE]

- entity 61: msm_vfe0_video3 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video3
        pad0: Sink
                <- "msm_vfe0_pix":1 [ENABLED,IMMUTABLE]

- entity 67: msm_vfe1_rdi0 (2 pads, 4 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev11
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csid0":1 []
                <- "msm_csid1":1 []
                <- "msm_csid2":1 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe1_video0":0 [ENABLED,IMMUTABLE]

- entity 70: msm_vfe1_video0 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video4
        pad0: Sink
                <- "msm_vfe1_rdi0":1 [ENABLED,IMMUTABLE]

- entity 76: msm_vfe1_rdi1 (2 pads, 4 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev12
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csid0":2 []
                <- "msm_csid1":2 []
                <- "msm_csid2":2 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe1_video1":0 [ENABLED,IMMUTABLE]

- entity 79: msm_vfe1_video1 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video5
        pad0: Sink
                <- "msm_vfe1_rdi1":1 [ENABLED,IMMUTABLE]

- entity 85: msm_vfe1_rdi2 (2 pads, 4 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev13
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csid0":3 []
                <- "msm_csid1":3 []
                <- "msm_csid2":3 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe1_video2":0 [ENABLED,IMMUTABLE]

- entity 88: msm_vfe1_video2 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video6
        pad0: Sink
                <- "msm_vfe1_rdi2":1 [ENABLED,IMMUTABLE]

- entity 94: msm_vfe1_pix (2 pads, 4 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev14
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb
                 compose.bounds:(0,0)/1920x1080
                 compose:(0,0)/1920x1080]
                <- "msm_csid0":4 []
                <- "msm_csid1":4 []
                <- "msm_csid2":4 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb
                 crop.bounds:(0,0)/1920x1080
                 crop:(0,0)/1920x1080]
                -> "msm_vfe1_video3":0 [ENABLED,IMMUTABLE]

- entity 97: msm_vfe1_video3 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video7
        pad0: Sink
                <- "msm_vfe1_pix":1 [ENABLED,IMMUTABLE]

- entity 103: msm_vfe2_rdi0 (2 pads, 4 links)
              type V4L2 subdev subtype Unknown flags 0
              device node name /dev/v4l-subdev15
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csid0":1 []
                <- "msm_csid1":1 []
                <- "msm_csid2":1 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe2_video0":0 [ENABLED,IMMUTABLE]

- entity 106: msm_vfe2_video0 (1 pad, 1 link)
              type Node subtype V4L flags 0
              device node name /dev/video8
        pad0: Sink
                <- "msm_vfe2_rdi0":1 [ENABLED,IMMUTABLE]

- entity 112: msm_vfe2_rdi1 (2 pads, 4 links)
              type V4L2 subdev subtype Unknown flags 0
              device node name /dev/v4l-subdev16
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csid0":2 []
                <- "msm_csid1":2 []
                <- "msm_csid2":2 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe2_video1":0 [ENABLED,IMMUTABLE]

- entity 115: msm_vfe2_video1 (1 pad, 1 link)
              type Node subtype V4L flags 0
              device node name /dev/video9
        pad0: Sink
                <- "msm_vfe2_rdi1":1 [ENABLED,IMMUTABLE]

- entity 121: msm_vfe2_rdi2 (2 pads, 4 links)
              type V4L2 subdev subtype Unknown flags 0
              device node name /dev/v4l-subdev17
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                <- "msm_csid0":3 []
                <- "msm_csid1":3 []
                <- "msm_csid2":3 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
                -> "msm_vfe2_video2":0 [ENABLED,IMMUTABLE]

- entity 124: msm_vfe2_video2 (1 pad, 1 link)
              type Node subtype V4L flags 0
              device node name /dev/video10
        pad0: Sink
                <- "msm_vfe2_rdi2":1 [ENABLED,IMMUTABLE]

- entity 130: msm_vfe2_pix (2 pads, 4 links)
              type V4L2 subdev subtype Unknown flags 0
              device node name /dev/v4l-subdev18
        pad0: Sink
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb
                 compose.bounds:(0,0)/1920x1080
                 compose:(0,0)/1920x1080]
                <- "msm_csid0":4 []
                <- "msm_csid1":4 []
                <- "msm_csid2":4 []
        pad1: Source
                [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb
                 crop.bounds:(0,0)/1920x1080
                 crop:(0,0)/1920x1080]
                -> "msm_vfe2_video3":0 [ENABLED,IMMUTABLE]

- entity 133: msm_vfe2_video3 (1 pad, 1 link)
              type Node subtype V4L flags 0
              device node name /dev/video11
        pad0: Sink
                <- "msm_vfe2_pix":1 [ENABLED,IMMUTABLE]

- entity 235: s5k5e9 13-002d (1 pad, 1 link)
              type V4L2 subdev subtype Sensor flags 0
              device node name /dev/v4l-subdev19
        pad0: Source
                [fmt:SRGGB10_1X10/2592x1940@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range
                 crop.bounds:(8,8)/4208x3120
                 crop:(0,0)/2592x1940]
                -> "msm_csiphy2":0 [ENABLED,IMMUTABLE]

joyeuse:/ #

dump with test pattern generator

/home/user #   media-ctl --reset
 v4l2-ctl -d /dev/v4l-subdev4 -c test_pattern=9
 v4l2-ctl -d /dev/v4l-subdev5 -c test_pattern=9
 v4l2-ctl -d /dev/v4l-subdev6 -c test_pattern=9
 yavta -B capture-mplane --capture=3 -n 3 -f SRGGB10P -s 4608x2592 /dev/video0/home/user #   media-ctl -V '"msm_csid0":0[fmt:SRGGB10/4608x2592 field:none]'
/home/user #  media-ctl -V '"msm_vfe0_rdi0":0[fmt:SRGGB10/4608x2592 field:none]'
/home/user #  media-ctl -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
/home/user #  v4l2-ctl -d /dev/v4l-subdev4 -c test_pattern=9
/home/user #  v4l2-ctl -d /dev/v4l-subdev5 -c test_pattern=9
/home/user #  v4l2-ctl -d /dev/v4l-subdev6 -c test_pattern=9
/home/user #  yavta -B capture-mplane --capture=3 -n 3 -f SRGGB10P -s 4608x2592 /dev/video0
Device /dev/video0 opened.
Device `Qualcomm Camera Subsystem' on `platform:acb3000.camss' (driver 'qcom-camss') supports video, capture, with mplanes.
Video format set: SRGGB10P (41415270) 4608x2592 field none, 1 planes:
 * Stride 5760, buffer size 14929920
Video format: SRGGB10P (41415270) 4608x2592 field none, 1 planes:
 * Stride 5760, buffer size 14929920
3 buffers requested.
length: 1 offset: 3378359912 timestamp type/source: mono/EoF
Buffer 0/0 mapped at address 0xffffa52d9000.
length: 1 offset: 3378359912 timestamp type/source: mono/EoF
Buffer 1/0 mapped at address 0xffffa449c000.
length: 1 offset: 3378359912 timestamp type/source: mono/EoF
Buffer 2/0 mapped at address 0xffffa365f000.
0 (0) [-] none 0 14929920 B 1715.919901 1715.924456 3.717 fps ts mono/EoF
1 (1) [-] none 1 14929920 B 1716.075947 1716.080522 6.408 fps ts mono/EoF
2 (2) [-] none 2 14929920 B 1716.231111 1716.235515 6.445 fps ts mono/EoF
Captured 3 frames in 0.584641 seconds (5.131354 fps, 0.000000 B/s).
3 buffers released.
/home/user #