FreeBSD 8.1, if_cdce and an OpenMoko phone
Torfinn Ingolfsen
torfinn.ingolfsen at broadpark.no
Sun Sep 19 17:04:43 UTC 2010
On Sun, 19 Sep 2010 10:26:18 +0200
Hans Petter Selasky <hselasky at c2i.net> wrote:
> You need to:
>
> usbconfig -d X.Y set_config 1
>
> To get it working.
Indeed, that works nicely:
root at kg-work2# usbconfig -d 2.2 set_config 1
root at kg-work2# tail /var/log/messages
Sep 19 04:00:00 kg-work2 newsyslog[1242]: logfile turned over due to size>100K
Sep 19 18:56:18 kg-work2 kernel: cdce0: <CDC Ethernet Control Model (ECM)> on usbus2
Sep 19 18:56:18 kg-work2 kernel: ue0: <USB Ethernet> on cdce0
Sep 19 18:56:18 kg-work2 kernel: ue0: Ethernet address: 00:1f:11:01:0d:39
Sep 19 18:56:19 kg-work2 root: Unknown USB device: vendor 0x1457 product 0x5122 bus uhub2
root at kg-work2# ifconfig ue0
ue0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:1f:11:01:0d:39
Thanks!
For future reference, where is this (things like "set_config 1" and so on) documented?
The man page for usbconfig doesn't have any reference to it, nor does usb(4).
And perhaps the cdce(4) man page should mention that the interface name will be ueX?
HAND
--
Torfinn
More information about the freebsd-usb
mailing list