;------------------------------------------------------------------
;
;   teleTV_only.inf -- This file contains installation information for
;                      Telegent Systems USB 2.0 TLG2300 Hybrid TV Device
;
;   This installation is for 32-bit Windows XP and Vista, teleTV-only.
;
;   Copyright (c) 2007-2009 Telegent Systems, Inc. All Rights Reserved.
;
;------------------------------------------------------------------

[Version]
Signature    = "$Windows NT$"
Class        = Media
ClassGUID    = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider     = %Vendor%
CatalogFile  = teleTV.cat
DriverVer    = 02/26/2010, 2.2.1

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
1 = %DiskLabel%,teleTV.sys,tlg2300_firmware.bin,

[SourceDisksFiles]
teleTV.sys             = 1   ; USB Hybrid TV driver
tlg2300_firmware.bin   = 1   ; USB Hybrid TV firmware
MVPlugin.dll           = 1   ; macrovision plugin
teleFilter.dll         = 1   ; two user mode transform filters

[DestinationDirs]
DefaultDestDir = 11
TLG2300.CopyDrivers = 10,system32\drivers
TLG2300.CopyFirmware = 10,system32
TLG2300.CopyMV = 11

[Manufacturer]
%Vendor% = Models, NTx86

[Models.NTx86]
; The following two lines are used for the single-PID 4001 configuration, teleTV-only 
%TLG2300.DeviceDesc.OEM%      = TLG2300.Install.ntx86,  USB\VID_1B24&PID_4001         ; Hybrid DVBT
%TLG2300.DeviceDesc.OEM%      = TLG2300.Install.ntx86,  USB\VID_1B24&PID_4001&MI_00  	; Hybrid DVBT

;---------------------  P O S E I D O N  --------------------
[TLG2300.Install.ntx86]
Include       = ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs         = KS.Registration, KSCAPTUR.Registration.NT, BDA.Registration, BDA.Installation.NT, WDMAUDIO.Registration.NT
AddReg        = TLG2300.AddReg
CopyFiles     = TLG2300.CopyDrivers, TLG2300.CopyFirmware, TLG2300.CopyMV
RegisterDlls  = TLG2300.DllReg

[TLG2300.AddReg]
; Add analog capture audio input and output pinnames
HKLM, %MediaCategories%\%TLG2300_ANALOG_AUDIO_IN_PIN%,  "Name",,"Audio In"
HKLM, %MediaCategories%\%TLG2300_ANALOG_AUDIO_OUT_PIN%, "Name",,"Audio Out"

[TLG2300.CopyDrivers]
teleTV.sys

[TLG2300.CopyFirmware]
tlg2300_firmware.bin

[TLG2300.CopyMV]
MVPlugin.dll
teleFilter.dll

[TLG2300.DllReg]
11,,"MVPlugin.dll",1
11,,"teleFilter.dll",1

;---- I N T E R F A C E S ----
[TLG2300.Install.ntx86.Interfaces]
AddInterface  = %KSCATEGORY_CAPTURE%, 				 %TLG2300_ANALOG_CAP_FILTER%,     VideoCaptureTV, 0
AddInterface  = %KSCATEGORY_VIDEO%,   				 %TLG2300_ANALOG_CAP_FILTER%,     VideoCaptureTV, 0
AddInterface  = %KSCATEGORY_AUDIO%,   				 %TLG2300_ANALOG_CAP_FILTER%,     VideoCaptureTV, 0
AddInterface  = %KSCATEGORY_XBAR%,    				 %TLG2300_ANALOG_XBAR_FILTER%,    VideoCrossbar, 0
AddInterface  = %KSCATEGORY_TVAUDIO%, 				 %TLG2300_ANALOG_TVAUDIO_FILTER%, VideoTvAudio, 0
AddInterface  = %KSCATEGORY_TVTUNER%, 				 %TLG2300_ANALOG_TUNER_FILTER%,   VideoTvTuner, 0
AddInterface  = %KSCATEGORY_BDA_RECEIVER_COMPONENT%, %TLG2300_BDA_CAP_FILTER%,        BdaCaptureTV, 0
AddInterface  = %KSCATEGORY_BDA_NETWORK_TUNER%,      %TLG2300_BDA_TUNER_FILTER%,      BdaTuner, 0


;----- A D D   I N T E R F A C E  Sections -----
[VideoCaptureTV]
AddReg = VideoCaptureTV.AddReg

[VideoCrossbar]
AddReg = VideoCrossbar.AddReg

[VideoTvAudio]
AddReg = VideoTvAudio.AddReg

[VideoTvTuner]
AddReg = VideoTvTuner.AddReg

[BdaCaptureTV]
AddReg=BdaCaptureTV.AddReg

[BdaTuner]
AddReg=BdaTuner.AddReg


