"Stojsavljevic, Zoran" <zoran.stojsavljevic@xxxxxxxxx> writes: > Hello Bjorn, > > One question out of curiosity... I am trying to ping from host > to target, and I see perfect ARP request coming to the target > (all 42 octets as required). > > But I do not see any reply from the target. It seems to me, > According what I am reading that something is very wrong > configured in my menuconfig. > > I do not see any messages coming to RNDIS (as you have > mentioned), especially to > skb_pull(skb, ...). > > I have in lsmod : > Module Size Used by > cdc_ether 9612 0 > cdc_subset 3069 0 > usbnet 28738 2 cdc_ether,cdc_subset > mii 4310 1 usbnet > > And as outcome of cat /proc/bus/usb/devices > > T: Bus=02 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 18 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs= 2 > P: Vendor=0525 ProdID=a4a2 Rev= 3.27 > S: Manufacturer=Linux 2.6.34.10-WR4.3.0.0_standard with max_udc > S: Product=RNDIS/Ethernet Gadget > C: #Ifs= 2 Cfg#= 2 Atr=c0 MxPwr= 2mA > A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00 > I: If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=02 Prot=ff Driver= > I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver= > E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 2mA > I:* If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=06 Prot=00 Driver=(none) > I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_subset > I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_subset > E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > According to what you wrote, I should have as lsmod ONLY g_ether > And outcome of cat /proc/bus/usb/devices > > I:* If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether > I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether > I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether > > Could you, please, elaborate more of this, what I wrote?! I am sorry, bu I do not really understand your question or how it is related to the host side driver I'm playing with. I do not have any access to the target side. Bjørn -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html