From owner-freebsd-usb@FreeBSD.ORG Sun Sep 14 02:48:54 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 CA9CF1065671; Sun, 14 Sep 2008 02:48:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.tele2.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 321258FC08; Sun, 14 Sep 2008 02:48:53 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=0DHSzo6Uc4gA:10 a=ZtwMFzhc6XSROYQlMkMA/A==:17 a=OCGuPPFrAAAA:8 a=UygqU94-AJ72Uq561IEA:9 a=0zWrqIOWMmk_l2yTD3ex2MVxgrgA:4 a=x0uADENsyE8A:10 a=LY0hPdMaydYA:10 Received: from [62.113.133.218] (account mc467741@c2i.net [62.113.133.218] verified) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 903016534; Sun, 14 Sep 2008 04:48:51 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 14 Sep 2008 04:50:43 +0200 User-Agent: KMail/1.9.7 References: <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809140450.43940.hselasky@c2i.net> Cc: freebsd-arm@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: Sun, 14 Sep 2008 02:48:54 -0000 On Saturday 13 September 2008, Torfinn Ingolfsen wrote: > 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 product > 0x5122 bus uhub1 Sep 13 20:36:15 kg-work2 kernel: cdce0: 2.6.24/s3c2410_udc RNDIS/Ethernet Gadget, class 2/0, rev 2.00/2.12, addr 2> > on uhub1 Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 > 20: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 for Giant > Hi, I figured it it now: My new USB stack selects configuration index 0 first, which is RNDIS. When I ran: usbconfig -u 2 -a 2 set_config 1 I got: cdce0: on usbus2 cdce0: Ethernet address: 5a:a0:96:da:00:00 --HPS