Windows XP 对远程 NDIS 的支持
我正在考虑开发一种需要支持 USB 以太网(托管在 Linux、XP 和 Vista 中)的设备。 据我了解,Vista和Linux支持行业标准USB CDC。 然而,在经典的 Windows 风格中,XP 只支持它自己的远程 NDIS。 所以,现在我正在考虑通过 RNDIS 来完成它,而不是为 XP 推出我自己的 CDC 驱动程序。
我读过一些较旧的文档,其中说即使是 XP 在 NDIS 方面也存在很多问题(令人惊讶!)。 有人有 XP RNDIS 驱动程序的经验吗? 它们对于产品开发安全吗? 任何见解将不胜感激。
I'm looking at developing a device which will need to support Ethernet over USB (hosted in Linux, XP, and Vista). As I understand it, Vista and Linux support the industry standard USB CDC. However, in classic Windows style, XP only supports it's own Remote NDIS. So, now I'm thinking of just bowing down and doing it over RNDIS, as opposed to rolling my own CDC driver for XP.
I've been reading some older documentation that says even XP is pretty buggy with NDIS (suprise!). Does anyone have experience with XP's RNDIS drivers? Are they safe for product development? Any insight would be much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我们在工作中使用 RNDIS。 我发现它时不时地蓝屏我的机器(大约每一两个月)。 然而,其他人(在我的工作中)没有发生过这种情况,所以它可能只是我使用的特定设备。
我认为它足够稳定,适合开发,所以尝试一下。
We use RNDIS at work. and I've found that it blue screens my machine every now and again (about every month or two). However others (at my work) have not had this happen, so it could just be the particular device that I use.
I think it is stable enough for development, so give it a go.
这里的问题是,Linux 在主机模式下不支持 RNDIS,并且由于 MS RNDIS 许可证限制,您无法开发自定义驱动程序。 由于相同的原因(许可),MAC 也不支持 RNDIS。
因此,如果您需要多平台解决方案,您需要一个标准方法,即 CDC/ECM。
市场上有很多可用的 CDC/ECM XP/VIsta 解决方案,您可以通过 google 搜索它们,我不想在这里宣传我们的解决方案:)
The problem here is that Linux does not support RNDIS in the host mode, and you can't develop custom driver due to MS RNDIS license restrictions. MAC does not support RNDIS as well due to same reason (licensing).
So if you need multiplatform solution you need a standard approach which is CDC/ECM.
There is number of available CDC/ECM XP/VIsta solutions in the market,you can google for them i don't want to advertise our solution here :)
经过我自己的研究和测试,单个 NDIS 设备工作得相当好。 但是,如果您确实需要支持多个 NDIS 设备,那么您就不走运了。 我的系统变得极其不稳定,基本上无法使用。 这是非常可重复的。
我不会在任何类型的多设备场景中推荐 NDIS。
After doing my own research and testing, a single NDIS device works reasonably well. However, if you are at all needing to support multiple NDIS devices, you are out of luck. My system became extremely unstable and was essentially unusable. This was very reproducible.
I would not recommend NDIS in any type of multiple-device scenario.
如果您正在寻找商业解决方案,Jungo 确实提供了适用于 Windows/Linux/Mac 的不错的 ECM 解决方案。 唯一的问题是,如果您要购买大批量产品,则必须向他们支付不菲的特许权使用费。
if you are looking for commercial solution, Jungo does provide decent ECM solutions works for Windows/Linux/Mac. The only problem is that you have to pay them non-trivial royalty fee if you are going for a mass volume product.