;==============================================================================
; TerraTec Cinergy 400 mobile
; WDM Driver Install Script
; Copyright (c) 2004, TerraTec Electronic GmbH
;------------------------------------------------------------------------------
; Notes:
;  a) Driver filenames must be <= 8 characters (8.3 format) !
;  b) Win9x: On Windows 98/Me, section names should be no longer than 28 characters.
;  c) Win9x: [SourceDisksNames] must always come before [SourceDisksFiles]  !!!   
;  d) Win9x: Filenames must be in 8.3 format  !              
;  e) Win9x: Registry pathes must use single slashes
;  f) [xxx.KnownFiles] sections are used by Win9x only
;  g) [xxx.Services] sections are used by WinNT only
;  h) If we have OS specific DDInstall sections we must have 
;     OS specific [xxx.Interfaces] and [.HW] also!
;
;
; History:
;------------------------------------------------------------------------------
; 07-Jul-04 - FMB initial version
;==============================================================================

[Version]
LayoutFile=layout.inf, layout1.inf, layout2.inf
Signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%TerraTec%
; _OEM_  Enter name of .cat file from WHQL, containing the digital signature.
; _OEM_  The catalog file has to be in the same location as the INF file.
CatalogFile=vmPhTune.cat
DriverVer=07/07/2004,2.5.11.5219

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%TerraTec%=VidzMedia

[DestinationDirs]
vmPhTune.CopyDrivers = 10,system32\drivers

[SourceDisksFiles]
vmPhTune.sys=1

[SourceDisksNames]
1=%DiskName%,,


[VidzMedia]
%vmPhTune.DeviceDesc%=vmPhTune.Device,STREAM\vmPhTune

[vmPhTune.Device]
Include    = ks.inf, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration
AddReg     = vmPhTune.addreg
CopyFiles  = vmPhTune.CopyDrivers
KnownFiles = vmPhTune.KnownFiles

[vmPhTune.Device.NT]
Include    = ks.inf, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration.NT
CopyFiles  = vmPhTune.CopyDrivers
AddReg     = vmPhTune.AddReg
KnownFiles = vmPhTune.KnownFiles

[vmPhTune.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,vmPhTune.sys
HKR,,PageOutWhenUnopened,3,0
;---------------------------------------------------------------
; Tuner related values
; All values in the tuner key are string values
;---------------------------------------------------------------
HKR,,Address,,0xc0         ; I2C address
; _OEM_  Select the correct tuner type.
HKR,,TunerType,,TSEZ1
	             ; "FI1216MK2"  : CCIR B, G system
                           ;               (Western Europe)
                           ; "FI1216"  : CCIR B, G system
                           ;             (Western Europe)
                           ; "FI1216MF": CCIR B,G, L, L1 system
                           ;             (W. Europe, SE Asia, OZ, NZ)
                           ; "FI1236"  : RTMA M+N system
                           ;             (USA)
                           ; "FI1246"  : CCIR I system
                           ;             (UK, Ireland, SA, H.K.)
                           ; "FI1256"  : OIRT system
                           ;             (China, Russia, E. Europe)
                           ; "FR1216"  : RTMN M+N system + FM
                           ;             (USA)
                           ; "FR1236"  : RTMN M+N system + FM
                           ;             (USA)
                           ; "TD1536"  : ATSC digital tuner
                           ; "FQ1236MK3"  : RTMA M+N system                          (USA)
                           ; "FM1236MK3"  : RTMA M+N system + FM radio               (USA)
                           ; "FQ1286MK3"  : M system                                 (Japan)
                           ; "FM1286MK3"  : M system + FM radio                      (Japan)
                           ; "FQ1216ME"   : CCIR B/G, L/L1, D/K, I system            (Europe, Asia)
                           ; "FM1216ME"   : CCIR B/G, L/L1, D/K, I system + FM radio (Europe, Asia)
                           ;
                           ; "BTFPK36XZ"  : Sony ET Tuner For Japan
                           ; "BTFZK46X"   : Sony Tuner
                           ;
                           ; "TDA8275"    : TDA8275 Tuner
	             ;
	             ; "TSEH1"   : ALPS Tuner for North American
	             ; "TSEJ1"    : ALPS Tuner for Japan

HKR,,TVAudio,,0x01        ; 0 = Audio out pin is XBar Tuner Audio format
                          ; 1 = Audio out pin is TVAudio format

; _OEM_  For multistandard tuners add the default video standard here (e.g. 0x00000010 for PAL B)
HKR,,DefaultStandard,,0x00000002  ; KS_AnalogVideo_NTSC_M_J
; =================== vmPhTune ==================================


[vmPhTune.CopyDrivers]
vmPhTune.sys

[vmPhTune.KnownFiles]
vmPhTune.sys=safe

[vmPhTune.Device.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TvTuner,

[vmPhTune.Device.NT.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TvTuner,

[TvTuner]
AddReg=TvTuner.AddReg

[TvTuner.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%DeviceName%
HKR,,OpenTunerInterface,,"0x01"

[vmPhTune.Device.NT.Services]
AddService = vmPhTune,0x00000002,vmPhTune.ServiceInstall

[vmPhTune.ServiceInstall]
DisplayName   = %vmPhTune.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\vmPhTune.sys

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]

;----------------
; Non-Localizable
;----------------

SERVICE_KERNEL_DRIVER=1
SERVICE_ERROR_NORMAL=1
SERVICE_AUTO_START=2
SERVICE_DEMAND_START=3



;--------------------------------------------------------
; Localizable
;--------------------------------------------------------
TerraTec            = "TerraTec "
DiskName            = "Cinergy Driver CD"
captureClassName      = "Sound, video and game controllers"
; Device Manager strings
vmPhTune.DeviceDesc   = "Cinergy 400 mobile Tuner"
; DirectShow Strings
DeviceName            = "Cinergy 400 mobile Tuner"
