I'm using the Mistral DM3730 EVM (Linux 2.6.37), and I'm trying to get RNDIS working on the OTG port.
I'm using an OTG cable to connect to an Android phone. The phone was detected and the RNDIS driver was loaded okay. I manually assigned an IP address to usb1, but I couldn't ping the phone from the EVM. I tried the same setup on the USB host port, and it worked successfully. Here are the two different logs (first one is host port, and the other is OTG port). Does anybody know what I'm missing?
[ 3369.941619] usb 1-2: new high speed USB device using ehci-omap and address 3
[ 3370.107452] usb 1-2: New USB device found, idVendor=04e8, idProduct=6860
[ 3370.114440] usb 1-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 3370.121856] usb 1-2: Product: Galaxy Nexus
[ 3370.126129] usb 1-2: Manufacturer: samsung
[ 3370.130401] usb 1-2: SerialNumber: 014E28A215005011
# [ 3375.439941] usb 1-2: USB disconnect, address 3
[ 3375.808807] usb 1-2: new high speed USB device using ehci-omap and address 4
[ 3375.974639] usb 1-2: New USB device found, idVendor=04e8, idProduct=6864
[ 3375.981628] usb 1-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 3375.989074] usb 1-2: Product: Galaxy Nexus
[ 3375.993347] usb 1-2: Manufacturer: samsung
[ 3375.997619] usb 1-2: SerialNumber: 014E28A215005011
[ 3376.017608] rndis_host 1-2:1.0: usb1: register 'rndis_host' at usb-ehci-omap.0-2, RNDIS device, 82:16:df:c2:4e:82
# ifconfig usb1 192.168.42.130 netmask 255.255.255.0
# ping 192.168.42.129
PING 192.168.42.129 (192.168.42.129): 56 data bytes
64 bytes from 192.168.42.129: seq=0 ttl=64 time=8.332 ms
64 bytes from 192.168.42.129: seq=1 ttl=64 time=1.068 ms
64 bytes from 192.168.42.129: seq=2 ttl=64 time=1.312 ms
^C
--- 192.168.42.129 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.068/3.570/8.332 ms
-------------------------------------------------------------------------------
# [ 3260.957275] usb 2-1: new high speed USB device using musb-hdrc and address 4
[ 3261.114593] usb 2-1: device v04e8 p6860 is not supported
[ 3261.120117] usb 2-1: New USB device found, idVendor=04e8, idProduct=6860
[ 3261.127105] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 3261.134552] usb 2-1: Product: Galaxy Nexus
[ 3261.138824] usb 2-1: Manufacturer: samsung
[ 3261.143066] usb 2-1: SerialNumber: 014E28A215005011
[ 3265.707489] usb 2-1: USB disconnect, address 4
[ 3266.191650] usb 2-1: new high speed USB device using musb-hdrc and address 5
[ 3266.348846] usb 2-1: device v04e8 p6864 is not supported
[ 3266.354370] usb 2-1: New USB device found, idVendor=04e8, idProduct=6864
[ 3266.361358] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 3266.368804] usb 2-1: Product: Galaxy Nexus
[ 3266.373077] usb 2-1: Manufacturer: samsung
[ 3266.377319] usb 2-1: SerialNumber: 014E28A215005011
[ 3266.389373] rndis_host 2-1:1.0: usb1: register 'rndis_host' at usb-musb-hdrc.0-1, RNDIS device, 86:b3:72:f2:53:70
# ifconfig usb1 192.168.42.130 netmask 255.255.255.0
# ping 192.168.42.129
PING 192.168.42.129 (192.168.42.129): 56 data bytes
^C
--- 192.168.42.129 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
-------------------------------------------------------------------------------