AnsweredAssumed Answered

Add custom camera ov2659 via parallel interface into IMX6Q evb

Question asked by Jackie Chau on Jul 29, 2015
Latest reply on Jul 25, 2017 by Blackrose

I modified the source code of ov5642 to suit ov2659. When the kernel booted, ov2659 could be found.

 

camera ov5640 is not found

ioctl_g_fmt_cap

usb 1-1: new low-speed USB device number 2 using ci_hdrc

camera ov2659 is found

ov5640_read_reg:write reg error:reg=300a

camera ov5640_mipi is not found

mxc_v4l2_output v4l2_out.36: V4L2 device registered as video16

mxc_v4l2_output v4l2_out.36: V4L2 device registered as video17

usbcore: registered new interface driver uvcvideo

USB Video Class driver (1.1.1)

 

However, after ov2659 driver was loaded, "slave not found" was shown.

++++++++++++++++ioctl_g_fmt_cap

ERROR: v4l2 capture: slave not found!

+++++++++++++++++ioctl_g_ifparm

+++++++++++++++++ioctl_g_fmt_cap

ERROR: v4l2 capture: slave not found!

+++++++++++++++++ioctl_g_ifparm

+++++++++++++++++ioctl_g_fmt_cap

warning: `zygote' uses 32-bit capabilities (lega��support in use)

 

Then I installed google camera into KK443, after camera icon was clicked, nothing was shown on the screen.

++++++++++++++++ioctl_g_parm

+++++++++++++++++V4L2_BUF_TYPE_VIDEO_CAPTURE

+++++++++++++++++iocpl_g_ifparm

+++++++++++++++++ioctl_g_fmt_cap

ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

+++++++++++++++++ioctl_g_ifparm

+++++++++++++++++ioctl_g_fmt_cap

 

Then I quitted the camera app and clicked again, camera image could be shown on the screen this time and forever.

+++++++++++++++++ioctl_g_parm

+++++++++++++++++V4L2_BUF_TYPE_VIDEO_CAPTURE

+++++++++++++++++ioctl_g_ifparm

+++++++++++++++++ioctl_g_fmt_cap

 

However, if I reboot the Android, I will need to reinstall the camera app and do the same procedures as above, please kindly advise.

Outcomes