From owner-freebsd-arm@FreeBSD.ORG Thu Jan 17 00:00:30 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 1AB3A21B for ; Thu, 17 Jan 2013 00:00:30 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [88.198.91.248]) by mx1.freebsd.org (Postfix) with ESMTP id C98FF901 for ; Thu, 17 Jan 2013 00:00:29 +0000 (UTC) Received: from [88.198.91.248] (helo=[IPv6:::1]) by id.bluezbox.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1TvcuA-000BKB-6q; Wed, 16 Jan 2013 16:00:28 -0800 Message-ID: <50F73F19.20401@bluezbox.com> Date: Wed, 16 Jan 2013 16:00:25 -0800 From: Oleksandr Tymoshenko User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Jakob Alvermark Subject: Re: Isochronous USB transfers on RPI? References: <6BD0E5E4-3921-4F9B-9381-3813933670AE@alvermark.net> <201301161319.17236.hselasky@c2i.net> <78AB4FEC-6E16-4FCA-B172-3C7B37FEA4DF@alvermark.net> In-Reply-To: <78AB4FEC-6E16-4FCA-B172-3C7B37FEA4DF@alvermark.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: On 1/16/2013 6:29 AM, Jakob Alvermark wrote: > 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. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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: Thu, 17 Jan 2013 00:00:30 -0000 On 1/16/2013 6:29 AM, Jakob Alvermark wrote: > 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. I'm not familiar with webcam configuration on freebsd but do you have all the components setup on RPi? Kernel driver and/or userland bits? > > /Jakob > > On 16 jan 2013, at 13:19, Hans Petter Selasky wrote: > >> 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 >> > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >