| From | Sent On | Attachments |
|---|---|---|
| Hans Petter Selasky | Sep 13, 2008 4:10 am | |
| Matthias Apitz | Sep 13, 2008 5:21 am | |
| Hans Petter Selasky | Sep 13, 2008 7:31 am | |
| Torfinn Ingolfsen | Sep 13, 2008 11:46 am | |
| Hans Petter Selasky | Sep 13, 2008 7:48 pm | |
| Matthias Apitz | Sep 16, 2008 3:31 am | |
| M. Warner Losh | Sep 16, 2008 3:58 am |
| Subject: | Re: Openmoko phones and USB on FreeBSD | |
|---|---|---|
| From: | Hans Petter Selasky (hsel...@c2i.net) | |
| Date: | Sep 13, 2008 7:48:43 pm | |
| List: | org.freebsd.freebsd-arm | |
On Saturday 13 September 2008, Torfinn Ingolfsen wrote:
On Sat, 13 Sep 2008 14:22:20 +0200
Matthias Apitz <gu...@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
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "free...@freebsd.org"





