;------------------------------------------------------------------------
;
;   Copyright and Disclaimer:
;
;       ---------------------------------------------------------------
;       This software is provided "as is" without warranty of any kind,
;       either expressed or implied, including but not limited to the
;       implied warranties of merchantability and/or fitness for a
;       particular purpose.
;
;       Copyright (c) 1999-2000 Conexant Systems, Inc.
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;
;   Abstract:
;
;       This is the video capture driver inf file.
;
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="Conexant"
DriverVer=08/08/2005,2.1.59.4
CatalogFile.ntx86=cx88vid.cat

[Manufacturer]
"Conexant"=Conexant

[SourceDisksNames]
1="Conexant Cx23880 Drivers",,,""

[SourceDisksFiles]
cx88vid.sys=1
cxtvrate.dll=1


[Conexant]
; Conexant CX23880 Version
%CX23880.videoBlackbirdSi%=CX23880.BB_Silicon,PCI\VEN_14F1&DEV_8800&SUBSYS_084017DE
%CX23880.videoBlackbirdSi%=CX23880.BB_Silicon,PCI\VEN_14F1&DEV_8800&SUBSYS_03051421

; Conexant CX23880 Version
%CX23880.videoBlackbird%=CX23880.BB_NTSC,PCI\VEN_14F1&DEV_8800&SUBSYS_084217DE

; Conexant CX23880 Version w/o FM
%CX23880.videoBlackbird%=CX23880.BB_NTSC_WOFM,PCI\VEN_14F1&DEV_8800&SUBSYS_084417DE

; Conexant PAL tuner version
%CX23880.videoBlackbirdPal%=CX23880.BB_PAL,PCI\VEN_14F1&DEV_8800&SUBSYS_084117DE

; Conexant PAL tuner version
%CX23880.videoBlackbirdPal%=CX23880.BB_TNJPAL,PCI\VEN_14F1&DEV_8800&SUBSYS_084317DE


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

[CX23880.CopyDrivers]
cx88vid.sys

[CX23880.CopyFilters]
cxtvrate.dll


[CX23880.BB_Silicon]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     CX23880.AddReg,Blackbird_Common.AddReg,BB_Silicon.AddReg
CopyFiles=  CX23880.CopyDrivers,CX23880.CopyFilters
RegisterDlls=TvRating.RegDLL    ; enable TvRating DLL for this device

[CX23880.BB_NTSC]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     CX23880.AddReg,Blackbird_Common.AddReg,BB_NTSC.AddReg
CopyFiles=  CX23880.CopyDrivers,CX23880.CopyFilters
RegisterDlls=TvRating.RegDLL    ; enable TvRating DLL for this device

[CX23880.BB_NTSC_WOFM]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     CX23880.AddReg,Blackbird_Common.AddReg,BB_NTSC_WOFM.AddReg
CopyFiles=  CX23880.CopyDrivers,CX23880.CopyFilters
RegisterDlls=TvRating.RegDLL    ; enable TvRating DLL for this device

[CX23880.BB_PAL]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     CX23880.AddReg,Blackbird_Common.AddReg,BB_PAL.AddReg
CopyFiles=  CX23880.CopyDrivers,CX23880.CopyFilters
RegisterDlls=TvRating.RegDLL    ; enable TvRating DLL for this device

[CX23880.BB_TNJPAL]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     CX23880.AddReg,Blackbird_Common.AddReg,BB_TNJPAL.AddReg
CopyFiles=  CX23880.CopyDrivers,CX23880.CopyFilters
RegisterDlls=TvRating.RegDLL    ; enable TvRating DLL for this device
  
[TvRating.RegDLL]
11,,cxtvrate.dll,1

