Thank you, I'll give it a try. It'll help me to learn how to use linux and its tools.
On Thu, July 2, 2009 18:50, Brian Pin wrote: > I think 1) you should do the patch under Linux top dir not uvc dir.2) use > patch -p1 < the_patch That probably helps.. > > > On Thu, Jul 2, 2009 at 8:34 AM, <[email protected]> wrote: > > >> Hello everyone, >> >> >> I am trying to stream with 2 webcams simultaneously so I tried your >> patch. The thing is I am not that good with Linux so.... didn't work. >> Here what I >> did: >> >> >> **I downloaded your source from: >> http://linuxtv.org/hg/~pinchartl/uvcvideo/ >> >> >> >> **I copied/pasted the content of this mail and the second one started >> from: >> >> >> diff -r 88ef3b9f5071 -r 012e480c8e6a >> linux/drivers/media/video/uvc/uvc_ctrl.c >> >> till the end to files that I named patchOne.diff and patchTwo.diff >> >> **Then, in a terminal, I went to: >> uvcvideo-bff77ec33116/linux/drivers/media/video/uvc >> >> **I did: >> patch <patchOne.diff >> >> It did not changed the content of the original files and I got: >> patching file uvc_driver.c Hunk #1 FAILED at 551. >> Hunk #2 FAILED at 752. >> Hunk #3 FAILED at 1167. >> Hunk #5 FAILED at 1494. >> Hunk #6 FAILED at 1515. >> Hunk #7 FAILED at 1530. >> Hunk #8 FAILED at 1568. >> Hunk #9 FAILED at 1602. >> Hunk #10 FAILED at 1643. >> Hunk #11 FAILED at 1697. >> Hunk #12 FAILED at 1706. >> Hunk #13 FAILED at 1735. >> 12 out of 13 hunks FAILED -- saving rejects to file uvc_driver.c.rej >> patching file uvc_isight.c Hunk #1 FAILED at 99. >> Hunk #2 FAILED at 120. >> etc... >> >> Can anyone tell me what I am doing wrong? >> Regards, >> >> >> >> LESCOP Cédric >> >> >> >> >> >> On Thu, July 2, 2009 01:31, Laurent Pinchart wrote: >> >>> Restructure the UVC descriptors parsing code to handle multiple >>> streaming interfaces. The driver now creates a uvc_video_chain >>> instance for each chain detected in the UVC control interface >>> descriptors, and tries to register one video device per streaming >>> endpoint. >>> >>> Priority: normal >>> >>> >>> >>> Signed-off-by: Laurent Pinchart <[email protected]> >>> >>> >>> >>> diff -r 88ef3b9f5071 -r 012e480c8e6a >>> linux/drivers/media/video/uvc/uvc_ctrl.c --- >>> a/linux/drivers/media/video/uvc/uvc_ctrl.c Sun Jun 28 13:37:50 >>> 2009 >>> >> +0200 >> >>> +++ b/linux/drivers/media/video/uvc/uvc_ctrl.c Thu Jul 02 >>> 01:24:47 >>> >> 2009 >> >>> +0200 >>> @@ -731,7 +731,7 @@ >>> } >>> } ... _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
