Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2008 04:50:43 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Openmoko phones and USB on FreeBSD
Message-ID:  <200809140450.43940.hselasky@c2i.net>
In-Reply-To: <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no>
References:  <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 13 September 2008, Torfinn Ingolfsen wrote:
> On Sat, 13 Sep 2008 14:22:20 +0200
>
> Matthias Apitz <guru@unixarea.de> 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: <Linux
> 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: <CDC Communications Control> on usbus2
cdce0: Ethernet address: 5a:a0:96:da:00:00

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809140450.43940.hselasky>