USBInstallDriver永远不会加载客户端驱动程序 [英] USBInstallDriver never loads the client driver

查看:158
本文介绍了USBInstallDriver永远不会加载客户端驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将基于第三方USB的气象站连接到我的CE 6.0 R3机器,但我从未收到附加事件。

I am trying to connect a 3rd party USB based Weather Station to my CE 6.0 R3 machine, but I never get the attached event.

使用我的电脑和USB Sniffer我可以在USB输入设备下看到以下属性

Using my computer and a USB Sniffer I can see the following properties under USB Input Device

设备描述符:

bcdUSB:         ;     0x0110

bDeviceClass:         0x00

bDeviceSubClass:      0x00

bDeviceProtocol:      0x00

bMaxPacketSize0:      0x08(8)

idVendor:           0x1941

idProduct:          0x8021

Device Descriptor:
bcdUSB:             0x0110
bDeviceClass:         0x00
bDeviceSubClass:      0x00
bDeviceProtocol:      0x00
bMaxPacketSize0:      0x08 (8)
idVendor:           0x1941
idProduct:          0x8021

我根据hidmou.dll示例创建了一个名为ANEHID.DLL的存根驱动程序,只是为了查看附加事件(我有一个

I created a stub Driver called ANEHID.DLL based from the hidmou.dll example just to see the attached event (I have a

,这些是我的注册表项:

and these are my registry keys:

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\ANEMOMETER]
	"DLL"="ANEHID.DLL"
	"Prefix"="ANE"

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1941_8021\Default\Default\ANEMOMETER]
	"DLL"="ANEHID.DLL"
	"Prefix"="ANE"
	"QueuedTransferCount"=dword:2

这些键是否坏了?

知道如何测试驱动程序是否加载?

Any idea how to test that the driver loads?

推荐答案

尝试在注册表中以十进制表示产品和设备ID:

Try expressing product and device id in the registry in decimal:

[ HKEY_LOCAL_MACHINE \Drivers\USB \ LoadClients\6465 <跨度> _32801\Defau lt \Default\ANEMOMETER ]


这篇关于USBInstallDriver永远不会加载客户端驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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