zeeshan,
Now the ov5650 is getting detected. However the video is still blank
in cheese.
I used defualt kernel configurations.I modified the files arch/arm/
mach-omap2/board-4430sdp.c and arch/arm/mach-omap2/board-omap4panda.c
I commented some lines so that 5650 is default sensor
//////////////////////////////////////////////////////////////////////////////////////
static struct i2c_board_info sdp4430_i2c_camera[] = {
/*
#ifdef CONFIG_MACH_OMAP_4430SDP_CAM_OV3640
{
// Uses same I2C Address as OV5640
I2C_BOARD_INFO("ov3640", OV5640_I2C_ADDRESS),
},
#endif
#ifdef CONFIG_MACH_OMAP_4430SDP_CAM_OV5640
{
I2C_BOARD_INFO("ov5640", OV5640_I2C_ADDRESS),
},
#endif
*/
//#ifdef CONFIG_MACH_OMAP_4430SDP_CAM_OV5650
{
I2C_BOARD_INFO("ov5650", OV5650_I2C_ADDRESS),
},
//#endif
};
/////////////////////////////////////////////////////
static struct soc_camera_link iclink_ov5640 = {
.bus_id = 0, /* Must match with the camera ID */
.board_info = &sdp4430_i2c_camera[0],
.i2c_adapter_id = 3,
/*
#ifdef CONFIG_MACH_OMAP_4430SDP_CAM_OV3640
.module_name = "ov3640",
#elif defined(CONFIG_MACH_OMAP_4430SDP_CAM_OV5640)
.module_name = "ov5640",
#elif defined(CONFIG_MACH_OMAP_4430SDP_CAM_OV5650)
*/ .module_name = "ov5650",
//#endif
.power = &sdp4430_ov5640_power,
.priv = &ov5640_if_params,
};
////////////////////////////////////////////////////////
Now in the dmesg
[ 5.308959] camera 0-0: Probing 0-0
[ 5.371185] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 5.449188] ov5650 3-0036: Detected a OV5650 chip, revision 0
[ 5.449554] omap4-camera omap4-camera.0: OMAP4 Camera driver loaded
When I start cheese screen is blank ,when I try with gstreamer for
640*480 it is telling unable to display at resolution 640*480.I tried
with other configurations also.
When i try xvinfo, it is showing "no adapters present".
How can I rectify this xvinfo problem. Should I install some packages
for it?
> > > Actually the OV5650driverneeds to come up and check whether adapter
> > > is interfaced. Instead of that OV5640driveris coming up and is
> > > failing to detect(adapter connected is OV5650 ). I removed the OV5640
> > >driverusing rmmod and inserted OV5650. still video is not working
> > > with cheese or gstreamer.
>
> > > I tried to rectify that by removing OV5640 and OV3640 from the kernel
> > > configs and keeping OV5650 as 'M' type. Then I recompiled kernel.
> > > In this case ,the OV5650driveris not getting initialized at bootup
> > > and video is not working.
>
> > > Then in the kernel configs i put soc_camera as 'Y',OV5650 as
> > > 'Y',OV5640 as 'M', 3640 as 'M'. I also enabled I2C multiplexing
> > > options. Then recompiled
> > > In this case the dmesg output is as:
> > > 2.312530] i2c i2c-3: client [ov5640] registered with bus id 3-003c
> > > [ 2.312591] i2c 3-003c: uevent
> > > [ 2.312622] omap4-camera omap4-camera.0: OMAP4 Cameradriverloaded
> > > [ 2.312835] omap_vout omap_vout: 'hdmi' Display already enabled
> > > [ 2.312835] omap_vout omap_vout: 'hdmi' Display already enabled
> > > [ 2.312835] omap_vout omap_vout: Buffer Size = 3686400
> > > [ 2.313903] omap_vout omap_vout: : registered and initialized video
> > > device 1.
>
> > > the dmesg is same even when the adapter is not connected. What i don't
> > > understand is why does the ov5640drivercomeup and ov5650 does not