From owner-freebsd-arm@FreeBSD.ORG Wed Jan 16 14:30:10 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F3B7EDB for ; Wed, 16 Jan 2013 14:30:09 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from smtprelay-b22.telenor.se (smtprelay-b22.telenor.se [195.54.99.213]) by mx1.freebsd.org (Postfix) with ESMTP id B0A45CD1 for ; Wed, 16 Jan 2013 14:30:09 +0000 (UTC) Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b22.telenor.se (Postfix) with ESMTP id 046FEC2B1 for ; Wed, 16 Jan 2013 15:30:07 +0100 (CET) X-SENDER-IP: [85.229.94.62] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtJIAIO49lBV5V4+PGdsb2JhbABFgy6HRK8sg2cXAwEBAQE4NIIeAQEEATocIwULCxguLQwKFAYKiBwKuA6QV2EDqUs X-IronPort-AV: E=Sophos;i="4.84,479,1355094000"; d="scan'208";a="485330661" Received: from c-3e5ee555.06-11-73746f31.cust.bredbandsbolaget.se (HELO sigyn.alvermark.net) ([85.229.94.62]) by ipb1.telenor.se with ESMTP; 16 Jan 2013 15:29:39 +0100 Received: from gw.inter-sonic.com ([212.247.8.97] helo=[192.168.1.191]) by sigyn.alvermark.net with esmtpa (Exim 4.72 (FreeBSD)) (envelope-from ) id 1TvTvJ-000DTB-Hd; Wed, 16 Jan 2013 15:25:01 +0100 Subject: Re: Isochronous USB transfers on RPI? Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Jakob Alvermark In-Reply-To: <201301161319.17236.hselasky@c2i.net> Date: Wed, 16 Jan 2013 15:29:23 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <78AB4FEC-6E16-4FCA-B172-3C7B37FEA4DF@alvermark.net> References: <6BD0E5E4-3921-4F9B-9381-3813933670AE@alvermark.net> <201301161319.17236.hselasky@c2i.net> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1085) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2013 14:30:10 -0000 Hi, I see that there is code, I'm not just very good at reading and writing = it. :-) usbdump is quiet on the Pi On my laptop I can see ISOC packets when using the same webcam and = software so something is missing. /Jakob On 16 jan 2013, at 13:19, Hans Petter Selasky wrote: > On Wednesday 16 January 2013 10:25:38 Jakob Alvermark wrote: >> Hi, >>=20 >> Maybe this should go to the usb list, but it is probably relevant = here as >> well. I have been playing with the Pi for a while now and having = great fun >> with FreeBSD. Great work gonzo and others! >> However, I'd like to use a webcam with it. I learned that USB webcams = use >> isochronous transfers and the DWC OTG driver doesn't fully implement = it. >> (If I read the commit logs correctly) >> What is missing and how can I help? >>=20 >=20 > Hi, >=20 > The DWC OTG driver has not fully implemented isochronous. Using = isochronous=20 > transfers will have a high CPU load impact, because 1000 IRQ's (FS) or = 8000=20 > IRQ's (HS) second will be needed to feed the FIFOs. However, if this = is=20 > acceptable, code can be found in: >=20 > sys/dev/usb/controller/dwc_otg.c >=20 > --HPS >=20