Hi guys,
I looked for an answer of my problem in the forum but I found nothing that can help me.
I am trying to connect a mt9d131 CMOS sensor to the imager interface of the EVMDM365 with dvsdk 3.10.
I am trying to open the ccdc with this code :
if ((capt_fd = open("/dev/video0", O_RDWR | O_NONBLOCK, 0)) <= -1) {
perror("init_camera_capture:open::");
return -1;
}
and the output was :
init_camera_capture:open::: No such device
During the boot of the EVM :
vpfe-capture: vpss clock vpss_master enabled
vpfe-capture vpfe-capture: v4l2 device registered
vpfe-capture vpfe-capture: video device registered
dm365evm_enable_pca9543a
dm365evm_enable_pca9543a, status = -121
EVM: switch to HD imager video input
mt9d131 1-005d: No MT9D131 chip detected, register read ff87
vpfe-capture vpfe-capture: v4l2 sub device mt9d131 register fails
No sub devices registered
vpfe-capture: vpfe capture clocks disabled
vpfe_register_ccdc_device: DM365 ISIF
dm365_isif: probe of dm365_isif failed with error -22
I checked almost everything :
- my sensor is working
- the I2C sensor adress
- the /dev/ list
- ...
It might be a problem with the driver, then how to make it work ?
King regards
Thibault