WinCE 6中的USB主机复合驱动程序加载问题 [英] USB Host Composite Driver loading issue in WinCE 6

查看:79
本文介绍了WinCE 6中的USB主机复合驱动程序加载问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我们的设备支持2个接口。一个用于HID键盘的接口,另一个用于供应商特定的批量接口。我分别编写/克隆了这两个接口的客户端驱动程序并进行了测试。两者都分别正常工作。问题是,


当我尝试在单个映像中加载我的设备的客户端驱动程序时,仅加载了供应商特定的驱动程序,未加载另一个隐藏驱动程序。


当我深入了解USBD层时,我发现了以下陈述,


"       找到最常用的驱动程序后,将调用驱动程序附加进程。

       如果驾驶员接受对设备的控制,则不再加载任何车辆。$
        。自动 客户司机有责任支付b
       加载所有其他下边缘驱动程序和所有接口驱动程序。"


请任何人帮助我,客户端驱动程序如何为第二个接口加载另一个客户端驱动程序。


 


问候,


D。

解决方案

有几个线程讨论类似主题,看看它们是否有帮助:


http://social.msdn.microsoft.com/Forums/en/winembplatdev/thread/ff4d2952-f79b-47a1-b272 -0152372bcae1


http://social.msdn.microsoft.com/Forums/en-US/winembplatdev/thread/cc7fa500-2a27-4f4e-ae2f-4e6b93a75bf8


Hi,

Our device supports 2 interfaces. one interface for HID keyboard and another one for vendor specific bulk interface. I wrote/cloned the client driver for these two interfaces separately and tested also. Both are working fine separately. The problem is,

When i tried to load both the client driver for my device in the single image, vendor specific driver only loaded, another hid driver is not loaded.

When i dig into the USBD layer, i found the below statements,

"        Once the most general driver is found, the drivers attach process is called.
        If the driver accepts control of the device, then no more drivers are loaded
        automatically.  It is the responsibility of the client driver to
        load all other lower edge drivers, and all interface drivers."

Please anyone help me, how client driver loads another client driver for 2nd interface.

 

Regards,

D.

解决方案

There are a couple of threads that discuss a similar topic, see if they help:

http://social.msdn.microsoft.com/Forums/en/winembplatdev/thread/ff4d2952-f79b-47a1-b272-0152372bcae1

http://social.msdn.microsoft.com/Forums/en-US/winembplatdev/thread/cc7fa500-2a27-4f4e-ae2f-4e6b93a75bf8


这篇关于WinCE 6中的USB主机复合驱动程序加载问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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