xM USB-OTG problem

Hi!

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
http://elinux.org/BeagleBoardBeginners#Connect_with_your_beagleboard_using_VNC_and_ethernet_over_USB
or here
http://groups.google.com/group/beagleboard/browse_thread/thread/f8d105e182f69f29/60979e58adc51f13?lnk=gst&q=vnc#60979e58adc51f13

On beagleboard I've done:

karlson@beagleboard:~$ sudo modprobe g_ether
karlson@beagleboard:~$ sudo ifconfig usb1 192.168.10.202 netmask
255.255.255.0
karlson@beagleboard:~$ sudo route add default gw 192.168.10.200
karlson@beagleboard:~$ ifconfig usb1
usb1 Link encap:Ethernet HWaddr ea:01:e4:e7:c4:0f
          inet addr:192.168.10.202 Bcast:192.168.10.255 Mask:
255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          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..

Regards,

Yep, it is kernel.
Installed 2.6.37.2-x2 and everything works fine.