Date: Sun, 19 Sep 2010 19:04:31 +0200 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-usb@FreeBSD.org Subject: Re: FreeBSD 8.1, if_cdce and an OpenMoko phone Message-ID: <20100919190431.efa35d48.torfinn.ingolfsen@broadpark.no> In-Reply-To: <201009191026.18878.hselasky@c2i.net> References: <20100919011027.9e457282.torfinn.ingolfsen@broadpark.no> <201009191026.18878.hselasky@c2i.net>
index | next in thread | previous in thread | raw e-mail
On Sun, 19 Sep 2010 10:26:18 +0200 Hans Petter Selasky <hselasky@c2i.net> wrote: > You need to: > > usbconfig -d X.Y set_config 1 > > To get it working. Indeed, that works nicely: root@kg-work2# usbconfig -d 2.2 set_config 1 root@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@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 -- Torfinnhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100919190431.efa35d48.torfinn.ingolfsen>
