Hi Stephan, On Tuesday 24 April 2007, Stephan Richter wrote: > On Tuesday 24 April 2007 15:03, Laurent Pinchart wrote: > > You might be suffering from a Logitech hardware bug. Search the list > > archive for a so-called "reset patch". It is known to help some people in > > the past. > > thanks for your response. You were right, it was the reset problem. I > applied the patch from the mailinglist onto the the trunk and after fixing > the rejection, recompiling and installing it, the camera immediately worked > without any more work. > > I attached the SVN diff output to this mail as reference for others. Is > there any chance you would put this patch into the trunk?
Thanks for the diff. I'm still having issues with the reset patch, as it's a heavy workaround for a still not well understood problem. It also doesn't solve all issues with the Logitech hardware bug, some people still can't use their webcams despite the patch. I'd like to have a proper fix before committing this to the trunk. > I used luvcview to test the camera. Then I tried xawtv, but as you > mentioned due to the bug, it did not work. I also tried Kopete (I have no > idea which library it uses as a backend) and it would do something, but not > a nice picture. This leads me to my final question: Which applications are > known to work well with v4l2/uvc? Marcel van Beurden reported a new motion beta release that might work with the Linux UVC driver. Ekiga is known to work, and xawtv should work with the attached patch which has been committed to svn://svn.berlios.de/linux-uvc/patches/xawtv. Cheers, Laurent Pinchart
diff -ur libng/plugins/drv0-v4l2.c libng/plugins/drv0-v4l2.c --- libng/plugins/drv0-v4l2.c 2005-02-11 18:56:24.000000000 +0100 +++ libng/plugins/drv0-v4l2.c 2006-12-17 19:20:26.000000000 +0100 @@ -768,6 +768,7 @@ /* get it */ memset(&buf,0,sizeof(buf)); buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; + buf.memory = V4L2_MEMORY_MMAP; if (-1 == xioctl(h->fd,VIDIOC_DQBUF,&buf, 0)) return -1; h->waiton++;
_______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel