[Version]
LayoutFile=LAYOUT.INF, layout1.inf, layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Company%
; _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=Cap713x.cat
DriverVer=04/14/2005, 2.4.0.4

[Manufacturer]
%Company%=MSI

[DestinationDirs]
Cap713x.CopyDrivers = 10,system32\drivers
KSUpdate.Dll = 11

[SourceDisksNames]
1=%DiskName%,,

[SourceDisksFiles]
Cap713x.sys=1
Prop713x.dll=1



[MSI]
%Cap713x.DeviceDescSilicon%  =Cap713x.Device,PCI\VEN_1131&DEV_7133&SUBSYS_86241462
%Cap713x.DeviceDescSilicon%  =Cap713x.DeviceA,PCI\VEN_1131&DEV_7133&SUBSYS_62311462

[Cap713x.Device]
Include=      ks.inf, kscaptur.inf, ksfilter.inf, wdmaudio.inf
Needs=        KS.Registration, KSCAPTUR.Registration
AddReg=       Cap713x.AddReg,  Prop713x.AddReg
CopyFiles=    Cap713x.CopyDrivers, KSUpdate.Dll
KnownFiles=   Cap713x.KnownFiles

[Cap713x.DeviceA]
Include=      ks.inf, kscaptur.inf, ksfilter.inf, wdmaudio.inf
Needs=        KS.Registration, KSCAPTUR.Registration
AddReg=       Cap713xA.AddReg, Prop713x.AddReg
CopyFiles=    Cap713x.CopyDrivers, KSUpdate.Dll
KnownFiles=   Cap713x.KnownFiles

[Cap713x.Device.NT]
Include=      ks.inf, kscaptur.inf, ksfilter.inf, wdmaudio.inf
Needs=        KS.Registration.NT, KSCAPTUR.Registration.NT
AddReg=       Cap713x.AddReg
RegisterDlls= Prop713x.Register
CopyFiles=    Cap713x.CopyDrivers, KSUpdate.Dll

[Cap713x.DeviceA.NT]
Include=      ks.inf, kscaptur.inf, ksfilter.inf, wdmaudio.inf
Needs=        KS.Registration.NT, KSCAPTUR.Registration.NT
AddReg=       Cap713xA.AddReg
RegisterDlls= Prop713x.Register
CopyFiles=    Cap713x.CopyDrivers, KSUpdate.Dll

[Cap713x.AddReg]
;************************************************************************
; If the EEPROM is not programmed, set these registry entries active
; and to the corresponding board settings.
;************************************************************************

; maps user setting to hardware audio input (1=SIF, 2=Analog1, 3=Analog2) 
HKR, "AudioDecoder", "Tuner Channel",0x00010001,1
HKR, "AudioDecoder", "CVBS Channel",0x00010001,3
HKR, "AudioDecoder", "SVHS Channel",0x00010001,3
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,1

; maps user setting to hardware video input
HKR, "VideoDecoder", "Tuner Channel",0x00010001,1
HKR, "VideoDecoder", "CVBS Channel",0x00010001,3
HKR, "VideoDecoder", "SVHS Channel",0x00010001,8
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,1

; Device settings
    ;TUNER_ID_TD1316_TD9889_TD10045=0,
    ;TUNER_ID_TD1344_TD9889_TD10045=1,
    ;TUNER_ID_TD1316_TD9889_TD10046=2,
    ;TUNER_ID_FI1216_MK            =3,
    ;TUNER_ID_FI1236_MK2	       =4,
    ;TUNER_ID_FM1216_MK3_TDA9886   =5,
    ;TUNER_ID_CU1216		       =6,
    ;TUNER_ID_MT2050_TDA9886	   =7,
    ;TUNER_ID_FI1216MF_MK2         =8,
    ;TUNER_ID_FM1216_MK2           =9,
    ;TUNER_ID_FM1236_MK2          =10,
    ;TUNER_ID_FI1246_MK2          =11,
    ;TUNER_ID_FM1246_MK2          =12,
    ;TUNER_ID_FI1256_MK2          =13,
    ;TUNER_ID_FM1256_MK2          =14,
    ;TUNER_ID_FI1286_MK2          =15,
    ;TUNER_ID_FQ1216_MK3_TDA9886  =16,
    ;TUNER_ID_FQ1236_MK3_TDA9886  =17,
    ;TUNER_ID_FM1236_MK3_TDA9886  =18,
    ;TUNER_ID_FQ1286_MK3_TDA9886  =19,
    ;TUNER_ID_TDA8275C1_TDA8290   =20,
    ;TUNER_ID_MT203X_TDA9886      =21,
    ;TUNER_ID_SU12XX_STV0299B     =23,
    ;TUNER_ID_TUV1236D            =24,

