XO Camera

Hans Verkuil hverkuil at xs4all.nl
Sat May 2 12:01:13 EDT 2009


On Thursday 30 April 2009 19:48:08 Peter Robinson wrote:
> Hi Jon,
>
> >> > Which kernel are you running?
> >>
> >> The kernel is the rawhide variant 2.6.29.1 from about a week ago.
> >
> > OK, that should rule out Hans's changes.  In which case I'm totally
> > mystified...not a whole lot else has happened with that driver for some
> > time.
>
> I noticed the ov7670 and cafe_ccic drivers for the camera depend on
> i2c. Do the drivers depend on any of the OLPC specific i2c code that's
> not upstream that your aware of?
>
> Peter

I've managed to resurrect my OLPC and got a developer key as well. Now all I 
need is some time to install the rawhide-xo image.

Hopefully I can test it in 1-2 weeks.

Note that I received a mail from a Saeed Bishara who noticed a bug in the 
cafe driver that should be fixed by this patch:

--- cafe_ccic.c.orig	2009-05-02 17:57:08.000000000 +0200
+++ cafe_ccic.c	2009-05-02 17:57:37.000000000 +0200
@@ -868,6 +868,7 @@
 	ret = __cafe_cam_reset(cam);
 	if (ret)
 		goto out;
+	chip.ident = V4L2_IDENT_NONE;
 	chip.match.type = V4L2_CHIP_MATCH_I2C_ADDR;
 	chip.match.addr = cam->sensor->addr;
 	ret = __cafe_cam_cmd(cam, VIDIOC_DBG_G_CHIP_IDENT, &chip);

I think this will resolve this issue.

Regards,

	Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom



More information about the Devel mailing list