Date: Fri, 17 Apr 2009 14:51:37 +0100 From: Bruce Cran <bruce@cran.org.uk> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-current@freebsd.org Subject: Re: CURRENT && USB network device, cdce Message-ID: <20090417145137.0ea386d9@gluon.draftnet> In-Reply-To: <20090417112318.GA8258@rebelion.Sisis.de> References: <20090417112318.GA8258@rebelion.Sisis.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Apr 2009 13:23:19 +0200 Matthias Apitz <guru@unixarea.de> wrote: > > Hello, > > In my installed CURRENT my USB network device does not bring up the > interface cdce0 anymore; the cdce is in kernel and all u*.ko modules > are loaded but it only says on device attach: > > Apr 17 13:16:44 tiny kernel: ugen1.2: <Linux 2.6.24/s3c2410_udc> at > usbus1 Apr 17 13:16:44 tiny root: Unknown USB device: vendor 0x1457 > product 0x5122 bus uhub1 > > on my RELENG_7 laptop is says: > > Apr 17 13:20:14 rebelion root: Unknown USB device: vendor 0x1457 > product 0x5122 bus uhub0 Apr 17 13:20:14 rebelion kernel: cdce0: > <Linux 2.6.24/s3c2410_udc RNDIS/Ethernet Gadget, class 2/0, rev > 2.00/2.12, addr 2> on uhub0 Apr 17 13:20:14 rebelion kernel: cdce0: > faking MAC address Apr 17 13:20:14 rebelion kernel: cdce0: Ethernet > address: 2a:ed:f2:e3:00:00 Apr 17 13:20:14 rebelion kernel: cdce0: > if_start running deferred for Giant > > I've checked /usr/src/UPDATING and Google, but can't see what I'm > missing; thx The GTA02 (I'm presuming that's what it is) has an RNDIS interface at configuration 0 and CDCE is at configuration 1 so you'll need to run: usbconfig -u 1 -a 2 set_config 1 The parameters to -a and -u will vary depending on which ugen device it gets detected as. Mine's often ugen3.2 but changes depending on which other USB devices I've plugged in. You should then see the kernel messages relating to cdce and be able to assign an IP address to ue0 (what was cdce0 in 7.x is now ue0). -- Bruce Cran
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090417145137.0ea386d9>