-
NDIS USB Device
Hi!
I am developing a minidriver for USB Device using NDIS.
I cannot bind my driver to NDIS, I get the following debug prints:
NDIS:+ndisAddPCMCIADevice(Drivers\Active\23)
ndisAddPCMCIADevice INdisOpenDeviceKey failed
NDIS:-ndisAddPCMCIADevice(Drivers\Active\23) result=0x0
NDIS:: ndisAddBusAgnosticDeviceFromNdisInit(): Error no "BusName" in ActivePath[Drivers\Active\23]
DEVICE!LaunchDevice: Init() failed for device 0xd0d9e970
DEVICE!I_ActivateDeviceEx: couldn't activate: prefix NDS, index 1, dll ndis.dll, context 0xd06aea00
I think the problem is with the registry. I used the following entries:
[HKEY_LOCAL_MACHINE\Drivers\cdc_ecm]
"Dll"="ndis.dll"
"Prefix"="NDS" ;NDIS MiniPort
"BusPrefix"="NDS"
"DeviceArrayIndex"=dword:4
"Miniport"="cdc_ecm"
"Order"=dword:3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ErrorReporting]
"cdc_ecm"=dword:65535
[HKEY_LOCAL_MACHINE\Comm\cdc_ecm]
"DisplayName"="Jungo CDC ECM"
"Group"="NDIS"
"ImagePath"="cdc_ecm.dll"
[HKEY_LOCAL_MACHINE\Comm\cdc_ecm\Parms]
"BusType"=dword:15
"BusNumber"=dword:0
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
"Bind" = "PPP, cdc_ecm"
Did I miss anything?