[Version]
LayoutFile=LAYOUT.INF, layout1.inf, layout2.inf
signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Philips%
; _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.ntx86=PhTvTune.cat
DriverVer=08/01/2005, 2.3.1.7

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%Philips%=Philips

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

[SourceDisksFiles]
PhTVTune.sys=1

[SourceDisksNames]
1=%DiskName%,,


[Philips]
%PhTVTune.DeviceDesc30%=PhTVTune.Device30,STREAM\PhTVTune.30   		; RTMA M+N system                  (USA)
%PhTVTune.DeviceDesc33%=PhTVTune.Device33,STREAM\PhTVTune.33   		; NTSC system
%PhTVTune.DeviceDesc34%=PhTVTune.Device34,STREAM\PhTVTune.34   		; PAL system

[PhTVTune.Device30]
Include    = ks.inf, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration
AddReg     = PhTVTune.AddReg,Tuner30.Addreg 
CopyFiles  = PhTVTune.CopyDrivers
KnownFiles = PhTVTune.KnownFiles

[PhTVTune.Device30.NT]
Include    = ks.inf, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration.NT
CopyFiles  = PhTVTune.CopyDrivers
AddReg     = PhTVTune.AddReg,Tuner30.Addreg 
KnownFiles = PhTVTune.KnownFiles

[PhTVTune.Device33]
Include    = ks.inf, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration
AddReg     = PhTVTune.AddReg,Tuner33.Addreg    
CopyFiles  = PhTVTune.CopyDrivers
KnownFiles = PhTVTune.KnownFiles

[PhTVTune.Device33.NT]
Include    = ks.inf, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration.NT
CopyFiles  = PhTVTune.CopyDrivers
AddReg     = PhTVTune.AddReg,Tuner33.Addreg 
KnownFiles = PhTVTune.KnownFiles

[PhTVTune.Device34]
Include    = ks.inf, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration
AddReg     = PhTVTune.AddReg,Tuner34.Addreg 
CopyFiles  = PhTVTune.CopyDrivers
KnownFiles = PhTVTune.KnownFiles

[PhTVTune.Device34.NT]
Include    = ks.inf, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration.NT
CopyFiles  = PhTVTune.CopyDrivers
AddReg     = PhTVTune.AddReg,Tuner34.Addreg 
KnownFiles = PhTVTune.KnownFiles
;---------------------------------------------------------------
; Registry entries common to all Philips tuner types
;---------------------------------------------------------------

; "FI1216MK2": CCIR B/G system                  (Western Europe)
; "FI1216MF" : CCIR B/G, L/L1 system            (W. Europe, SE Asia, OZ, NZ)
; "FM1216MK2": CCIR B/G system + FM radio       (Western Europe)
; "FI1236"   : RTMA M+N system                  (USA)
; "FM1236"   : RTMA M+N system + FM radio       (USA)
; "FI1246"   : CCIR I system                    (UK, Ireland, SA, H.K.)
; "FM1246"   : CCIR I system + FM radio         (UK, Ireland, SA, H.K.)
; "FI1256"   : OIRT system                      (China, Russia, E. Europe)
; "FM1256"   : OIRT system + FM radio           (China, Russia, E. Europe)
; "FI1256MP" : CCIR I + OIRT system             (China, Russia, E. Europe, UK, Ireland)
; "FQ1216MK2": CCIR B/G, L/L1, D/K, I system    (All Europe, China, Russia)
; "FM1216ME" : CCIR B/G, L/L1, D/K, I system + FM radio (Europe, Asia)
; "FQ1236MK3": RTMA M+N system                  (USA)
; "FM1236MK3": PAL/SECAM system + FM radio      (USA)
; "LG1236FM" : NTSC LG Tuner + FM radio
; "FQ1216TN" : CCIR B/G, D/K, I system + FM radio (Europe, Asia)
; "TN5533" 	 : NTSC TNF5533 Tuner
; "TN9533" 	 : PAL TNF9533 CCIR B/G, D/K, I system

[PhTVTune.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PhTVTune.sys
HKR,,PageOutWhenUnopened,3,0

; _OEM_  I2C address: "0xc0" : AS (I2C address pin of the tuner to ground), e.g. Proteus board
;                     "0xc2" : AS between 0.2 and 0.3 V  Default value if AS is unconnected
HKR,,Address,,0xc0         ; I2C address
HKR,,FMADCLevel,,0x9       ; For FM5767

;HKR,,TunerType,,FM1236

; _OEM_  For multistandard tuners add the default video standard here (e.g. 0x00000010 for PAL B)
;HKR,,DefaultStandard,, 0x00000001  ; KS_AnalogVideo_NTSC
;HKR,,DefaultStandard,, 0x00000010  ; KS_AnalogVideo_PAL_B

;HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,FindCD,,"%10%\FindCD.exe"

; =================== PhTvTune ==================================
[Tuner30.AddReg]
HKR,,TunerType,,FM1236
HKR,,DefaultStandard,,0x00000001  ; KS_AnalogVideo_NTSC

[Tuner33.AddReg]
HKR,,TunerType,,FM1236
HKR,,DefaultStandard,,0x00000001  ; KS_AnalogVideo_NTSC

[Tuner34.AddReg]
HKR,,TunerType,,FQ1216TN
HKR,,DefaultStandard,,0x00000010  ; KS_AnalogVideo_PAL_B

;---------------------------------------------------------------
; Files to be copied during installation
;---------------------------------------------------------------

[PhTVTune.CopyDrivers]
PhTVTune.sys 

[PhTVTune.KnownFiles]
PhTVTune.sys=safe


;---------------------------------------------------------------
; Interface description
;---------------------------------------------------------------

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

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

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

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

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

[PhTVTune.Device34.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%


;---------------------------------------------------------------
; Installation details
;---------------------------------------------------------------

[PhTVTune.Device30.NT.Services]
AddService = PhTVTune,0x00000002,PhTVTune.ServiceInstall

[PhTVTune.Device33.NT.Services]
AddService = PhTVTune,0x00000002,PhTVTune.ServiceInstall

[PhTVTune.Device34.NT.Services]
AddService = PhTVTune,0x00000002,PhTVTune.ServiceInstall

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


;---------------------------------------------------------------
; Strings
;---------------------------------------------------------------

[Strings]

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


Philips                       = "Philips Semiconductors"
captureClassName              = "Sound, video and game controllers"
DiskName                      = "Philips WDM TVTuner Install disk"
PhTVTune.DeviceDesc           = "Philips WDM TVTuner"
PhTVTune.DeviceDesc30         = "KWorld WDM TVTuner"
PhTVTune.DeviceDesc33         = "KWorld WDM TVTuner"
PhTVTune.DeviceDesc34         = "KWorld WDM TVTuner"
DeviceName                    = "Philips Cap713x TVTuner"

