;------------------------------------------------------------------------
;
;   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-2008 Conexant Systems, Inc.
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;   File Revision Id:
;
;       $Header: cxvcap.inf
;
;   Abstract:
;
;       This is the captuer driver install file.
;
;------------------------------------------------------------------------

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Msft%
DriverVer=07/02/2004,5.0.0.30
CatalogFile.ntx86=cxvcap.cat

[Manufacturer]
%MsftMfg%=Conexant

;------------------------------------------------------------------------------
; These are the files we need installed
;------------------------------------------------------------------------------

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

[SourceDisksFiles]
cxvcap.sys=1

[BT848.CopyDrivers]
cxvcap.sys

[BT848.CopyFilters]

[BT848.KnownFiles]
cxvcap.sys=safe

[DestinationDirs]
BT848.CopyDrivers=10,system32\drivers   ; would 12 do this? (docs say not for win9x)
BT848.CopyFilters=11

;------------------------------------------------------------------------------
; Device ID List
;------------------------------------------------------------------------------
;
; ID Number     Device
;
; 0x350         Bt848
; 0x351         Bt849
; 0x36E         Bt878 (Video Section)
; 0x36F         Bt879 (Video Section)
; 0x370         Bt880 (Video Section)
; 0x878         Bt878 (Audio Section)
; 0x879         Bt879 (Audio Section)
; 0x880         Bt880 (Audio Section)

[Conexant]

    ;------------------------------------------------------------------------------
    ; Function 0 - Video
    ;------------------------------------------------------------------------------
    ; with EEPROM	
    %BT848.VideoDeviceDesc%=BT848.PhilipsNTSC,        PCI\VEN_109E&DEV_036E&SUBSYS_087817DE
    %BT848.VideoDeviceDesc%=BT848.PhilipsPAL,  	      PCI\VEN_109E&DEV_036E&SUBSYS_087917DE
    %BT848.VideoDeviceDesc%=BT848.Philips4in1, 	      PCI\VEN_109E&DEV_036E&SUBSYS_087A17DE
    %BT848.VideoDeviceDesc%=BT848.PhilTN5533, 	      PCI\VEN_109E&DEV_036E&SUBSYS_087B17DE
    %BT848.VideoDeviceDesc%=BT848.PhilTN9533, 	      PCI\VEN_109E&DEV_036E&SUBSYS_087C17DE
    ; without EEPROM
    %BT848.VideoDeviceDesc%=BT848.PhilipsNTSC,      PCI\VEN_109E&DEV_036E
    %BT848.VideoDeviceDesc%=BT848.PhilipsNTSC,      PCI\VEN_109E&DEV_036E&SUBSYS_FFFFFFFF

    ;------------------------------------------------------------------------------
    ; Function 1
    ;------------------------------------------------------------------------------
    ; with EEPROM
    %BT848.AudioDeviceDesc%=AudioSection, PCI\VEN_109E&DEV_0878&SUBSYS_087817DE
    %BT848.AudioDeviceDesc%=AudioSection, PCI\VEN_109E&DEV_0878&SUBSYS_087917DE
    %BT848.AudioDeviceDesc%=AudioSection, PCI\VEN_109E&DEV_0878&SUBSYS_087A17DE
    %BT848.AudioDeviceDesc%=AudioSection, PCI\VEN_109E&DEV_0878&SUBSYS_087B17DE
    %BT848.AudioDeviceDesc%=AudioSection, PCI\VEN_109E&DEV_0878&SUBSYS_087C17DE
    ; without EEPROM
    %BT848.AudioDeviceDesc%=AudioSection, PCI\VEN_109E&DEV_0878
    %BT848.AudioDeviceDesc%=AudioSection, PCI\VEN_109E&DEV_0878&SUBSYS_FFFFFFFF

[AudioSection]

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

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

[BT848.PhilipsPAL]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     BT848.AddReg,Phil_PAL.AddReg
CopyFiles=  BT848.CopyDrivers,BT848.CopyFilters
KnownFiles= BT848.KnownFiles

[BT848.Philips4in1]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     BT848.AddReg,Phil_4in1.AddReg
CopyFiles=  BT848.CopyDrivers,BT848.CopyFilters
KnownFiles= BT848.KnownFiles

[BT848.PhilTN5533]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     BT848.AddReg,Phil_TNFN.AddReg
CopyFiles=  BT848.CopyDrivers,BT848.CopyFilters
KnownFiles= BT848.KnownFiles

[BT848.PhilTN9533]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     BT848.AddReg,Phil_TNFP.AddReg
CopyFiles=  BT848.CopyDrivers,BT848.CopyFilters
KnownFiles= BT848.KnownFiles

[BT848.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cxvcap.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,01
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

[Phil_NTSC.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WWVideoCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"ENUM\Device1",pnpid,,"bttuner.phil_ntsc"
HKR,"ENUM\Device2",pnpid,,"btxbar"

[Phil_PAL.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x10,0x00,0x00,0x00
HKR,"DriverData","WWVideoCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"ENUM\Device1",pnpid,,"bttuner.phil_pal"
HKR,"ENUM\Device2",pnpid,,"btxbar"

[Phil_4in1.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x10,0x00,0x00,0x00
HKR,"DriverData","WWVideoCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"ENUM\Device1",pnpid,,"bttuner.phil_4in1"
HKR,"ENUM\Device2",pnpid,,"btxbar"

[Phil_TNFN.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WWVideoCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"ENUM\Device1",pnpid,,"bttuner.phil_tnfn"
HKR,"ENUM\Device2",pnpid,,"btxbar"

[Phil_TNFP.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x10,0x00,0x00,0x00
HKR,"DriverData","WWVideoCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"ENUM\Device1",pnpid,,"bttuner.phil_tnfp"
HKR,"ENUM\Device2",pnpid,,"btxbar"

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

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

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

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

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

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

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

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

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

[BT848.PhilipsPAL.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.Philips4in1.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.PhilTN5533.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.PhilTN9533.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.ServiceInstall]
DisplayName   = %BT848.VideoDeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\cxvcap.sys

[Strings]
Msft=                   "Conexant"
MsftMfg=                "Conexant"
BT848.VideoDeviceDesc=  "KWorld TV878 Video Capture"
BT848.AudioDeviceDesc=  "KWorld TV878 Audio Capture"
BT848.Capture=          "Conexant Capture"
BT848.TvAudio=          "Conexant TvAudio"
RunOnce=                "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"

SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_ERROR_NORMAL=1