[CX23880.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cx88vid.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

[Blackbird_Common.AddReg]
HKR,"DriverData","VDelayOdd525",  0x00010001, 0x1C, 0x00, 0x00, 0x00
HKR,"DriverData","VDelayEven525", 0x00010001, 0x1C, 0x00, 0x00, 0x00
HKR,"DriverData","VActiveOdd525",  0x00010001, 0xe7, 0x01, 0x00, 0x00
HKR,"DriverData","VActiveEven525", 0x00010001, 0xe7, 0x01, 0x00, 0x00
HKR,"DriverData","Out656VDelayOdd525",  0x00010001, 0x26, 0x00, 0x00, 0x00
HKR,"DriverData","Out656VDelayEven525", 0x00010001, 0x26, 0x00, 0x00, 0x00
HKR,"DriverData","VDelayOdd625",  0x00010001, 0x26, 0x00, 0x00, 0x00
HKR,"DriverData","VDelayEven625", 0x00010001, 0x26, 0x00, 0x00, 0x00
HKR,"DriverData","VActiveOdd625",  0x00010001, 0x40, 0x02, 0x00, 0x00
HKR,"DriverData","VActiveEven625", 0x00010001, 0x40, 0x02, 0x00, 0x00
HKR,"DriverData","Out656VDelayOdd625",  0x00010001, 0x26, 0x00, 0x00, 0x00
HKR,"DriverData","Out656VDelayEven625", 0x00010001, 0x26, 0x00, 0x00, 0x00
HKR,"DriverData","ColorKillEnable",0x00010001, 0x01,0x00,0x00,0x00
;Enable I2S out to encoder
HKR,"DriverData","WWAudioEnableI2SOut",0x00010001, 0x01,0x00,0x00,0x00

; Disable Macrovision Obfuscation
HKR,"DriverData","EncoderMVDRM",0x00010001, 0x00,0x00,0x00,0x00


;I2S output format is Sony (1) 
HKR,"DriverData","WWAudioI2SOutFormat",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WWAudioI2SFrequency",0x00010001, 0x80,0xBB,0x00,0x00
HKR,"DriverData","WWAudioMuteDACs"    ,0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","Pll27",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","DisableAutoBlueScreen",0x00010001, 0x01, 0x00, 0x00, 0x00

[BB_Silicon.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WhiteCrushMAJSEL",  0x00010001, 0x01, 0x00, 0x00, 0x00
; Country code is USA = 1
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","UseCompositeOnSVideo",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","BlackbirdType",0x00010001, 0x04,0x00,0x00,0x00

; Enable Silicon Tuner for KW GPIO
HKR,"DriverData","UseSiliconTuner",0x00010001, 0x01,0x00,0x00,0x00

HKR,"ENUM\Device1",pnpid,,"cx88xbar.VEN_14F1.BB"
HKR,"ENUM\Device2",pnpid,,"cxtune.VEN_14F1.PhSilicon"

[BB_NTSC.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WhiteCrushMAJSEL",  0x00010001, 0x01, 0x00, 0x00, 0x00
; Country code is USA = 1
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","UseCompositeOnSVideo",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","BlackbirdType",0x00010001, 0x01,0x00,0x00,0x00

; Enable Silicon Tuner for KW GPIO
HKR,"DriverData","UseSiliconTuner",0x00010001, 0x00,0x00,0x00,0x00

HKR,"ENUM\Device1",pnpid,,"cx88xbar.VEN_14F1.BB"
HKR,"ENUM\Device2",pnpid,,"cxtune.VEN_14F1.PhilipsMK3"

[BB_NTSC_WOFM.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WhiteCrushMAJSEL",  0x00010001, 0x01, 0x00, 0x00, 0x00
; Country code is USA = 1
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","UseCompositeOnSVideo",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","BlackbirdType",0x00010001, 0x01,0x00,0x00,0x00

; Enable Silicon Tuner for KW GPIO
HKR,"DriverData","UseSiliconTuner",0x00010001, 0x00,0x00,0x00,0x00

HKR,"ENUM\Device1",pnpid,,"cx88xbar.VEN_14F1.BB"
HKR,"ENUM\Device2",pnpid,,"cxtune.VEN_14F1.FI1236MK3"

[BB_PAL.AddReg]
HKR,"DriverData","4in1Tuner",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","VideoStandard",0x00010001, 0x10,0x00,0x00,0x00
; Country code is Germany = 49
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"DriverData","UseCompositeOnSVideo",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","BlackbirdType",0x00010001, 0x01,0x00,0x00,0x00

; Enable Silicon Tuner for KW GPIO
HKR,"DriverData","UseSiliconTuner",0x00010001, 0x00,0x00,0x00,0x00

HKR,"ENUM\Device1",pnpid,,"cx88xbar.VEN_14F1.BB"
HKR,"ENUM\Device2",pnpid,,"cxtune.VEN_14F1.Philips4In1"

[BB_TNJPAL.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WhiteCrushMAJSEL",  0x00010001, 0x10, 0x00, 0x00, 0x00
; Country code is Germany = 49
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"DriverData","UseCompositeOnSVideo",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","BlackbirdType",0x00010001, 0x01,0x00,0x00,0x00

; Enable Silicon Tuner for KW GPIO
HKR,"DriverData","UseSiliconTuner",0x00010001, 0x00,0x00,0x00,0x00

HKR,"ENUM\Device1",pnpid,,"cx88xbar.VEN_14F1.BB"
HKR,"ENUM\Device2",pnpid,,"cxtune.VEN_14F1.TNJ4In1"



[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%

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

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

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

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

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

[CX23880.BB_Silicon.Services]
AddService = CX23880,0x00000002,CX23880.ServiceInstall

[CX23880.BB_NTSC.Services]
AddService = CX23880,0x00000002,CX23880.ServiceInstall

[CX23880.BB_NTSC_WOFM.Services]
AddService = CX23880,0x00000002,CX23880.ServiceInstall

[CX23880.BB_PAL.Services]
AddService = CX23880,0x00000002,CX23880.ServiceInstall

[CX23880.BB_TNJPAL.Services]
AddService = CX23880,0x00000002,CX23880.ServiceInstall

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


[Strings]
CX23880.video               = "Conexant 2388x Video Capture"
CX23880.videoBlackbirdSi   	= "Conexant 2388x Video Capture"
CX23880.videoBlackbird   	= "Conexant 2388x Video Capture"
CX23880.videoBlackbirdPal  	= "Conexant 2388x Video Capture"

CX23880.friendly            = "Conexant 2388x Video Capture"
CX23880.friendly2           = "Conexant 2388x TvAudio"

;RunOnce                    = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
SERVICE_KERNEL_DRIVER       = 1
SERVICE_AUTO_START          = 2
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"
