ERROR: v4l2 capture: slave not found!

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

ERROR: v4l2 capture: slave not found!

1,570 Views
kodhel
Contributor II

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.

Labels (2)
2 Replies

751 Views
joanxie
NXP TechSupport
NXP TechSupport

did you insmod the module before caputing the video?

like "insmod mxc_v4l2_capture.ko" ?

0 Kudos

751 Views
kodhel
Contributor II

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.

0 Kudos