; I2C Device settings
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1

HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x14,0x00,0x00,0x00               ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2,0x00,0x00,0x00               ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x96,0x00,0x00,0x00               ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x00,0x00,0x00,0x00               ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x01,0x00,0x00,0x00               ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x30,0x00,0x00,0x00               ; FM radio mode.

HKR, "I2C Devices", "Force Registry Settings",0x00010001,1

; Setting FM radio of the Silicon tuner via SIF (GPIO 21 in use/ 5.5MHz)
HKR, "Audio", "FM Radio IF",0x00010001,0x729555

HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Cap713x.sys
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,00

; _OEM_  Delete this line if there is no tuner or replace
; _OEM_  "PhTVTune" with the appropriate tuner driver name.
;HKR, "ENUM\Device1",pnpid,,"PhTVTune"

; audio capture registry entries

[Cap713xA.AddReg]
;************************************************************************
; If the EEPROM is not programmed, set these registry entries active
; and to the corresponding board settings.
;************************************************************************

; maps user setting to hardware audio input (1=SIF, 2=Analog1, 3=Analog2) 
HKR, "AudioDecoder", "Tuner Channel",0x00010001,1
HKR, "AudioDecoder", "CVBS Channel",0x00010001,3
HKR, "AudioDecoder", "SVHS Channel",0x00010001,3
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,1

; maps user setting to hardware video input
HKR, "VideoDecoder", "Tuner Channel",0x00010001,1
HKR, "VideoDecoder", "CVBS Channel",0x00010001,3
HKR, "VideoDecoder", "SVHS Channel",0x00010001,8
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,1

; I2C Device settings
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1

HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x22,0x00,0x00,0x00               ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2,0x00,0x00,0x00               ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x96,0x00,0x00,0x00               ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x00,0x00,0x00,0x00               ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x01,0x00,0x00,0x00               ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x30,0x00,0x00,0x00               ; FM radio mode.

HKR, "I2C Devices", "Force Registry Settings",0x00010001,1

; Setting FM radio of the Silicon tuner via SIF (GPIO 21 in use/ 5.5MHz)
HKR, "Audio", "FM Radio IF",0x00010001,0x729555

HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Cap713x.sys
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,00

; _OEM_  Delete this line if there is no tuner or replace
; _OEM_  "PhTVTune" with the appropriate tuner driver name.
;HKR, "ENUM\Device1",pnpid,,"PhTVTune"

; audio capture registry entries



[Cap713x.CopyDrivers]
Cap713x.sys

[Cap713x.KnownFiles]
Cap713x.sys=safe

