0

我买了一条声称符合 CDC 标准的 USB 转串口线。

但是接口描述符中的 bInterfaceClass 值是 0xFF(这是特定于供应商的)。我期待它是 0x02(通信和 CDC 控制)。

在设备管理器中,我发现正在加载的驱动程序是 ser2pl.sys 和 serenum.sys。我了解到 usbser.sys 是 Windows CDC 驱动程序,但它没有为我的电缆加载。

我对这个 CDC 很陌生,所以我有以下问题

1.这是否表明电缆不符合 CDC 2.我可以通过加载 usbser.sys 使此电缆符合 CDC(因为 CDC 是驱动程序功能)。如果是怎么办?

4

2 回答 2

0
  1. I don't know for sure but thats indication that cable will not necessary follow CDC
  2. I don't think you can make it compliant but if you want to use usbser.sys as driver for that cable you should provide inf file which should load usbser.sys if your cable is connected, check the driver VID PID etc probably this should help http://www.mjmwired.net/kernel/Documentation/usb/gadget_serial.txt (search for usbser.sys and look for .inf file, and modyfi it accordingly.
于 2010-03-24T10:11:38.027 回答
0

ser2pl.sys 建议使用 Prolific PL2303 设备。它们不符合 CDC 标准,并且不能与 CDC 驱动程序一起使用。OTOH 他们正在 Windows、Linux 和 OS X 上工作,并且可能是市场上最兼容的芯片。

有线电视供应商没有使用 CDC,因为它在 Windows XP 和 IIRC 中实现得非常糟糕,在 9x/Me 中根本不可用。很高兴该驱动程序最终可以在 Windows 7 中正常工作(不知道关于 Vista 的情况)。

于 2011-04-06T12:50:56.430 回答