检查usbser.sys是否仍在工作/轮询COM端口/CDC设备 [英] Checking whether usbser.sys is still working/polling a COM port/CDC device

查看:103
本文介绍了检查usbser.sys是否仍在工作/轮询COM端口/CDC设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
是否可以通过程序检查usbser.sys是否仍然轮询连接了使用CDC(通信设备类)的USB设备的特定COM端口?如果是的话,怎么做呢?

顺便说一句,问题是要编写一些测试代码来验证是否存在usbser.sys问题,例如上面所述.请访问 http://www.microchip.com/forums/m538194.aspx .简而言之,您可以在其中阅读以下内容:如果PC与USB设备通信并且通信失败(例如,由于嘈杂的信号,到长或低质量的USB电缆而引起的通信)三次,则Microsoft的驱动程序usbser.sys将停止工作/轮询.通常,您可以通过拔下相应的设备来重新激活接口.

特别是要认识到这种情况,请在此处查看: http://www.microchip.com/forums/download. axd?file = 0; 538194 [ ^ ]

N.B.这个问题是前面一个问题的继承人": USB设备仿真c# ,c ++ [ ^



提前非常感谢.
问候]

Hello all
Is it possible to check programmatically whether usbser.sys does still poll a specific COM port where a USB device using CDC (Communication Device Class) is connected? If yes any idea how to do that?

By the way the question is to make some test code to verify whether there is a usbser.sys problem like described e.g. at http://www.microchip.com/forums/m538194.aspx. In short what you can read there: If the pc communicates with a USB device and the communication fails (caused e.g. noisy signals, to long or bad quality usb cable) three times, then Microsoft’s driver usbser.sys stops working/polling. Usually you can reactivate the interface by unplug/plug the respective device.

Especally to recognize this situation visualized here: http://www.microchip.com/forums/download.axd?file=0;538194[^]

N.B. This question is a ''successor'' from a previous q from side: USB Device simulation c#, c++[^



Many thanks in advance.
Regard]

推荐答案

不是我所知道的,不.我不知道它公开的接口可以让您查询该信息.
Not that I know of, no. I don''t know of an interface exposed by it that will let you query that information.


这篇关于检查usbser.sys是否仍在工作/轮询COM端口/CDC设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