From owner-freebsd-usb@FreeBSD.ORG Tue Sep 16 11:00:55 2008 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6CEC1065674; Tue, 16 Sep 2008 11:00:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 687F68FC18; Tue, 16 Sep 2008 11:00:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m8GAwXSH082281; Tue, 16 Sep 2008 04:58:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 16 Sep 2008 04:59:15 -0600 (MDT) Message-Id: <20080916.045915.117918889.imp@bsdimp.com> To: guru@unixarea.de From: "M. Warner Losh" In-Reply-To: <20080916103159.GA17166@rebelion.Sisis.de> References: <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> <20080916103159.GA17166@rebelion.Sisis.de> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arm@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: Openmoko phones and USB on FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 11:00:55 -0000 In message: <20080916103159.GA17166@rebelion.Sisis.de> Matthias Apitz writes: : El d=EDa Saturday, September 13, 2008 a las 08:46:46PM +0200, Torfinn= Ingolfsen escribi=F3: : = : > On Sat, 13 Sep 2008 14:22:20 +0200 : > Matthias Apitz wrote: : > = : > > Concerning accessing the Openmoko through USB I thought that this= is : > > possible, at least the Openmoko's Wiki says this: : > > http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD : > = : > Yes, this is possible. When I plug in my Neo FreeRunner into this : > FreeeBSD workstation, I get this in /var/log/messages: : > Sep 13 20:36:14 kg-work2 root: Unknown USB device: vendor 0x1457 pr= oduct 0x5122 bus uhub1 = : > Sep 13 20:36:15 kg-work2 kernel: cdce0: on uhub1 = : > Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 2= 0:36:15 kg-work2 kernel: cdce0: Ethernet address: : > 2a:fd:05:61:9b:00 = : > Sep 13 20:36:15 kg-work2 kernel: cdce0: if_start running deferred f= or Giant : = : ... : = : To prepare things a bit while still waiting for my Openmoko Gadget, I= 've : pulled out 'dfu-util' from SVN as described in the Openmoko Wiki: : = : http://wiki.openmoko.org/wiki/Dfu-util : = : $ svn co http://svn.openmoko.org/trunk/src/host/dfu-util/ : $ cd dfu-util : $ ./autogen.sh : $ ./configure : $ make : = : but it does not compile because of missing header files: : = : main.c:29:22: error: byteswap.h: No such file or directory : main.c:30:20: error: endian.h: No such file or directory : = : before digging into the details, is there already a port of 'dfu-util= ' : to FreeBSD? Looks like somebody didn't do their homework right: and are Linuxisms not protected by proper autoconf goo. Warner