i.MX6 Android camera auto focus handler

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 Android camera auto focus handler

Jump to solution
1,409 Views
pierrelgcb
Contributor III

Good morning,

Working on i.MX6 Dual Lite with Android Nougat N7.1.1_1.0.0(kernel 4.1.15).

 

I integrated camera driver OV5640 with auto focus feature. Video and auto focus work well.

One trouble remains. On camera app, when I touch the screen to focus on a target point, a circle appears but auto focus doesn't start. Auto focus only works on app launch/wake up.

 

Problem comes from file : kernel_imx/drivers/media/platform/mxc/capture/ov5640_mipi.c (attached file)

function : ioctl_s_ctrl - V4L2 sensor interface handler for VIDIOC_S_CTRL ioctl

 

The function handler is never called. How can I register/link it to screen touch event ?

 

Best regards,

Pierre

Original Attachment has been moved to: ov5640_mipi.c.zip

Labels (3)
0 Kudos
Reply
1 Solution
1,094 Views
diegoadrian
NXP Employee
NXP Employee

Hello Pierre,

This problem is more related with OV5640 driver, and unfortunately, we cannot help you with this problem. In this case, I recommend you to go with Omnivision.

Technical Support | Support | OmniVision 

I apologize for the inconvenient.

Best Regards,

Diego.

View solution in original post

0 Kudos
Reply
3 Replies
1,095 Views
diegoadrian
NXP Employee
NXP Employee

Hello Pierre,

This problem is more related with OV5640 driver, and unfortunately, we cannot help you with this problem. In this case, I recommend you to go with Omnivision.

Technical Support | Support | OmniVision 

I apologize for the inconvenient.

Best Regards,

Diego.

0 Kudos
Reply
1,094 Views
pierrelgcb
Contributor III

Hello Diego,

Thanks for the advice.

Best regards,

Pierre

0 Kudos
Reply
1,094 Views
frank_zhang
NXP Employee
NXP Employee

Hi Pierre,

     For this case, maybe you can try to use our professional support Professional Support for Microcontrollers|NXP, Thank you!

Best Regards,

Frank

0 Kudos
Reply