From owner-freebsd-mips@FreeBSD.ORG Sat Apr 2 00:27:31 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DB6110656EA for ; Sat, 2 Apr 2011 00:27:30 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E132E8FC08 for ; Sat, 2 Apr 2011 00:27:29 +0000 (UTC) Received: by gxk28 with SMTP id 28so1884341gxk.13 for ; Fri, 01 Apr 2011 17:27:29 -0700 (PDT) Received: by 10.151.20.16 with SMTP id x16mr4589000ybi.128.1301704049164; Fri, 01 Apr 2011 17:27:29 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.151.13.12 with HTTP; Fri, 1 Apr 2011 17:27:09 -0700 (PDT) In-Reply-To: References: From: Juli Mallett Date: Fri, 1 Apr 2011 17:27:09 -0700 X-Google-Sender-Auth: aJalNfOgf3rYMk_TIi9pxmCND58 Message-ID: To: Andrew Duane Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "mips@freebsd.org" Subject: Re: Blatant simple bug in Cavium SDK USB code? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 00:27:31 -0000 On Fri, Apr 1, 2011 at 17:15, Andrew Duane wrote: > I have USB hardware, and some familiarity with at least the bottom half o= f the code. I know nothing of the scheduling, perdiodic stuff, the USB prot= ocol itself. But I can probably look at the hardware and driver aspects of = it. =A0My hardware is very simple, a direct connect between the 5650 and a = single USB plug on the chassis. There's a similar platform I have someone e= lse working on that has a 4-port hub too, to look at "some day". > > We got a driver from a 3rd party company called Synopsis I think, I doubt= there's any way we can use it, but I should be able to get the bottom half= going to at least recognize a stick. That's the DWC_OTG driver. It's BSD-licensed (or nearly so) in Octeon Linux, but probably GPL tainted in at least a few places. Someone was working on porting it to FreeBSD, but I believe they abandoned that approach in favor of writing a driver from scratch. It should be easy enough to port to FreeBSD, although I understand that Elite USB Hackers probably wouldn't find a from-scratch driver very difficult given the amount of code-as-documentation that's available in that for. Good luck!