Re: CURRENT && USB network device, cdce

From: Bruce Cran <bruce_at_cran.org.uk>
Date: Fri, 17 Apr 2009 14:51:37 +0100
On Fri, 17 Apr 2009 13:23:19 +0200
Matthias Apitz <guru_at_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
Received on Fri Apr 17 2009 - 11:51:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC