;------------------------------------------------------------------------------
;  Bt878.inf
;  Copyright (c) 1999-2003 AVerMedia Technologies, Inc.
;  All Rights Reserved.
;------------------------------------------------------------------------------
[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Msft%
DriverVer=02/18/2004,7.0.2.7
CatalogFile.ntx86=Bt848.cat

[Manufacturer]
%MsftMfg%=AVerMedia

[SourceDisksNames]
1="AVerMedia AVerTV, Bt878 WDM Drivers",,,""

[SourceDisksFiles]
Bt848.sys = 1
IOCtrl.dll   = 1
AVerTV2K.dll = 1

[BT848.CopyDrivers]
Bt848.sys

;[BT848.CopyFilters]
;

;[BT848.KnownFiles]
;Bt848.sys=safe

[BT848.AVerAPIs]
IOCtrl.dll
AVerTV2K.dll

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

;------------------------------------------------------------------------------
; Device ID List
;------------------------------------------------------------------------------
;
; ID Number     Device
;
; 0x36E         Bt878 (Video Section)
; 0x878         Bt878 (Audio Section)

[AVerMedia]
    ;------------------------------------------------------------------------------
    ; Function 0 - Video
    ;------------------------------------------------------------------------------
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_00011461
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_00021461
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_00031461
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_00041461
    %BT848.VideoDeviceDesc%=BT848.NoTuner, PCI\VEN_109E&DEV_036E&SUBSYS_00051461 ; EZCapture
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_02021461 ; 
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_A7041461 ; M167, Yama
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_A9041461 ; M169
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_A9021461 ; M169, another
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_04021461 ; M163
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_1036108D ; EA67
    %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_103613BD ; EA67, BIOS
    ;-----------
   ; %BT848.VideoDeviceDesc%=BT848.Philips, PCI\VEN_109E&DEV_036E&SUBSYS_00041461 ; tnf9533	
    ;-------------
    %BT848.VideoDeviceDesc%=BT848.NoTuner, PCI\VEN_109E&DEV_036E
    
    ;------------------------------------------------------------------------------
    ; Function 1 - Audio
    ;------------------------------------------------------------------------------
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_00011461
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_00021461
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_00031461
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_00041461
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_00051461 ; EZCapture
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_02021461 ; 
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_A7041461 ; M167, Yama
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_A9041461 ; M169
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_A9021461 ; M169, another
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_04021461 ; M163
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_1036108D ; EA67
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_103613BD ; EA67, BIOS
    ;-------
    ;%BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878&SUBSYS_00041461 ; tnf9533	
    ;------	
    %BT848.AudioDeviceDesc%=AudioSection,  PCI\VEN_109E&DEV_0878

[AudioSection]

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

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

[BT848.NoTuner]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT, MSPCLOCK.Installation
AddReg=     BT848.AddReg, NoTuner.AddReg
CopyFiles=  BT848.CopyDrivers, BT848.AVerAPIs
;KnownFiles= BT848.KnownFiles

[BT848.AddReg]
;--------------------------;
; Video Capture Registery  ;
;--------------------------;
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Bt848.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
HKR,"DriverData","Complexity",0x00010001, 0x01, 0x00, 0x00, 0x00

;-------------------------;
; Tuner Registery         ;
;-------------------------;
HKR,"DriverData","AudioModule",0x00010001, 0x00, 0x00, 0x00, 0x00	;MONO
HKR,"DriverData","TunerBrand",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","TunerI2CAddress",0x00010001, 0xc2, 0x00, 0x00, 0x00
HKR,"DriverData","TunerSystem",0x00010001, 0x00, 0x00, 0x00, 0x00	;NTSC
;Added on 2002/08/14, for TCL2002MI3
HKR,"DriverData","PLLFineTune",0x00010001,0x00, 0x00, 0x00, 0x00	

;-------------------------;
; XBar Registery          ;
;-------------------------;
HKR,"DriverData","LastVideoSource",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","LastAudioSource",0x00010001, 0xff,0xff,0xff,0xff

;video svideo
HKR,"DriverData\InPin0","PinType",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\InPin0","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin0","Medium",,%GUID_NULL%

;video tuner
HKR,"DriverData\InPin1","PinType",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\InPin1","RelatedPinIndex",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\InPin1","Medium",,%GUID_0%

;video composite
HKR,"DriverData\InPin2","PinType",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\InPin2","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin2","Medium",,%GUID_NULL%

;audio tuner
HKR,"DriverData\InPin3","PinType",0x00010001, 0x00,0x10,0x00,0x00
HKR,"DriverData\InPin3","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\InPin3","Medium",,%GUID_3%

;audio line
HKR,"DriverData\InPin4","PinType",0x00010001, 0x01,0x10,0x00,0x00
HKR,"DriverData\InPin4","RelatedPinIndex",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\InPin4","Medium",,%GUID_5%

;video video decoder
HKR,"DriverData\OutPin0","PinType",0x00010001, 0x0C,0x00,0x00,0x00
HKR,"DriverData\OutPin0","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\OutPin0","Medium",,%GUID_4%

;audio audio decoder
HKR,"DriverData\OutPin1","PinType",0x00010001, 0x09,0x10,0x00,0x00
HKR,"DriverData\OutPin1","RelatedPinIndex",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData\OutPin1","Medium",,%GUID_NULL%

HKR,"DriverData","EnableTuner", 0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","EnableXBar",  0x00010001, 0x01, 0x00, 0x00, 0x00

[Philips.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","SoundType",0x00010001, 0x00, 0x00, 0x00, 0x00	  ;Mono
HKR,"DriverData","TunerSystem",0x00010001, 0x00, 0x00, 0x00, 0x00 ;NTSC

HKR,"DriverData","EnableTuner", 0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","EnableXBar",  0x00010001, 0x01, 0x00, 0x00, 0x00

[NoTuner.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00 
HKR,"DriverData","SoundType",    0x00010001, 0x00, 0x00, 0x00, 0x00 ;Mono
HKR,"DriverData","TunerSystem",  0x00010001, 0x00, 0x00, 0x00, 0x00 ;NTSC

HKR,"DriverData","EnableTuner", 0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","EnableXBar",  0x00010001, 0x01, 0x00, 0x00, 0x00

[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.Philips.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TvTuner,  ;For TVTuner
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar, ;For XBar

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


[BT848.NoTuner.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TvTuner,  ;For TVTuner
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar, ;For XBar

[BT848.NoTuner.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\Bt848.sys

;----------------------------;
; For TVTuner interface      ;
;----------------------------;
[TvTuner]
AddReg=TvTuner.AddReg

[TvTuner.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%BTTUNER.TUNER%

[TvSiliconTuner]
AddReg=TvTuner.AddReg

[TvSiliconTuner.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%BTTUNER.siliconTuner%
;----------------------------;
; For XBar interface         ;
;----------------------------;
[Crossbar]
AddReg=Crossbar.AddReg

[Crossbar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%BTXBAR.Crossbar%


[Strings]
Msft=                   "AVerMedia Technologies"
MsftMfg=                "AVerMedia"
BT848.VideoDeviceDesc=  "AVerMedia UltraTV WDM Video Capture (878)"  ; For Device Manager	
BT848.AudioDeviceDesc=  "AVerMedia UltraTV WDM Audio Capture (878)"  ; For Device Manager	
BT848.Capture=          "AVerMedia, AVerTV WDM Video Capture (878)" ; For Direct-Show
BT848.TvAudio=          "AVerMedia, AVerTV WDM Audio Capture (878)" ; For Direct-Show
BTTUNER.Tuner=		"AVerMedia, AVerTV TvTuner (878)"           ; For Direct-Show
BTXBAR.Crossbar=	"AVerMedia, AVerTV Crossbar (878)"          ; For Direct-Show
RunOnce=                "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"

SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_ERROR_NORMAL=1

GUID_NULL="{00000000-0000-0000-0000-000000000000}"
;0xa19dc0e0, 0x3b39, 0x11d1, 0x90, 0x5f, 0x0, 0x0, 0xc0, 0xcc, 0x16, 0xba
GUID_0="{A19DC0E0-3B39-11D1-905F-0000C0CC16BA}"
;0xa19dc0e3, 0x3b39, 0x11d1, 0x90, 0x5f, 0x0, 0x0, 0xc0, 0xcc, 0x16, 0xba
GUID_3="{A19DC0E3-3B39-11D1-905F-0000C0CC16BA}"
;0xa19dc0e5, 0x3b39, 0x11d1, 0x90, 0x5f, 0x0, 0x0, 0xc0, 0xcc, 0x16, 0xba
GUID_5="{A19DC0E5-3B39-11D1-905F-0000C0CC16BA}"
;0xa19dc0e4, 0x3b39, 0x11d1, 0x90, 0x5f, 0x0, 0x0, 0xc0, 0xcc, 0x16, 0xba
GUID_4="{A19DC0E4-3B39-11D1-905F-0000C0CC16BA}"
