Hi All,
Iam novice to DDK and Driver stuff. I have compiled and installed a filter driver provided by Microsoft DDK .Its a generic NULL filter driver .I installed it with the sample INF file given with the source. The INF file was initially with little details which i filled in by trial/error method. The installation software i used is also given by DDK sample ie,.“Install Program for Windows 2000 drivers”.
I have installed the filter driver as “UpperFilter” with USB\ROOT_HUB as hardware ID. I can see my filter.sys above usbhub.sys in device manager after installation. But the problem is before installation, in the USB Root Hub, I see two files in windows Xp.
1.usbd.sys
2usbhub.sys
After installing my filter driver, I see…in device manager…driver details for USB Root Hub…
1.filter.sys
2.usbhub.sys
1.where did the usbd.sys go ?
2.Is my filter driver overriding usbd.sys ?
3.How to ensure my filter driver sits on top of both the drivers ?
This is the INF file i use :
[Version]
Signature=“$Windows NT$”
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%HP%
DriverVer=11/14/1999,5.00.2183.1
[Manufacturer]
%HP% =HP
[HP]
%HPDesc% =HP_Inst,USB\ROOT_HUB
[DestinationDirs]
HP_Inst.CopyList= 12, %windir%\system32\drivers
[HP_Inst.NT]
Include=usb.inf
; Windows 2000 Install Sections
;
[HP_Inst.NT.HW]
Addreg =testUSB.Addreg.NT.HW
; Windows 2000 HW Install Sections
;
[testUSB.Addreg.NT.HW]
HKR,UpperFilters,0x00010008,HP
; Windows 2000 Service Install Sections
;
[HP_Inst.NT.Services]
Addservice =HP,testUSB_Services_Install
[testUSB_Services_Install]
DisplayName = “USB Filter Driver”
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\filter.sys
LoadOrderGroup = “pnp filter”
[HP_Inst.CopyList]
filter.sys
[SourceDiskFiles]
filter.sys=1
[Strings]
%HP% =“HP”
%HPDesc% =“HP Upper Filter Driver”
please help me…
Thanks and Regards,
-Mahesh
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend’s mobile from Yahoo! Messenger Version 8. Get it NOW