AnsweredAssumed Answered

No V4L2 controls implemented on OV5640 mipi driver

Question asked by Greivin Fallas Sanchez on Oct 10, 2019
Latest reply on Oct 15, 2019 by jimmychan

Hi all,

 

I am using the OV5640 mipi camera driver as reference to create a custom driver for a customer on the i.mx6 dartboard evaluation kit. Some V4L2 controls were requested on the driver but the OV5640 does not support any control.

 

Sending outputs when testing controls with OV5640 camera:

 

No controls listed

root@var-som-mx6:~# v4l2-ctl -d /dev/video0 -l
root@var-som-mx6:~#

 

Controls always marked as uknown

root@var-som-mx6:~# v4l2-ctl -d /dev/video0 --get-ctrl=gain
unknown control 'gain'
root@var-som-mx6:~# v4l2-ctl -d /dev/video0 --set-ctrl=gain=100
unknown control 'gain'
root@var-som-mx6:~#
root@var-som-mx6:~# v4l2-ctl -d /dev/video0 --get-ctrl=exposure
unknown control 'exposure'
root@var-som-mx6:~#

 

How can I implement controls on the driver?
Any example/help will be appreciated.

 

Thanks.

Outcomes