Hi,
I have a true composite device with IAD that is handled by USBCCGP.
However I have to add vendor command support for USBCCGP so that to
be able to send vendor commands to “USBCCGP” (i.e. to be able to send
commands that are captured by the underlying firmware/hardware in any case).
Wished to create a lower filter below USBCCGP like this:
; For XP and later
[i7evobox_ctrl.NT$ARCH$]
%i7evobox.flash.Dev.Desc%=i7evobox.ctrl.Dev, USB\VID_2196&PID_0001
;--------------------------------------------------------------------------
; Device driver
;--------------------------------------------------------------------------
[i7evobox.ctrl.Dev.NT]
CopyFiles = i7evobox.ctrl.Dev.NT.CopyFiles
AddReg = i7evobox.ctrl.Dev.NT.AddReg
[i7evobox.ctrl.Dev.NT.CopyFiles]
usbccgp.sys
i7evobox_ctrl.sys
[i7evobox.ctrl.Dev.NT.Services]
AddService = usbccgp, 0x00000002, DriverServiceInst
AddService = i7evobox_ctrl, 0x00000000, DriverLower.AddService
[i7evobox.ctrl.Dev.NT.AddReg]
HKR,DevLoader,*ntkern
HKR,NTMPDriver,usbccgp.sys
[i7evobox.ctrl.Dev.NT.HW]
AddReg=DriverLower.HW
[DriverLower.HW]
HKR,LowerFilters, 0x00010000, “i7evobox_ctrl”
;--------------------------------------------------------------------------
; Services
;--------------------------------------------------------------------------
[DriverServiceInst]
DisplayName = %USBCCGP_SERVICE%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbccgp.sys
LoadOrderGroup = PNP Filter
[DriverLower.AddService]
DisplayName = %I7EVOBOX_CTRL_SERVICE%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\i7evobox_ctrl.sys
But I have an issue. As my device is a IAD one, during enumeration Windows
assigns the “default” USBCCGP.SYS to the device no matter if I wish to overrule
this manually via “updating” my driver and pointing it to my filter driver.
So the question comes:
* can I create a lower filter for USBCCGP?
* how can I handle the situation so that USBCCGP would not be found automatically,
but Windows would request my fitler driver?
Thanks,