From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B75EDE00597 for ; Mon, 8 Apr 2013 12:50:55 -0700 (PDT) Received: by mail-ob0-f171.google.com with SMTP id v19so3044582obq.16 for ; Mon, 08 Apr 2013 12:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=cpMmmXETmhF9Hb4iif8nRe8N+4M8rpJjrHd/N4WsJso=; b=mfOYt4LdQ38xz+X/00BTQxTL9SrHqNe7LUvHnTC+twXt+7EH8KKAO2a0uQkBhSOzED 0rdWcR/igg+/mrWDGlUjuwzyc/KLsRVEiQZ3PUzegVc7KU3Q5GNmoEeLiRuZK8HADjnf FsrPJhuHQ/i++1Xz41pSuAaQ+BwboQorqckIN4b4QLcsor9G97dFOHkESkCMwJaNjFCJ xIHMxIibp3CxUFWfLS7nTRmma5qq3SW5hY//AJ2eLm8DXMPdHVFvlUsQ2/S1xb8M54Qx iLlXidVkALEjcYdvhp11XU/RcuVbwIj5E4dD5pg5upYjxdqai67W6b2gi0BpaJ7nuCjM 3rYg== X-Received: by 10.182.33.102 with SMTP id q6mr16382763obi.39.1365450655249; Mon, 08 Apr 2013 12:50:55 -0700 (PDT) Received: from goober.local ([75.76.228.60]) by mx.google.com with ESMTPS id xz9sm26752205oeb.5.2013.04.08.12.50.54 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Apr 2013 12:50:54 -0700 (PDT) Message-ID: <51631F9D.6060804@gmail.com> Date: Mon, 08 Apr 2013 14:50:53 -0500 From: John Weber User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <51631AE9.4070603@gmail.com> In-Reply-To: <51631AE9.4070603@gmail.com> Subject: Re: USB Video webcam on wandboard dual X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2013 19:50:55 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Steven, This should be a kernel configuration setting. Check out the defconfig for the kernel, which is located in the kernel recipe for wandboard-dual. If you have CONFIG_USB_VIDEO_CLASS declared as m or y then you should have UVC installed. Something else that I discovered is that the default fsl images (fsl-image-test is one) do not include the required v4l elements to support capture from the UVC device. I think you can alter the fsl-image-test.bb file to include some more Gstreamer packages: GSTREAMER_EXTRA_INSTALL = " \ gst-plugins-good-video4linux2 \ gst-plugins-good-rtp \ gst-plugins-good-rtpmanager \ gst-plugins-good-udp \ " IMAGE_INSTALL += " \ packagegroup-fsl-gstreamer \ packagegroup-fsl-tools-testapps \ packagegroup-fsl-tools-benchmark \ ${GSTREAMER_EXTRA_INSTALL} \ " Note - I don't think rtp, rtpmanager, or udp are required if all you want to do is capture data. But, if you want to capture AND stream, then they are pretty helpful. :-) Or, you can create your own image recipe to do it rather than alter the fsl-image-test recipe: https://github.com/johnweber/meta-fsl-arm-extra/commit/aead76df47f6ce3f658366e768a65f045ddb01b8 I was able to capture, encode, and stream from a USB webcam using the recipe. I did notice that the performance wasn't very good. For me, this was just a test to see if I could create the pipeline and get it running on Wandboard. I think there is some optimization to be done, but I'm off to other things now. John On 4/8/13 2:30 PM, Steven Grunza wrote: > Are the necessary drivers to use a UVC USB webcam already setup to be built or > do I need to enable them? If I need to enable them, can someone point me to the > correct place to do the enabling? > > I'm not sure if the following gives enough information about my configuration > but here it is: > > grunzasr@stm32dbg:/home/yocto/wandboard/fsl-community-bsp/build$ bitbake > fsl-image-gui > Parsing recipes: 100% > |###########################################################################| > Time: 00:01:43 > Parsing of 1276 .bb files complete (0 cached, 1276 parsed). 1639 targets, 63 > skipped, 0 masked, 0 errors. > > Build Configuration: > BB_VERSION = "1.17.1" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "Ubuntu-12.10" > TARGET_SYS = "arm-poky-linux-gnueabi" > MACHINE = "wandboard-dual" > DISTRO = "poky" > DISTRO_VERSION = "1.3+snapshot-20130408" > TUNE_FEATURES = "armv7a vfp neon" > TARGET_FPU = "vfp-neon" > meta > meta-yocto = "(nobranch):caa56bfb763e9f30822633359056be0e3f5078e1" > meta-oe = "(nobranch):cbe69cab46335b48de85001f7dd07da765ba8b7b" > meta-fsl-arm = "(nobranch):0a9469a14c593d7fb2c2b17fa6c91e0e49e29158" > meta-fsl-arm-extra = "(nobranch):29ab3a55d7eebf699bcb98c0cb6cafdabce35c2f" > meta-fsl-demos = "(nobranch):4036190439b3051c9e6adae7ee372ad36a380884" > > > > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale >