From owner-freebsd-arm@FreeBSD.ORG Wed Jan 16 12:18:00 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C2DAE7DC for ; Wed, 16 Jan 2013 12:18:00 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 6021320E for ; Wed, 16 Jan 2013 12:18:00 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 364055883; Wed, 16 Jan 2013 13:17:53 +0100 From: Hans Petter Selasky To: freebsd-arm@freebsd.org Subject: Re: Isochronous USB transfers on RPI? Date: Wed, 16 Jan 2013 13:19:17 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <6BD0E5E4-3921-4F9B-9381-3813933670AE@alvermark.net> In-Reply-To: <6BD0E5E4-3921-4F9B-9381-3813933670AE@alvermark.net> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: Jakob Alvermark 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 12:18:00 -0000 On Wednesday 16 January 2013 10:25:38 Jakob Alvermark wrote: > Hi, > > 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? > Hi, The DWC OTG driver has not fully implemented isochronous. Using isochronous transfers will have a high CPU load impact, because 1000 IRQ's (FS) or 8000 IRQ's (HS) second will be needed to feed the FIFOs. However, if this is acceptable, code can be found in: sys/dev/usb/controller/dwc_otg.c --HPS