MT9P031 Camera sensor porting.
IMX6 SABRESD board
Fails with ERROR: v4l2 capture: slave not found!
The driver mt9p031.ko is loaded and probing is successful. I can access the sensor using the i2c bus.
For some reason the mxc_capture is reporting that the slave is not found.
ERROR: v4l2 capture: slave not found!
Lorenc.
did you insmod the module before caputing the video?
like "insmod mxc_v4l2_capture.ko" ?
Yes I did. The issue was that the required ioctl_* functions are missing in the mt9p031.c. Also the correct framework registration api was not being called. I added the ioctl_* and I added v4l2_int_device_register().
Now I can open the /dev/video0 and I don't see any errors.
I don't know how to fix the bus width yet to use 12 lines instead of 8 but that is my next task.