AnsweredAssumed Answered

Problem with adding Saa7113 video decoder driver

Question asked by Ma Juani on Sep 8, 2016
Latest reply on Sep 13, 2016 by igorpadykov

Hello, I have imx6q, sabresd with Android.

trying to add the video decoder driver for saa7113. 

The driver exist in folder driver/media/video ....

I add it to makefile

Then add section in board-mx6q_sabresd.c

 

i2c_board_info mxc_i2c1_board_info[] __initdata

 

{
I2C_BOARD_INFO("saa7115", 0x25),
.type = "saa7113",
.platform_data = (void *) &camera_data_saa7115,
},

 

static struct fsl_mxc_camera_platform_data camera_data_saa7115 =
{
.mclk = 24000000,
.mclk_source = 0,
.csi = 0,
.io_init = mx6q_csi0_io_init,
.pwdn = mx6q_csi0_cam_powerdown,
};

 

Disabled the ov3640 section.

 

On booting i see this :

i2c /dev entries driver
Linux video capture interface: v2.00
i2c-core: driver [tuner] using legacy suspend method
i2c-core: driver [tuner] using legacy resume method
saa7115 1-0025: saa7113 found (1f7113d0e100000) @ 0x4a (imx-i2c)
i2c-core: driver [msp3400] using legacy suspend method
i2c-core: driver [msp3400] using legacy resume method
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17

 

But then i try to open camera:

ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!

 

 

I have:

Video 0

Video 1

Video 16 

Video 17

 

They all not working, only if i enable the ov3640, the video0 working.

 

Thank's for any tips or help.

Andy

Outcomes