Autofocus camera OV5640 on Android 5.1.1

Moderators: Oren.R, Eran.M

pierrelgcb
Posts: 33
Joined: Wed Dec 09, 2015 9:40 am

Autofocus camera OV5640 on Android 5.1.1

Postby pierrelgcb » Tue Jul 19, 2016 2:06 pm

Hello,

I use VAR-SOM-DUAL with VAR-SOLOCustomBoard V1.1 and Android v5.1.1.

I have both OV5640 Fixed and Auto Focus cameras. Testing Fixed Focus is OK, but Auto Focus camera doesn't autofocus. I tried to recover Android with AF camera plugged and with some custom conf.

I am searching which file to configure : defconfig, device tree or driver ? I don't find the good one.

Any help would be appreciated,
Pierre

kamilbystryk
Posts: 22
Joined: Tue Nov 10, 2015 12:10 pm

Re: Autofocus camera OV5640 on Android 5.1.1

Postby kamilbystryk » Mon Oct 03, 2016 9:32 am

You should make a few changes in files:
/kernel_imx/drivers/media/platform/mxc/capture/ov5640_mipi.c
/kernel_imx/drivers/media/platform/mxc/capture/mxc_v4l2_capture.c
/kernel_imx/include/uapi/linux/mxc_v4l2.h
/kernel_imx/include/uapi/linux/v4l2-controls.h
/kernel_imx/include/media/v4l2-int-device.h
/kernel_imx/include/uapi/linux/videodev2.h
I haved patched files, but fo 5.0.2, i don't know differences between this versions, but please check oryginal files with autofocus at https://boundarydevices.com/

pierrelgcb
Posts: 33
Joined: Wed Dec 09, 2015 9:40 am

Re: Autofocus camera OV5640 on Android 5.1.1

Postby pierrelgcb » Mon Oct 03, 2016 9:38 am

Thanks for your reply, it will help !


Return to “Android”

Who is online

Users browsing this forum: No registered users and 2 guests