;------------------------------------------------------------------------
;
;   Video capture driver Install Information File
;
;       V1.0.1.8 2005/12/06 00:00:00
;
;   Copyright (c) 2005 DTV-DVB Technology Inc.
;   All Rights Reserved.
;
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="DTV-DVB"
DriverVer=12/06/2005,1.0.1.8
CatalogFile.ntx86=3054VidCap.cat

[Manufacturer]
"DTV-DVB"=DTV-DVB

[SourceDisksNames]
1="DTV-DVB PCI Drivers",,,""

[SourceDisksFiles]
3054VidCap.sys=1

[DTV-DVB]
; PAL/DVB-T/FM using MT352 COFDM demod with Philips FDM1216ME tuner
; Video Driver enabled
; Audio Driver disabled
; TS Driver enabled
; VIP Port disabled
; Host Port disabled
;%CX23880.videoMT352FMD1216%=CX2388x.MT352FMD1216,PCI\VEN_14F1&DEV_8800&SUBSYS_08A117DE
%CX23880.videoMT352FMD1216%=CX2388x.MT352FMD1216,PCI\VEN_14F1&DEV_8800&SUBSYS_00191822
%CX23880.videoMT352FMD1216%=CX2388x.MT352FMD1216,PCI\VEN_14F1&DEV_8800&SUBSYS_00251822
;%CX23880.null%=NullSection,                          PCI\VEN_14F1&DEV_8801&SUBSYS_00191822
;%CX23880.null%=NullSection,                          PCI\VEN_14F1&DEV_8802&SUBSYS_00191822
;%CX23880.null%=NullSection,                          PCI\VEN_14F1&DEV_8803&SUBSYS_00191822
;%CX23880.null%=NullSection,                          PCI\VEN_14F1&DEV_8804&SUBSYS_00191822

[NullSection]

[NullSection.Services]
AddService = , 2  ; null service install

[DestinationDirs]
CX23880.CopyDrivers=10,system32\drivers
CX23880.CopyFilters=11

[CX23880.CopyDrivers]
3054VidCap.sys

[CX23880.CopyFilters]
; none for now

[CX2388x.MT352FMD1216]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     CX23880.AddReg,MT352FMD1216.AddReg
CopyFiles=  CX23880.CopyDrivers

[CX23880.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,3054VidCap.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,"DriverData","XBarInPin0",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData","XBarInPin1",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","XBarInPin2",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData","XBarInPin3",0x00010001, 0x00,0x10,0x00,0x00
HKR,"DriverData","XTal0",0x00010001, 0x1c, 0x00, 0x00, 0x00
HKR,"DriverData","XTal1",0x00010001, 0x23, 0x00, 0x00, 0x00
HKR,"DriverData","BobMode",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","VolumeLevelNegdB",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","UseExternalVPRES",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","UseI2SAsClock",0x00010001, 0x00, 0x00, 0x00, 0x00
HKLM,%MediaCategories%\%GUID.PINNAME_656_OUT%,Name,,%PinName.656_OUT%
HKLM,%MediaCategories%\%GUID.PINNAME_I2S_OUT%,Name,,%PinName.I2S_OUT%
HKLM,%MediaCategories%\%GUID.PINNAME_ANALOG_AUDIO_IN%,Name,,%Pin.p2AnalogAudioIn%

HKLM,%MediaInterfaces%\{0A7AF963-6805-4f99-B284-29B680975542},,,"Copy Protect Notification Filter"
HKLM,%MediaInterfaces%\{0A7AF963-6805-4f99-B284-29B680975542},IID,1,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[MT352FMD1216.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x00,0x01,0x00,0x00
HKR,"DriverData","ColorKillEnable",0x00010001, 0x01,0x00,0x00,0x00
; Country code is Great Britain = 44
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x2C,0x00,0x00,0x00
HKR,"DriverData","Pll27",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","FMPCIAudioEnable",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","MCEAudioOut",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"ENUM\Device1",pnpid,,"THAVXBAR.VEN_14F1.THAN"
HKR,"ENUM\Device2",pnpid,,"THTUNE.VEN_14F1.MT352FMD1216"
HKR,"ENUM\Device3",pnpid,,"THBDATUNE.VEN_14F1.MT352FMD1216"

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%CX23880.friendly%

[VideoTvAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%CX23880.friendly2%

[CX2388x.MT352FMD1216.Services]
AddService = CX23880,0x00000002,CX23880.ServiceInstall

[CX2388x.MT352FMD1216.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[CX23880.ServiceInstall]
DisplayName   = %CX23880.video%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\3054VidCap.sys

[Strings]
CX23880.video               = "DTV-DVB 3054 Video Capture"
CX23880.videoMT352FMD1216   = "DTV-DVB 3054 Analog Video Capture"
CX23880.friendly            = "DTV-DVB 3054 Analog Video Capture"
CX23880.friendly2           = "DTV-DVB 3054 Analog TvAudio"
;RunOnce                    = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
SERVICE_KERNEL_DRIVER       = 1
SERVICE_AUTO_START          = 2
SERVICE_DEMAND_START        = 3
SERVICE_ERROR_NORMAL        = 1

MediaCategories		 	    = "SYSTEM\CurrentControlSet\Control\MediaCategories"
MediaInterfaces          =    "System\CurrentControlSet\Control\MediaInterfaces"
GUID.PINNAME_656_OUT     	= "{E2EEB283-EB84-4910-BABE-037FFBB03249}"
GUID.PINNAME_I2S_OUT     	= "{71A59578-46D2-4368-BEAF-062B0447565D}"
GUID.PINNAME_ANALOG_AUDIO_IN    = "{04394D28-52A7-4c46-AED0-65D62CC64DA6}"
PinName.656_OUT          	= "656"
PinName.I2S_OUT          	= "I2S"
Pin.p2AnalogAudioIn         = "Analog Audio In"


