xM USB-OTG problem


I've got xM rev.B with Ubuntu 10.10 on board.

karlson@beagleboard:~$ uname -a
Linux beagleboard 2.6.35-24-omap #42-Ubuntu Wed Dec 8 06:37:32 UTC
2010 armv7l GNU/Linux

I try to make network like mentioned here
or here

On beagleboard I've done:

karlson@beagleboard:~$ sudo modprobe g_ether
karlson@beagleboard:~$ sudo ifconfig usb1 netmask
karlson@beagleboard:~$ sudo route add default gw
karlson@beagleboard:~$ ifconfig usb1
usb1 Link encap:Ethernet HWaddr ea:01:e4:e7:c4:0f
          inet addr: Bcast: Mask:
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Then I connect usb cable from host PC under WinXPSP3 to xM. I use
linux.inf from here http://embedded.seattle.intel-research.net/wiki/index.php?title=Setting_up_USBnet&redirect=no
Some splashing, baloontips saying that RNDIS gadget discovered and
then "This device cannot start. (Code 10)". And nothing happens after.
The same thing with my notebook win Win7.

xM is powered with external 5v adapter.

What do I do wrong and how to fix it?

I've found that this is not Windows error, because with Angstrom
everything works fine.
So, HW is ok. Smth is wrong with my ubuntu :slight_smile:

Alex, since your running Canonical's kernel release (2.6.35-24-omap)
you might want to ping the guys on freenode: #ubuntu-arm

I'm not sure if/how they setup the OTG port for use as a usb gadget
device on the beagle's..


Yep, it is kernel.
Installed and everything works fine.