On Tuesday 21 July 2009 11:55:09 Jens Kapitza wrote: > > Did you try here: <http://wiki.eeeuser.com/howto:controlcamera>? > > The camera is enabled - skype or luvcview is working. But i can't get it > work in my app. > > I'm able to open the dev but if i tries to request the buffer i get -1 > from ioctl > > i see a green led if an application is reading from cam. > I thought i've forget to do an ioctl to make the cam ready.
In a nutshell, open() VIDIOC_S_FMT VIDIOC_REQBUFS VIDIOC_QUERYBUF mmap() VIDIOC_QBUF VIDIOC_STREAMON If you get an error from any of those check errno and look up the meaning in the V4L2 spec. The driver might also print useful messages to the kernel log from times to times. Regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
