Praveen On Wed, Apr 22, 2015 at 6:59 AM, Praveen Murali <pmurali@xxxxxxxxxxxx> wrote: >> > -----Original Message----- >> > From: Ricardo Ribalda Delgado [mailto:ricardo.ribalda@xxxxxxxxx] >> > Sent: Tuesday, April 21, 2015 1:33 AM >> > To: Praveen Murali >> > Cc: linux-usb@xxxxxxxxxxxxxxx; balbi@xxxxxx; mina86@xxxxxxxxxx >> > Subject: Re: usb: gadget: g_multi does not work with net2280 >> > >> > Can you try with the latest kernel from linux-next? >> > Hi Ricardo, > I tried this with the kernel from linux-next tree; that did not work for me either. > The g_multi driver crashes the kernel on load (stack trace is attached). I was able > to use the configfs to export the RNDIS and mass storage functions, but its again > either/or (only one of them works). > > I played around with the endpoint assignments and the pattern I am seeing here is > that the interface that gets the first set of endpoints works. That is, even if RNDIS is > the first interface but I force it to use the endpoints other than 1, 2, or 3 it will not > work. Similarly, with mass storage only function it needs endpoints 1 and 2 or 2 and 3 > to work correctly. Now, this is a problem only when the host is Windows, Linux host > works either ways. Does windows expect the endpoint numbering to be a certain way? > > Is this an issue with the usb3380? Or do I need a linux-usbstor .inf similar to the linux.inf > for RNDIS? Also, any idea as to how this was tested to originally? > >> > There are some patches from Mian Yousaf Kaukab >> > <yousaf.kaukab@xxxxxxxxx>, that might be related to your problem >> >> Is it libcomposite where the fixes were made? >> > This was a silly question, please disregard. >> > Regards >> > > Thanks, > Praveen > > > This is windows limitation. . Could you let me know which widows you are using and secondly at which interface you are connecting RNDIS. Actually if I am correct there is a issue with few of windows. RNDIS will not work if it is not the first interface. When I was working long time back it was Windows XP service pack 2 which has almost the same issue. ~Rajeev -- 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