;
; Installation inf file for DVB-T USB adapter driver
; Copyright 2005, DTV-DVB

[Version]
signature	= "$CHICAGO$"
Class		= Media
ClassGUID	= {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider	= %DTV-DVB%
DriverVer	= 05/24/2006,2.0.1.0
CatalogFile 	= UDTT7049.cat
CatalogFile.NTAMD64 = AMD64\UDTT7049.cat
CatalogFile.NTIA64  = IA64\UDTT7049.cat

[Manufacturer]
%MfgName% = DTV-DVB, NTAMD64, NTIA64

[DTV-DVB]
%UDTT70491.DeviceDesc% = UDTT7049.Device1,USB\VID_1498&PID_9206

%UDTT7049.DeviceDesc%	= UDTT7049.Device,USB\VID_13D3&PID_3219
%UDTT70491.DeviceDesc% = UDTT7049.Device1,USB\VID_13D3&PID_3219


[DTV-DVB.NTAMD64]
%UDTT7049.DeviceDesc%	= UDTT7049.Device,USB\VID_1498&PID_9206
%UDTT70491.DeviceDesc% = UDTT7049.Device1,USB\VID_1498&PID_9206

%UDTT7049.DeviceDesc%	= UDTT7049.Device,USB\VID_13D3&PID_3219
%UDTT70491.DeviceDesc% = UDTT7049.Device1,USB\VID_13D3&PID_3219


[DTV-DVB.NTIA64]
%UDTT7049.DeviceDesc%	= UDTT7049.Device,USB\VID_1498&PID_9206
%UDTT70491.DeviceDesc% = UDTT7049.Device1,USB\VID_1498&PID_9206

%UDTT7049.DeviceDesc%	= UDTT7049.Device,USB\VID_13D3&PID_3219
%UDTT70491.DeviceDesc% = UDTT7049.Device1,USB\VID_13D3&PID_3219


[DestinationDirs]
UDTT7049.CopyDrivers	= 10,System32\Drivers 

[SourceDisksNames]
1 = %INSTALLATION_DISK%, UDTT7049.inf, ,

[SourceDisksNames.AMD64]
1 = %INSTALLATION_DISK%, UDTT7049.inf, , \AMD64

[SourceDisksNames.IA64]
1 = %INSTALLATION_DISK%, UDTT7049.inf, , \IA64

[SourceDisksFiles]
UDTT7049.sys = 1

[ControlFlags]
ExcludeFromSelect	= *
ExcludeFromSelect.NT	= *





[UDTT7049.Device.NT]
Include    = ks.inf, kscaptur.inf, bda.inf
Needs      = KS.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
AddReg     = UDTT7049.AddReg
CopyFiles  = UDTT7049.CopyDrivers





[UDTT7049.Device.NT.Services]
Addservice = UDTT7049, 0x00000002, UDTT7049.AddService

[UDTT7049.Device.NT.Interfaces]
AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_BdaFilter%, UDTT7049.Interfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_BdaFilter%, UDTT7049.Interfaces,



[UDTT7049.Device1.NT]
Include    = ks.inf, kscaptur.inf, bda.inf
Needs      = KS.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
AddReg     = UDTT7049.AddReg1
CopyFiles  = UDTT7049.CopyDrivers




[UDTT7049.Device1.NT.Services]
Addservice = UDTT7049, 0x00000002, UDTT7049.AddService

[UDTT7049.Device1.NT.Interfaces]
AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_BdaFilter%, UDTT7049.Interfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_BdaFilter%, UDTT7049.Interfaces,


[UDTT7049.AddService]
DisplayName    = %UDTT7049.FriendlyName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\UDTT7049.sys
LoadOrderGroup = Base

[UDTT7049.CopyDrivers]
UDTT7049.sys

[UDTT7049.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,UDTT7049.sys
HKR,,PageOutWhenUnopened,3,01

HKR,"ENUM\Device1",pnpid,,"UDTT7049HID.VIRTUAL"

HKLM,System\CurrentControlSet\Control\MediaCategories\{C0234F87-A398-4f1c-910A-7EADAC8C6DD9}
HKLM,System\CurrentControlSet\Control\MediaCategories\{C0234F87-A398-4f1c-910A-7EADAC8C6DD9},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{C0234F87-A398-4f1c-910A-7EADAC8C6DD9},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{7BDA9A21-0F58-4836-B8EC-35BF4F47F54A}
HKLM,System\CurrentControlSet\Control\MediaCategories\{7BDA9A21-0F58-4836-B8EC-35BF4F47F54A},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{7BDA9A21-0F58-4836-B8EC-35BF4F47F54A},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{7B509C83-2CBB-444b-899B-F1E58B4A8890}
HKLM,System\CurrentControlSet\Control\MediaCategories\{7B509C83-2CBB-444b-899B-F1E58B4A8890},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{7B509C83-2CBB-444b-899B-F1E58B4A8890},Name,,"Antenna In Pin"


; //As it is, no change
HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x00,0x00,0x00,0x00
; //Fixed 6 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x06,0x00,0x00,0x00
; //Fixed 7 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x07,0x00,0x00,0x00
; //Fixed 8 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x08,0x00,0x00,0x00

; //As it is, no change
HKR,"DriverData","FixedBandwidth",0x00010001, 0x00,0x00,0x00,0x00
; //VHF in 7 MHz, UHF in 8 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x01,0x00,0x00,0x00
; //Fixed 6 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x06,0x00,0x00,0x00
; //Fixed 7 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x07,0x00,0x00,0x00
; //Fixed 8 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x08,0x00,0x00,0x00

; //167KHz will be scanned
HKR,"DriverData","ShiftFreqScan",0x00010001, 0x00,0x00,0x00,0x00
; //Don't scan +-167KHz, just return lock failure
;HKR,"DriverData","ShiftFreqScan",0x00010001, 0x01,0x00,0x00,0x00


; IR system code checklist1
; 00 00 00 00 : Enable all
; FF FF 00 00 : Filter All
HKR,"DriverData","IRSYSCODECHECK1",0x00010001, 0xFF,0x00,0x00,0x00

; //Mapping RC table for DTV-DVB
HKR,"DriverData","RC_Configuration",0x00010001, 0x00,0x00,0x00,0x00
; //Mapping RC table for Cyberlink
;HKR,"DriverData","RC_Configuration",0x00010001, 0x01,0x00,0x00,0x00
; //Mapping RC table for IVI
;HKR,"DriverData","RC_Configuration",0x00010001, 0x02,0x00,0x00,0x00
; //Mapping RC table for MCE
;HKR,"DriverData","RC_Configuration",0x00010001, 0x03,0x00,0x00,0x00
; //Mapping RC table for NEW TH HID RC
;HKR,"DriverData","RC_Configuration",0x00010001, 0x04,0x00,0x00,0x00
; //Mapping RC table for Custom
;HKR,"DriverData","RC_Configuration",0x00010001, 0x05,0x00,0x00,0x00
; //Mapping RC table for DNTVLive HID RC
;HKR,"DriverData","RC_Configuration",0x00010001, 0x10,0x00,0x00,0x00
; //Disable RC
;HKR,"DriverData","RC_Configuration",0x00010001, 0xFF,0xFF,0x00,0x00


[UDTT7049.AddReg1]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,UDTT7049.sys
HKR,,PageOutWhenUnopened,3,01

HKLM,System\CurrentControlSet\Control\MediaCategories\{C0234F87-A398-4f1c-910A-7EADAC8C6DD9}
HKLM,System\CurrentControlSet\Control\MediaCategories\{C0234F87-A398-4f1c-910A-7EADAC8C6DD9},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{C0234F87-A398-4f1c-910A-7EADAC8C6DD9},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{7BDA9A21-0F58-4836-B8EC-35BF4F47F54A}
HKLM,System\CurrentControlSet\Control\MediaCategories\{7BDA9A21-0F58-4836-B8EC-35BF4F47F54A},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{7BDA9A21-0F58-4836-B8EC-35BF4F47F54A},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{7B509C83-2CBB-444b-899B-F1E58B4A8890}
HKLM,System\CurrentControlSet\Control\MediaCategories\{7B509C83-2CBB-444b-899B-F1E58B4A8890},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{7B509C83-2CBB-444b-899B-F1E58B4A8890},Name,,"Antenna In Pin"


; //As it is, no change
HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x00,0x00,0x00,0x00
; //Fixed 6 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x06,0x00,0x00,0x00
; //Fixed 7 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x07,0x00,0x00,0x00
; //Fixed 8 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x08,0x00,0x00,0x00

; //As it is, no change
HKR,"DriverData","FixedBandwidth",0x00010001, 0x00,0x00,0x00,0x00
; //VHF in 7 MHz, UHF in 8 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x01,0x00,0x00,0x00
; //Fixed 6 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x06,0x00,0x00,0x00
; //Fixed 7 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x07,0x00,0x00,0x00
; //Fixed 8 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x08,0x00,0x00,0x00

; //167KHz will be scanned
HKR,"DriverData","ShiftFreqScan",0x00010001, 0x00,0x00,0x00,0x00
; //Don't scan +-167KHz, just return lock failure
;HKR,"DriverData","ShiftFreqScan",0x00010001, 0x01,0x00,0x00,0x00


[UDTT7049.Interfaces]
AddReg = UDTT7049.Interface.AddReg


[UDTT7049.Interface.AddReg]
HKR,,CLSID,,%KSPROXY.CLSID%
HKR,,FriendlyName,,%UDTT7049.FriendlyName%



[Strings]
DTV-DVB				= "DTV-DVB"
MfgName				= "DTV-DVB"

KSPROXY.CLSID			= "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"  ; KsProxy.ax's ID, REQUIRED

UDTT7049.DeviceDesc		= "DTV-DVB UDTT7049 - USB 2.0 DVB-T Driver"
UDTT70491.DeviceDesc		= "DTV-DVB UDTT7049 - USB 2.0 DVB-T Driver(Without HID)"

UDTT7049.FriendlyName           = "DTV-DVB UDTT7049 - USB 2.0 DVB-T Receiver"

INSTALLATION_DISK 		= "DTV-DVB UDTT7049 - USB 2.0 Installation Disk"

;VP7240
;KSSTRING_BdaFilter              = "{212F07D1-3A04-48d5-B8E3-F02EC4BB7628}"

;VP7049
KSSTRING_BdaFilter             = "{99B35069-8A6B-4c2b-B252-96695E887976}"

;
; The following items should be moved to KS_registration - TCP
;
KSCATEGORY_BDATUNER     = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
KSCATEGORY_BDARECEIVER	= "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"	
KSCATEGORY_CROSSBAR     = "{a799a801-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVTUNER      = "{a799a800-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVAUDIO      = "{a799a802-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_CAPTURE      = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO        = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_AUDIO        = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"

MediaCategories         = "SYSTEM\CurrentControlSet\Control\MediaCategories"
    
;
; ServiceType values
SERVICE_KERNEL_DRIVER				= 0x00000001
SERVICE_FILE_SYSTEM_DRIVER			= 0x00000002
SERVICE_ADAPTER					= 0x00000004
SERVICE_RECOGNIZER_DRIVER			= 0x00000008
SERVICE_WIN32_OWN_PROCESS			= 0x00000010
SERVICE_WIN32_SHARE_PROCESS			= 0x00000020
SERVICE_INTERACTIVE_PROCESS			= 0x00000100
SERVICE_INTERACTIVE_SHARE_PROCESS	        = 0x00000120

; StartType values
SERVICE_BOOT_START          = 0x00000000
SERVICE_SYSTEM_START        = 0x00000001
SERVICE_AUTO_START          = 0x00000002
SERVICE_DEMAND_START        = 0x00000003
SERVICE_DISABLED            = 0x00000004

; ErrorControl values
SERVICE_ERROR_IGNORE        = 0x00000000
SERVICE_ERROR_NORMAL        = 0x00000001
SERVICE_ERROR_SEVERE        = 0x00000002
SERVICE_ERROR_CRITICAL      = 0x00000003

; Characteristic flags
NCF_VIRTUAL                 = 0x0001
NCF_WRAPPER                 = 0x0002
NCF_PHYSICAL                = 0x0004
NCF_HIDDEN                  = 0x0008
NCF_NO_SERVICE              = 0x0010
NCF_NOT_USER_REMOVABLE      = 0x0020
NCF_HAS_UI                  = 0x0080
NCF_MODEM                   = 0x0100

; Registry types
REG_MULTI_SZ                = 0x10000
REG_EXPAND_SZ               = 0x20000
REG_DWORD                   = 0x10001

; Win9x Compatible Types
REG_BINARY                  = 17
REG_SZ                      = 0

; Service install flags
SPSVCINST_TAGTOFRONT        = 0x1
SPSVCINST_ASSOCSERVICE      = 0x2
