Luckfox Pico Pro Max + ADV7282-M

  • We do not have an ADV7282 device available to verify your issue. We suggest first running the following command to identify which device is the mainpath:

    Code: Select all

    grep -H '' /sys/class/video4linux/video*/name 
    
    If you find rkisp_mainpath (typically /dev/video11), check what output formats it supports before proceeding with further tests:

    Code: Select all

    v4l2-ctl --device=/dev/video11 --list-formats-ext
    
    Note that /dev/video0 in the rkisp is typically used as stream_cif_mipi_id0 and cannot directly capture RAW frames.
  • Given commands produce this output:

    Code: Select all

    [root@luckfox root]# grep -H '' /sys/class/video4linux/video*/name 
    /sys/class/video4linux/video0/name:stream_cif_mipi_id0
    /sys/class/video4linux/video1/name:stream_cif_mipi_id1
    /sys/class/video4linux/video10/name:rkcif_tools_id2
    /sys/class/video4linux/video11/name:rkisp_mainpath
    /sys/class/video4linux/video12/name:rkisp_selfpath
    /sys/class/video4linux/video13/name:rkisp_bypasspath
    /sys/class/video4linux/video14/name:rkisp_mainpath_4x4sampling
    /sys/class/video4linux/video15/name:rkisp_bypasspath_4x4sampling
    /sys/class/video4linux/video16/name:rkisp_lumapath
    /sys/class/video4linux/video17/name:rkisp_rawrd0_m
    /sys/class/video4linux/video18/name:rkisp_rawrd2_s
    /sys/class/video4linux/video19/name:rkisp-statistics
    /sys/class/video4linux/video2/name:stream_cif_mipi_id2
    /sys/class/video4linux/video20/name:rkisp-input-params
    /sys/class/video4linux/video3/name:stream_cif_mipi_id3
    /sys/class/video4linux/video4/name:rkcif_scale_ch0
    /sys/class/video4linux/video5/name:rkcif_scale_ch1
    /sys/class/video4linux/video6/name:rkcif_scale_ch2
    /sys/class/video4linux/video7/name:rkcif_scale_ch3
    /sys/class/video4linux/video8/name:rkcif_tools_id0
    /sys/class/video4linux/video9/name:rkcif_tools_id1
    [root@luckfox root]# v4l2-ctl --device=/dev/video11 --list-formats-ext
    ioctl: VIDIOC_ENUM_FMT
            Type: Video Capture Multiplanar
    
            [0]: 'UYVY' (UYVY 4:2:2)
                    Size: Stepwise 32x32 - 800x600 with step 8/8
            [1]: 'NV16' (Y/CbCr 4:2:2)
                    Size: Stepwise 32x32 - 800x600 with step 8/8
            [2]: 'NV61' (Y/CrCb 4:2:2)
                    Size: Stepwise 32x32 - 800x600 with step 8/8
            [3]: 'NV21' (Y/CrCb 4:2:0)
                    Size: Stepwise 32x32 - 800x600 with step 8/8
            [4]: 'NV12' (Y/CbCr 4:2:0)
                    Size: Stepwise 32x32 - 800x600 with step 8/8
            [5]: 'NM21' (Y/CrCb 4:2:0 (N-C))
                    Size: Stepwise 32x32 - 800x600 with step 8/8
            [6]: 'NM12' (Y/CbCr 4:2:0 (N-C))
                    Size: Stepwise 32x32 - 800x600 with step 8/8
    

    P.S. Maybe there is some way to "bypass" rkcif and rkisp and output raw video to /dev/video0, in the same way it works on RPi4?

  • In theory, registering /dev/video0 independently while bypassing the ISP requires driver modifications. But so far, on the Rockchip platform, I haven't come across any driver that does this.