;
; Copyright 2007, LITEON
; 

[Version]
signature		= "$CHICAGO$"
Class			= Media
ClassGUID		= {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider		= %Vendor%
DriverPackageDisplayName= "TT1260DA"
DriverVer		= 05/22/2009,3.10.0.8
DriverPackageType	= PlugAndPlay
CatalogFile 		= Ltn_stk7070P.cat

[ControlFlags]
ExcludeFromSelect    = *
ExcludeFromSelect.NT = *

[SourceDisksNames]
1 = %INSTALLATION_DISK%,,

[SourceDisksFiles]
Ltn_stk7070P.sys = 1

[DestinationDirs]
Ltn_stk7070P.CopyDrivers	= 12,

[Manufacturer]
%Vendor% = LITEON,NTamd64


[LITEON]
%Ltn_stk7070P.DeviceDesc% 	= Ltn_stk7070P.Device,USB\VID_10B8&PID_0066				; virgin EEPROM
%Ltn_stk7070P.DeviceDesc% 	= Ltn_stk7070P.Device,USB\VID_04CA&PID_F01A				; STK7070P
%Ltn_stk7070P.DeviceDesc% 	= Ltn_stk7070P.Device,USB\VID_04CA&PID_F01B				; STK7070P

[LITEON.NTamd64]
%Ltn_stk7070P.DeviceDesc% 	= Ltn_stk7070P.Device,USB\VID_10B8&PID_0066				; virgin EEPROM
%Ltn_stk7070P.DeviceDesc% 	= Ltn_stk7070P.Device,USB\VID_04CA&PID_F01A				; STK7070P
%Ltn_stk7070P.DeviceDesc% 	= Ltn_stk7070P.Device,USB\VID_04CA&PID_F01B				; STK7070P

;---------------------  MOD 7070  --------------------

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


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

;------------ H W ------------

[Ltn_stk7070P.Device.HW]
AddReg = Ltn_stk7070P_DEVICE_AddReg,Ltn_stk7070P.TT1260DA.AddReg

[Ltn_stk7070P.Device.NT.HW]
AddReg = Ltn_stk7070P_DEVICE_AddReg,Ltn_stk7070P.TT1260DA.AddReg


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

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


[Ltn_stk7070P.AddService]
DisplayName    = %Ltn_stk7070P.FriendlyName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\Ltn_stk7070P.sys
LoadOrderGroup = Base
AddReg         = Ltn_stk7070P.Service.AddReg


[Ltn_stk7070P.Service.AddReg]
HKR,,DigitalJmp,0x00010001,0x00
HKR,"parameters","ReducedScanning",0x0000001,0x00


;---------------------  M I S C  ----------------------

[Ltn_stk7070P.CopyDrivers]
Ltn_stk7070P.sys

[Ltn_stk7070P.TT1260DA.AddReg]
;HKR,,"ProductId",0x00010001,0x0000F018                                ; LNA Pluse!!!
; to be modify

[Ltn_stk7070P.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Ltn_stk7070P.sys
HKR,,PageOutWhenUnopened,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D}
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F}
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81}
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81},Name,,"Antenna In Pin"

; add audio input and output pinnames
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%HOOK_ANLG_AUDIO_IN_PIN%,"Name",,"Analog Audio input"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%HOOK_ANLG_AUDIO_OUT_PIN%,"Name",,"Audio"

[Ltn_stk7070P_DEVICE_AddReg]
HKR,,"ProductId",0x00010001,0x00000000
HKR,,"MaskDevicePath",0x00010001,0x00000000
HKR,,"ExternalLNA",0x00010001,0x00000001 ; modify for external LNA plus
HKR,,"DigitalAmpLimitLevel",0x00010001,0x3C
HKR,,"DigitalAmpTimer",0x00010001,0x02
HKR,,"DigitalAGC1Maximum",0x00010001,0xFFFF
HKR,,"DigitalAmpMinimal",0x00010001,0x2710
HKR,,"DigitalAmpMaximal",0x00010001,0xFFFF
HKR,,"DigitalAmpThreshold",0x00010001,0x7530
HKR,,"BdaDigCaptureFilterName",0,"LITEON BDA Digital Capture"
HKR,,"BdaDigTunerFilterName",0,"LITEON BDA Digital Tuner"
HKR,,"AnlgTunerFilterName",0,"LITEON BDA Analog TV Tuner"
HKR,,"AnlgCaptureFilterName",0,"LITEON BDA Analog Capture"
HKR,,"AnlgCaptureDefaultStandard",0x00010001,0x00000000
HKR,,"AnlgXBarFilterName",0,"LITEON BDA Analog Xbar"
HKR,,"AnlgTVAudioFilterName",0,"LITEON BDA Analog TV Audio"
HKR,,"ControlFilterName",0,"LITEON Control Filter"
HKR,,"AnlgAudioCaptureFilterName",0,"LITEON BDA Analog Audio Capture"


;--------------------- S T R I N G S -----------------------
[Strings]

;Pin Id
HOOK_ANLG_AUDIO_IN_PIN  = "{356A9E15-B6B8-4066-A381-B531C606A200}"
HOOK_ANLG_AUDIO_OUT_PIN = "{0A95FEC0-4617-4f93-9861-91C9E59E1C09}"

;
; The following items should be moved to KS_registration - TCP
;

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


;---------------
;Localizable
;---------------
Vendor                  	= "LITEON"
Ltn_stk7070P.DeviceDesc   	= "LITEON TT1260DA"
Ltn_stk7070P.FriendlyName 	= "PCTV LITEON based TV tuner device"
INSTALLATION_DISK    	  	= "PCTV LITEON Installation Disk"
