On Tuesday 22 August 2006 3:30 pm, Grahame Jordan wrote: > Hi, > > I have developed a device using a Gumstix (PXA255). The USBnet works > perfectly on Linux using CDC ethernet, however when it comes to running > it on Windows (RNDIS) which unfortunately will be the main target it > breaks really badly.
Which versions of Windows and Linux? Not that I use Windows much, but the last few times I've tried that combo there's been no particular issue. You might be missing a few bugfixes though. > It is clear that the RNDIS driver on Linux is incomplete because of the > lack of definative documentation from Microsoft. Interop with XP SP2 was OK last time I tested; older versions of Windows had various oddities though. Last time I tested, even the all-but-undocumented suspend/resume sequences behaved sanely. But agreed ... I keep meaning to point this out to the EU as a clear example of flawed documentation. Interop spects that stop at even 90% coverage are broken. > The device connects OK but after a short time it disconnects and in some > cases the networking layer on Windows freezes until the USB cable is > pulled out. Once the usb cable is put back in Widows reestablishes the > connection for a short time and then does it again. Never seen such failures (work for a while, then stop). Windows freezing is by definition a bug in Microsoft code, but we all know how unlikely bugfixes to that code are. :( > I am a newbie when it comes to working on USB and know little about > RNDIS but I am willing to troubleshoot this with a bit of guidance from > the usb-devel team. The obvious suggestions involve turning on debugging options when building the drivers, and/or throwing some kind of USB sniffer at the problem(*). The question of interest is what happened up to and during that freeze. - Dave (*) For this purpose a totalphase.com "Beagle" should suffice; the main problem I have with that is that it's rather eager to garble the most interesting protocol interactions during capture ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel