Nov 18, 2024, 9:23 AM

@sanlu

Sorry, I didn't explain clearly earlier.

Based on your requirements, I recommend not using mv_mipi_i2c.sh for configuration because it directly changes the settings inside the camera, but the v4l2 driver won't be aware of your parameter modifications.

The following three commands form a complete ROI configuration:

v4l2-ctl --set-ctrl roi_x=344 
v4l2-ctl --set-ctrl roi_y=0
v4l2-ctl --set-fmt-video=width=2400,height=2064

As for the module issue you mentioned, after performing the above configuration, use the following commands to verify the actual parameters inside the camera:

mv_mipi_i2c.sh -r -f roi -b yourbus
mv_mipi_i2c.sh -r -f version -b yourbus

Please send me the results once you've checked.