This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-TDA4VM: Issue with Invalid IOCTL

Part Number: SK-TDA4VM

Hello Everyone.

I am trying to change the fps settings on  the Raspberry Pi v2 camera (with sensor IMX219). Now as I understand from this document - https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-rt-jacinto7/08_01_00_02/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Camera/CSI2RX.html provided by TI, we can set the framerate using VIDIOC_SUBDEV_S_FRAME_INTERVAL ioctl.

Hence I tried this command but got the following error:

root@tda4vm-sk:/opt/edge_ai_apps# v4l2-ctl -d /dev/v4l-subdev2 --set-subdev-fps pad=2,fps=90
Note: --set-subdev-fps is only for testing.
Normally media-ctl is used to configure the video pipeline.
ioctl: VIDIOC_SUBDEV_S_FRAME_INTERVAL (pad=2,stream=0)
VIDIOC_SUBDEV_S_FRAME_INTERVAL: failed: Inappropriate ioctl for device

I do not understand why this is happening. Could someone please help?