;----- I N T E R F A C E  AddReg Sections -----
[VideoCaptureTV.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%TLG2300.Capture.Name%

[VideoCrossbar.AddReg]
HKR,,CLSID,,%KSXBar.CLSID%
HKR,,FriendlyName,,%TLG2300.CrossBar.Name%

[VideoTvAudio.AddReg]
HKR,,CLSID,,%KSTVAudio.CLSID%
HKR,,FriendlyName,,%TLG2300.TvAudio.Name%

[VideoTvTuner.AddReg]
HKR,,CLSID,,%KSTvTune.CLSID%
HKR,,FriendlyName,,%TLG2300.TvTuner.Name%
HKR,,TunerInstanceId,0x00010001,10

[BdaCaptureTV.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%TLG2300.BdaCapture.Name%

[BdaTuner.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%TLG2300.BdaTuner.Name%
HKR,,TunerInstanceId,0x00010001,10


;------ S E R V I C E S ------

[TLG2300.Install.NTx86.Services]
AddService = teleTV, %SPSVCINST_ASSOCSERVICE%, TLG2300.ServiceInstall
AddReg = TLG2300.ServiceInstall.AddReg

[TLG2300.ServiceInstall]
DisplayName   = %TLG2300.Service%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_DEMAND_START%
ServiceBinary = %12%\teleTV.sys

[TLG2300.ServiceInstall.AddReg]
; Re-initialize our bootload count to zero in case we encountered a repeated failure
HKR,"teleTV\Parameters","BootloaderCount",0x00010001,0


;--------------------- S T R I N G S -----------------------

[Strings]
;---------------
;Non-Localizable
;---------------

; Category GUIDs
KSCATEGORY_AUDIO        		  = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_VIDEO        		  = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_CAPTURE      		  = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_TVTUNER      		  = "{a799a800-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVAUDIO      		  = "{a799a802-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_XBAR         		  = "{a799a801-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_BDA_RECEIVER_COMPONENT = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
KSCATEGORY_BDA_NETWORK_TUNER      = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"

; Proxy GUIDs
KSProxy.CLSID           		  = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSXBar.CLSID            		  = "{71F96460-78F3-11d0-A18C-00A0C9118956}"
KSTVAudio.CLSID         		  = "{71F96462-78F3-11d0-A18C-00A0C9118956}"
KSTvTune.CLSID          		  = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"

; TLG2300 Filter GUIDs
TLG2300_ANALOG_CAP_FILTER     	  = "{7CFDAB8C-B0B8-4fc3-9714-809B54B7A206}"
TLG2300_ANALOG_XBAR_FILTER    	  = "{7A6E4833-07E3-4e59-B278-8E2A424032E9}"
TLG2300_ANALOG_TVAUDIO_FILTER 	  = "{1AFDA03F-01FA-4f43-A1A5-D02A9E17A97D}"
TLG2300_ANALOG_TUNER_FILTER   	  = "{CFC5B808-DE9B-4a49-9F29-101D69DDFE1F}"
TLG2300_BDA_CAP_FILTER        	  = "{1B94CC7E-FDA4-470e-8CCF-DFF3B86853C3}"
TLG2300_BDA_TUNER_FILTER      	  = "{F0BAE15E-F9D5-4a65-812F-40C3EF4173D5}"

; TLG2300 Pin GUIDs
TLG2300_ANALOG_AUDIO_OUT_PIN  	  = "{F2608348-C337-47e7-AFE5-6C1B85340E11}"
TLG2300_ANALOG_AUDIO_IN_PIN   	  = "{A9DE6AA4-E2CB-4ed9-BAE9-13BCD98AB818}"

; Registry Paths
MediaCategories     =     "SYSTEM\CurrentControlSet\Control\MediaCategories"

;---------------
;Constants
;---------------
SERVICE_KERNEL_DRIVER    = 1
SERVICE_DEMAND_START     = 3
SERVICE_ERROR_NORMAL     = 1
SPSVCINST_ASSOCSERVICE   = 0x00000002
FLG_ADDREG_TYPE_MULTI_SZ = 0x00010000

;---------------
;Localizable
;---------------
Vendor             = "Telegent Systems"
DiskLabel          = "Telegent Hybrid TV Driver Disk"

TLG2300.DeviceDesc.OEM     = "Telegent DVB-T and Analog Capture Device"
TLG2300_BOOT.DeviceDesc.OEM = "TLG2300 Firmware Download Device"
TLG2300.Service            = "TLG2300 USB Hybrid TV Service"
TLG2300.Capture.Name       = "TLG2300 Analog Capture"
TLG2300.CrossBar.Name      = "TLG2300 Analog CrossBar"
TLG2300.TvAudio.Name		= "TLG2300 Analog TvAudio"
TLG2300.TvTuner.Name       = "TLG2300 Analog TvTuner"
TLG2300.BdaCapture.Name    = "TLG2300 Digital Capture"
TLG2300.BdaTuner.Name      = "TLG2300 Digital Tuner"