[Cap713x.Device.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TVAudio
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TvTuner
;AddInterface={19689BF6-C384-48fd-AD51-90E58C79F70B},"GLOBAL",MpegEncoder

[Cap713x.DeviceA.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TVAudio
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TvTuner
;AddInterface={19689BF6-C384-48fd-AD51-90E58C79F70B},"GLOBAL",MpegEncoder


[Cap713x.Device.NT.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%refGlobal%,VideoCapture
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},%refGlobal%,VideoCapture
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%refGlobal%,VideoCrossbar
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%refGlobal%,TVAudio
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%refGlobal%,TvTuner
;AddInterface={19689BF6-C384-48fd-AD51-90E58C79F70B},%refGlobal%,MpegEncoder

[Cap713x.DeviceA.NT.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%refGlobal%,VideoCapture
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},%refGlobal%,VideoCapture
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%refGlobal%,VideoCrossbar
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%refGlobal%,TVAudio
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%refGlobal%,TvTuner
;AddInterface={19689BF6-C384-48fd-AD51-90E58C79F70B},%refGlobal%,MpegEncoder


[KSUpdate.Dll]
Prop713x.dll      ; audio property dialog

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoCrossbar]
AddReg=VideoXBar.AddReg

[TVAudio]
AddReg=TVAudio.AddReg

[TVTuner]
AddReg=TVTuner.AddReg

[MpegEncoder]
AddReg=MpegEncoder.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%Cap713x.Capture%

; Private Pin Names:
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{73647561-0000-0010-8000-00AA00389B71},"Name",0x00000000,"Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{0482DEE1-7817-11cf-8a03-00aa006ecb65},"Name",0x00000000,"Analog Audio In"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{79C268A2-338c-470C-B1CB-5E233FE34032},"Name",0x00000000,"Digital Stream"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{3207E6D1-1C21-476c-A7FB-1D7B788E26DF},"Name",0x00000000,"Dolby Pro Logic"

[Prop713x.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"AudioProperties",,"%11%\Regsvr32 /s %11%\Prop713x.dll"

[Prop713x.Register]
11,,Prop713x.dll,1 ;FLG_REGSVR_DLLREGISTER

[VideoXBar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%Cap713x.Crossbar%

[TVAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%Cap713x.TVAudio%

[TVTuner.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%Cap713x.TVTuner%

[MpegEncoder.AddReg]
HKR,,CLSID,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%Cap713x.MpegEncoder%

; IVideoEncoder proxy plug-in
HKR,Interfaces\{B43C4EEC-8C32-4791-9102-508ADA5EE8E7},,,
; ICodecAPI proxy plug-in
;HKR,Interfaces\{7ff0997a-1999-4286-a73c-622b8814e7eb},,,
; ICodecAPI/IVideoEncoder proxy plug-in
;HKR,Interfaces\{b05dabd9-56e5-4fdc-afa4-8a47e91f1c9c},,,

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

[Cap713x.DeviceA.NT.Services]
AddService = Cap713x,0x00000002,Cap713x.ServiceInstall


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

; 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}"

; Category GUIDs

KSCATEGORY_MULTIPLEXER            = "{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"
KSCATEGORY_ENCODER                = "{19689BF6-C384-48fd-AD51-90E58C79F70B}"
KSCATEGORY_CAPTURE                = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO                  = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_AUDIO                  = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_CROSSBAR               = "{a799a801-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVAUDIO                = "{a799a802-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVTUNER                = "{a799a800-a46d-11d0-a18c-00a02401dcd4}"

;---------------------------------------------------------------
;                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

refGlobal="GLOBAL"
refWave="WAVE"

;----------------
; Localizable
;----------------

Company=                     "MSI"
DiskName=                    "MSI 8624 Install disk"

;Cap713x.Capture=             "MSI 8624 Video Capture"
;Cap713x.Crossbar=            "MSI 8624 Crossbar"
;Cap713x.TVAudio=             "MSI 8624 TVAudio"
;Cap713x.TvTuner=             "MSI 8624 TVTuner Silicon"
;Cap713x.MpegEncoder=         "MSI 8624 MPEG Encoder"
Cap713x.Capture=             "Philips Cap713x Video Capture"
Cap713x.Crossbar=            "Philips Cap713x Crossbar"
Cap713x.TVAudio=             "Philips Cap713x TVAudio"
Cap713x.TvTuner=             "Philips Cap713x TVTuner Silicon"
Cap713x.MpegEncoder=         "Philips Cap713x MPEG Encoder"


Cap713x.DeviceDescSilicon=   "MSI 8624 Video Capture"


