;------------------------------------------------------------------------
;
;   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=05/10/2005,4.0.102.0
CatalogFile.ntx86=cx88vid.cat

[Manufacturer]
"Conexant"=Conexant

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

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

[Conexant]

;---------------------------------
; NTSC EVK
;---------------------------------
; Video Driver enabled
; Audio Driver disabled
; TS Driver disabled
; VIP Port disabled
; Host Port disabled
;---------------------------------

; CX23880 Version
%CX23880.videoNTSC%=CX23880.PhilipsNTSC,PCI\VEN_14F1&DEV_8800&SUBSYS_FF7F1642
%CX23880.null%=NullSection,         PCI\VEN_14F1&DEV_8801&SUBSYS_FF7F1642
%CX23880.null%=NullSection,         PCI\VEN_14F1&DEV_8802&SUBSYS_FF7F1642
%CX23880.null%=NullSection,         PCI\VEN_14F1&DEV_8803&SUBSYS_FF7F1642
%CX23880.null%=NullSection,         PCI\VEN_14F1&DEV_8804&SUBSYS_FF7F1642

; CX23881 Version
%CX23881.null%=NullSection,         PCI\VEN_14F1&DEV_8811&SUBSYS_FF7F1642

;---------------------------------
; PAL DKI with TCL2002 MI-3 tuner
;---------------------------------
; PAL Video Driver enabled
; Audio Driver disabled
; VIP Port disabled
; Host Port disabled
;---------------------------------
%CX23880.videoTCLPALDKI%=CX23880.TCLPALDKI,PCI\VEN_14F1&DEV_8800&SUBSYS_43561642
%CX23880.null%=NullSection,                PCI\VEN_14F1&DEV_8801&SUBSYS_43561642
%CX23880.null%=NullSection,                PCI\VEN_14F1&DEV_8802&SUBSYS_43561642
%CX23880.null%=NullSection,                PCI\VEN_14F1&DEV_8803&SUBSYS_43561642
%CX23880.null%=NullSection,                PCI\VEN_14F1&DEV_8804&SUBSYS_43561642


[NullSection]

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

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

[CX23880.CopyDrivers]
cx88vid.sys

;[CX23880.CopyFilters]
;cxtvrate.dll

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

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

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

[PhilipsNTSC.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","ColorKillEnable",0x00010001, 0x01,0x00,0x00,0x00
; Country code is USA = 1
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","Pll27",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"ENUM\Device1",pnpid,,"cxtune.VEN_14F1.philips"
HKR,"ENUM\Device2",pnpid,,"cx88xbar.VEN_14F1.cnxt"

HKR,"DriverData","EnableAFAudio",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","EnableBasebandAudio",0x00010001, 0x01,0x00,0x00,0x00


[TCLPALDKI.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x20,0x00,0x00,0x00
HKR,"DriverData","ColorKillEnable",0x00010001, 0x01,0x00,0x00,0x00
; Country code is China = 86
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x56,0x00,0x00,0x00
HKR,"DriverData","Pll27",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"ENUM\Device1",pnpid,,"cx88xbar.VEN_14F1.cnxt"
HKR,"ENUM\Device2",pnpid,,"cxtune.VEN_14F1.tcl2002mi3"

HKR,"DriverData","EnableAFAudio",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","EnableBasebandAudio",0x00010001, 0x01,0x00,0x00,0x00


[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.PhilipsNTSC.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

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


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

[CX23880.TCLPALDKI.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 23880 Video Capture"
CX23880.videoNTSC           = "Conexant 23880 Video Capture (NTSC)"
CX23880.videoTCLPALDKI      = "Conexant 23880 Video Capture (PAL-D/K & I)"
CX23880.null                = "Conexant (unused device function)"
CX23881.null                = "Conexant (unused device function)"

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"
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"


