Hello:
I developed a lower filter driver that I am attaching to usbser.sys using a class lower filter inf file but I just need to attach it to a particular device instead of a class setup. Hence I changed the inf file that install usbser.sys and added the filter driver sections. Nevertheless, when I install the inf file using the device manager, I can see in driver details both sys files (usbser.sys and lower.sys) but when I run “devcon stack=ports” I cannot see the lower filter driver and even worst the DebugView does not display anything. Can you point me why I am wrong? This is my inf file:
[Version]
Signature=“$Windows NT$”
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MANUFACTURER%
LayoutFile=layout.inf
;CatalogFile=%FILENAME%.cat
DriverVer= 4/24/2009,1.6.2600.1
[DestinationDirs]
DefaultDestDir=12
[Manufacturer]
“FSL Software”
[SourceDiskFiles]
usbser.sys=1
low_usb.sys=1
[SimpleFilterDriverInstall]
CopyFiles=SimpleFilterDriverCopyFiles
AddReg=SimpleFilterDriverAddReg
[SimpleFilterDriverCopyFiles]
usbser.sys
low_usb.sys
[SimpleFilterDriverAddReg]
HKR,DevLoader,*ntkern
HKR,NTMPDriver,usbser.sys
HKR,EnumPropPages32,“MsPorts.dll,SerialPortPropPageProvider”
[SimpleFilterDriverInstall.hw]
AddReg=FilterAddreg
[FilterAddreg]
HKR,LowerFilters,0x00010000,low_usb.sys
[SimpleFilterDriverInstall.nt]
CopyFiles=SimpleCopyFiles
[SimpleFilterDriverInstall.nt.Services]
AddService=usbser,2,SimpleService
AddService=low_usb,FilterService
[SimpleService]
ServiceType=1 ; SERVICE_KERNEL_DRIVER
StartType=3 ; SERVICE_DEMAND_START
ErrorControl=1 ; SERVICE_ERROR_NORMAL
ServiceBinary=%12%\usbser.sys
[FilterService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\low_usb.sys
[SimpleFilterDriverInstall.NT.hw]
AddReg=FilterAddreg.nt
[FilterAddreg.nt]
HKR,LowerFilters,0x00010000,low_usb.sys