; Copyright (c) AVerMedia TECHNOLOGIES, Inc.

[Version]
signature           = "$CHICAGO$"
Class               = MEDIA
ClassGUID           = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider            = %PROVIDER%
CatalogFile         = AVer3xEn.cat

DriverVer           =05/14/2007,4.5.0.12

[Manufacturer]
%PROVIDER% = AVerMedia

;---> 32 BIT SUPPORT <---
[AVerMedia]
;******** AVerMedia E502 ***
%AVer.DeviceDesc00% = AVer_E502.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_02E21461
%AVer.DeviceDesc00% = AVer_E502.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_92E21461
%AVer.DeviceDesc00% = AVer_E502.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_93E21461

;******** AVerMedia E502J ***
%AVer.DeviceDesc01% = AVer_E502J.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_05E01461
%AVer.DeviceDesc01% = AVer_E502J.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_95E01461

;******** AVerMedia E502 ***
%AVer.DeviceDesc02% = AVer_E502P.NTx86, PCI\VEN_1131&DEV_7134&SUBSYS_97E81461
%AVer.DeviceDesc02% = AVer_E502P.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_97E81461

;******** AVerMedia M17S ***
%AVer.DeviceDesc03% = AVer_E502J.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_54401461

;******** AVerMedia A16E ***
%AVer.DeviceDesc05% = AVer_A16E.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_DC2D1461
;******** AVerMedia A16E_2 ***
%AVer.DeviceDesc06% = AVer_A16E_2.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_CC2D1461

;******** AVerMedia M10D ***
%AVer.DeviceDesc10% = AVer_M10D.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_F8361461

;******** AVerMedia M10D-2 ***
%AVer.DeviceDesc10% = AVer_M10D_2.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_48361461

;******** AVerMedia M11H ***
%AVer.DeviceDesc15% = AVer_M11H.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_28361461

;******** AVerMedia M11H ***
%AVer.DeviceDesc16% = AVer_M11H_ATSC.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_38361461

;******** AVerMedia M115 ***
%AVer.DeviceDesc20% = AVer_M115.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_A8361461

;******** AVerMedia M105 ***
%AVer.DeviceDesc21% = AVer_M115.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_861E1461

;******** AVerMedia M115S ***
%AVer.DeviceDesc22% = AVer_M115S.NTx86, PCI\VEN_1131&DEV_7133&SUBSYS_E8361461


[SourceDisksNames]
1 = %INSTALLATION_DISK%, , 


[SourceDisksFiles]
AVer3xEn.sys           = 1
34CoInstaller.dll      = 1
MVDetection.ax         = 1
TVRate.dll             = 1


[DestinationDirs]
SectionX32.CopyDll.NTx86      = 11
SectionX32.CopyDriver.NTx86   = 10, system32\drivers


[SectionX32.CopyDll.NTx86]
34CoInstaller.dll
TVRate.dll
MVDetection.ax


[SectionX32.CopyDriver.NTx86]
AVer3xEn.sys



;======================================
;
;       Initialization Entries
;
;======================================

;******** AVerMedia E502 (NTSC) x32 ***
[AVer_E502.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_E502.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_E502.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_E502.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86



;******** AVerMedia E502J (NTSC-J) x32 ***
[AVer_E502J.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_E502J.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_E502J.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_E502J.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86



;******** AVerMedia E502P (PAL) x32 ***
[AVer_E502P.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_E502P.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_E502P.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_E502P.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86



;******** AVerMedia A16E x32 ***
[AVer_A16E.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_A16E.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_A16E.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_A16E.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86

;******** AVerMedia A16E_2 x32 ***
[AVer_A16E_2.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_A16E_2.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_A16E_2.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_A16E_2.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86




;******** AVerMedia M10D x32 ***
[AVer_M10D.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_M10D.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_M10D.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_M10D.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86



;******** AVerMedia M10D_2 x32 ***
[AVer_M10D_2.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_M10D_2.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_M10D_2.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_M10D_2.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86



;******** AVerMedia M11H x32 ***
[AVer_M11H.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_M11H.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_M11H.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_M11H.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86



;******** AVerMedia M11H_ATSC x32 ***
[AVer_M11H_ATSC.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_M11H_ATSC.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_M11H_ATSC.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_M11H_ATSC.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86



;******** AVerMedia M115 & M105 x32 ***
[AVer_M115.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_M115.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_M115.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_M115.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86



;******** AVerMedia M115S x32 ***
[AVer_M115S.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[AVer_M115S.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, AVer_M115S.AddReg
RegisterDlls  = DSFilters.RegFiles, TVRate.RegFiles

[AVer_M115S.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86




;******** GENERAL x32 ***
[SectionX32.ServiceInstall.NTx86]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\AVer3xEn.sys



;======================================
;
;           Registry Entries
;
;======================================
; [StartName=driver-object-name]
; [AddReg=add-registry-section[, add-registry-section] ...]
; [DelReg=del-registry-section[, del-registry-section] ...]
; [BitReg=bit-registry-section[, bit-registry-section] ...]
; [LoadOrderGroup=load-order-group-name]
; [Dependencies=depend-on-item-name[, depend-on-item-name]...]

;
;******** General DLL Registry Entries ***
;

[SectionX32.DllAddReg.NTx86]
HKR, , CoInstallers32, 0x00010000, "34CoInstaller.dll, CoInstallerEntry"


[DSFilters.RegFiles]
11, , MVDetection.ax, 1


[TVRate.RegFiles]
11, , TVRate.dll, 1 


;
;******** General Driver Registry Entries ***
;

[SectionX32.AddReg.NTx86]

HKR, , DevLoader, , *NTKERN
HKR, , NTMPDriver, , AVer3xEn.sys

; --- Registry Entries For Audio Capture ---
HKR, , Driver, , AVer3xEn.sys
HKR, , AssociatedFilters, , "wdmaud, swmidi, redbook"

HKR, Drivers, SubClasses, , "wave, mixer"
HKR, Drivers\wave\wdmaud.drv, Driver, , wdmaud.drv
HKR, Drivers\mixer\wdmaud.drv, Driver, , wdmaud.drv
HKR, Drivers\wave\wdmaud.drv, Description, , %PHILIPS.AudioDeviceDesc%
HKR, Drivers\mixer\wdmaud.drv, Description, , %PHILIPS.AudioDeviceDesc%

; add audio input and output pinnames
HKLM, SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_IN_PIN%, "Name", , "Analog Audioinput"
HKLM, SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_OUT_PIN%, "Name", , "Audio"
HKLM, SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_ITU_PIN%, "Name", , "Analog ITU Video"
HKLM, SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_I2S_PIN%, "Name", , "I2S Audio"
HKLM, SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_AES_PIN%, "Name", , "MPEG Audio ES"
HKLM, SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_VES_PIN%, "Name", , "MPEG Video ES"
HKLM, SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_PS_PIN%, "Name", , "MPEG2 Program"

HKLM, SYSTEM\CurrentControlSet\Control\MediaInterfaces\{d2185a40-0398-11d3-a53e-00a0c9ef506a}, , , "AVerMedia Macrovision Detection Property"
HKLM, SYSTEM\CurrentControlSet\Control\MediaInterfaces\{d2185a40-0398-11d3-a53e-00a0c9ef506a}, IID, 1, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00


; --- Registry Entries For Board General ---

; Prefix will be displayed in front of the device name on every filter
;HKR, "Parameters", "Prefix", , %PHILIPS_CUSTOM_TUNERNAME%

; under MCE, IgnoreDVBParameter=1, prevents the driver to use the DShow DVB properties.
; -1 is used instead
HKR, "Parameters", "IgnoreDVBParameter", 0x00010001, 0x1

; under MCE, AutoRemove60HzStd fixes the 1st run problem with analog multi standard tuner
; like the TDA8275A. In countries with 50Hz formats, 60Hz formats are beeing removed
HKR, "Parameters", "AutoRemove60HzStd",0x00010001,0x1

; Reduces second pair of video/audio inputs
HKR, "Parameters", "CrossBarType", 0x00010001, 0x0

; PowerSavingCtrl
HKR, "Parameters", "PowerSavingCtrl", 0x00010001, 0x1

; DMAPowerSavingCtrl
HKR, "Parameters", "DMAPowerSaving",0x00010001,0x00

; CapPreviewEnabled
HKR, "Parameters", "CapPreviewEnabled", 0x00010001, 0x0

; For FM supported
HKR, "Parameters", "FMSupported", 0x00010001, 0x0

HKR, "Decoder", "MuteVideoUnlock", 0x00010001, 0x0
HKR, "Decoder", "MuteVideoMacrovision", 0x00010001, 0x1
HKR, "Decoder", "MuteVideoCGMSA", 0x00010001, 0x0

HKR, "Audio", "MuteAudioUnlock",0x00010001,0x1
HKR, "Audio", "MuteAudioMacrovision",0x00010001,0x0
HKR, "Audio", "MuteAudioCGMSA",0x00010001,0x0

; Set audio volume
HKR, "Audio", "VolumeTV", 0x00010001, 0x00
HKR, "Audio", "VolumeFM", 0x00010001, 0x00
HKR, "Audio", "VolumeExternal", 0x00010001, 0x00

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

; Dennis_0015 20061018
HKR, "GPIO\TransportStream\Parallel", "Clock_Polarity_DVBT", 0x00010001, 0x0
HKR, "GPIO\TransportStream\Parallel", "Clock_Polarity_MPEG", 0x00010001, 0x1
HKR, "GPIO\TransportStream\Parallel", "ForceVAL_DVBT", 0x00010001, 0x1
HKR, "GPIO\TransportStream\Parallel", "ForceVAL_MPEG", 0x00010001, 0x0

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

HKR, "SECAMLPFrequency", "0", 0x00010001, 55750000
HKR, "SECAMLPFrequency", "1", 0x00010001, 60500000
HKR, "SECAMLPFrequency", "2", 0x00010001, 63750000
HKR, "SECAMLPFrequency", "3", 0x00010001, 0

HKR, "Parameters", "LatencyTimer", 0x00010001, 0x40

; Dennis_0028 20061030
HKR, "Parameters", "DownloadNEC61151FW", 0x00010001, 0x0

HKR, Parameters, "Syncronization disabled", 0x00010001, 0x0
;
;******** Board - Specific Registry Entries ***
;

;******** AVerMedia E502 (NTSC) ***
[AVer_E502.AddReg]

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

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS

; Set audio volume
HKR, "Audio", "VolumeTV", 0x00010001, 0x04
HKR, "Audio", "VolumeFM", 0x00010001, 0x00
HKR, "Audio", "VolumeExternal", 0x00010001, 0x02

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

HKR, "I2C Devices", "Number of I2C Devices", 0x00010001, 0x01
HKR, "I2C Devices", "Device 0, Data1", 0x00010001, 0x3E  ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2", 0x00010001, 0xC2  ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3", 0x00010001, 0x86  ; Tuner IF PLL slave addr.
;HKR, "I2C Devices", "Device 0, Data4", 0x00010001, 0x00   ; Demod slave addr.
;HKR, "I2C Devices", "Device 0, Data5", 0x00010001, 0x00   ; Size of add. data
;HKR, "I2C Devices", "Device 0, Data6", 0x00010001, 0x00   ; Add. data #1
;HKR, "I2C Devices", "Device 0, Data7", 0x00010001, 0x00   ; Add. data #2
;HKR, "I2C Devices", "Device 0, Data8", 0x00010001, 0x00   ; Add. data #3

HKR, "VideoDecoder", "Tuner Channel", 0x00010001, 0x00
HKR, "VideoDecoder", "CVBS Channel", 0x00010001, 0x02
HKR, "VideoDecoder", "SVHS Channel", 0x00010001, 0x09
;HKR, "VideoDecoder", "FM Radio Channel", 0x00010001, 0x00

HKR, "AudioDecoder", "Tuner Channel", 0x00010001, 0x01
HKR, "AudioDecoder", "CVBS Channel", 0x00010001, 0x02
HKR, "AudioDecoder", "SVHS Channel", 0x00010001, 0x02
HKR, "AudioDecoder", "FM Radio Channel", 0x00010001, 0x03
;HKR, "AudioDecoder", "XTAL", 0x00010001, 0x0                ;Default = 32MHz



;******** AVerMedia E502J (NTSC-J) ***
[AVer_E502J.AddReg]

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

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS

; Set audio volume
HKR, "Audio", "VolumeTV", 0x00010001, 0x04
HKR, "Audio", "VolumeFM", 0x00010001, 0x00
HKR, "Audio", "VolumeExternal", 0x00010001, 0x02

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

HKR, "I2C Devices", "Number of I2C Devices", 0x00010001, 0x01
HKR, "I2C Devices", "Device 0, Data1", 0x00010001, 0x40  ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2", 0x00010001, 0xC2  ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3", 0x00010001, 0x86  ; Tuner IF PLL slave addr.

HKR, "VideoDecoder", "Tuner Channel", 0x00010001, 0x00
HKR, "VideoDecoder", "CVBS Channel", 0x00010001, 0x02
HKR, "VideoDecoder", "SVHS Channel", 0x00010001, 0x09
;HKR, "VideoDecoder", "FM Radio Channel", 0x00010001, 0x00

HKR, "AudioDecoder", "Tuner Channel", 0x00010001, 0x01
HKR, "AudioDecoder", "CVBS Channel", 0x00010001, 0x02
HKR, "AudioDecoder", "SVHS Channel", 0x00010001, 0x02
HKR, "AudioDecoder", "FM Radio Channel", 0x00010001, 0x03
;HKR, "AudioDecoder", "XTAL", 0x00010001, 0x0                ;Default = 32MHz



;******** AVerMedia E502P (PAL) ***
[AVer_E502P.AddReg]

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

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS

; Set audio volume
HKR, "Audio", "VolumeTV", 0x00010001, 0x04
HKR, "Audio", "VolumeFM", 0x00010001, 0x00
HKR, "Audio", "VolumeExternal", 0x00010001, 0x02

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

HKR, "I2C Devices", "Number of I2C Devices", 0x00010001, 0x01
HKR, "I2C Devices", "Device 0, Data1", 0x00010001, 0x3F  ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2", 0x00010001, 0xC2  ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3", 0x00010001, 0x86  ; Tuner IF PLL slave addr.

HKR, "VideoDecoder", "Tuner Channel", 0x00010001, 0x00
HKR, "VideoDecoder", "CVBS Channel", 0x00010001, 0x02
HKR, "VideoDecoder", "SVHS Channel", 0x00010001, 0x09
;HKR, "VideoDecoder", "FM Radio Channel", 0x00010001, 0x00

HKR, "AudioDecoder", "Tuner Channel", 0x00010001, 0x01
HKR, "AudioDecoder", "CVBS Channel", 0x00010001, 0x02
HKR, "AudioDecoder", "SVHS Channel", 0x00010001, 0x02
HKR, "AudioDecoder", "FM Radio Channel", 0x00010001, 0x03
;HKR, "AudioDecoder", "XTAL", 0x00010001, 0x0                ;Default = 32MHz



;******** AVerMedia A16E ***
[AVer_A16E.AddReg]

HKR, "Parameters", "PowerSavingCtrl", 0x00010001, 0x0

HKR, "Parameters", "CrossBarType", 0x00010001, 0x1

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS

; Dennis_0017 20061018
HKR, "Parameters", "LatencyTimer", 0x00010001, 0x06

; Dennis 20060614
HKR, "Decoder\Src0", "Brightness", 0x00010001, 0x83
HKR, "Decoder\Src0", "Contrast", 0x00010001, 0x3C
HKR, "Decoder\Src0", "Saturation", 0x00010001, 0x3B
HKR, "Decoder\Src0", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src0", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src1", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src1", "Contrast", 0x00010001, 0x39
HKR, "Decoder\Src1", "Saturation", 0x00010001, 0x3A
HKR, "Decoder\Src1", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src1", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src2", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src2", "Contrast", 0x00010001, 0x39
HKR, "Decoder\Src2", "Saturation", 0x00010001, 0x3A
HKR, "Decoder\Src2", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src2", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src3", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src3", "Contrast", 0x00010001, 0x3A
HKR, "Decoder\Src3", "Saturation", 0x00010001, 0x3A
HKR, "Decoder\Src3", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src3", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src4", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src4", "Contrast", 0x00010001, 0x3A
HKR, "Decoder\Src4", "Saturation", 0x00010001, 0x3A
HKR, "Decoder\Src4", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src4", "Sharpness", 0x00010001, 0x00

; Set audio volume Dennis_0017 20061018
HKR, "Audio", "VolumeTV", 0x00010001, 0x03
HKR, "Audio", "VolumeFM", 0x00010001, 0x04
HKR, "Audio", "VolumeExternal", 0x00010001, 0x01

;******** AVerMedia A16E_2 ***
[AVer_A16E_2.AddReg]

HKR, "Parameters", "PowerSavingCtrl", 0x00010001, 0x0

HKR, "Parameters", "CrossBarType", 0x00010001, 0x0

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS


; Dennis_0017 20061018
HKR, "Parameters", "LatencyTimer", 0x00010001, 0x06

; Dennis 20060614
HKR, "Decoder\Src0", "Brightness", 0x00010001, 0x83
HKR, "Decoder\Src0", "Contrast", 0x00010001, 0x3C
HKR, "Decoder\Src0", "Saturation", 0x00010001, 0x3B
HKR, "Decoder\Src0", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src0", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src1", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src1", "Contrast", 0x00010001, 0x39
HKR, "Decoder\Src1", "Saturation", 0x00010001, 0x3A
HKR, "Decoder\Src1", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src1", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src2", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src2", "Contrast", 0x00010001, 0x39
HKR, "Decoder\Src2", "Saturation", 0x00010001, 0x3A
HKR, "Decoder\Src2", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src2", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src3", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src3", "Contrast", 0x00010001, 0x3A
HKR, "Decoder\Src3", "Saturation", 0x00010001, 0x3A
HKR, "Decoder\Src3", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src3", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src4", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src4", "Contrast", 0x00010001, 0x3A
HKR, "Decoder\Src4", "Saturation", 0x00010001, 0x3A
HKR, "Decoder\Src4", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src4", "Sharpness", 0x00010001, 0x00

; Set audio volume Dennis_0017 20061018
HKR, "Audio", "VolumeTV", 0x00010001, 0x03
HKR, "Audio", "VolumeFM", 0x00010001, 0x04
HKR, "Audio", "VolumeExternal", 0x00010001, 0x01

;******** AVerMedia M10D ***
[AVer_M10D.AddReg]

; Reduces second pair of video/audio inputs
HKR, "Parameters", "CrossBarType", 0x00010001, 0x1


; For FM supported
HKR, "Parameters", "FMSupported", 0x00010001, 0x1

; Dennis 20060606
HKR, "Decoder\Src0", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src0", "Contrast", 0x00010001, 0x44
HKR, "Decoder\Src0", "Saturation", 0x00010001, 0x40
HKR, "Decoder\Src0", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src0", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src1", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src1", "Contrast", 0x00010001, 0x44
HKR, "Decoder\Src1", "Saturation", 0x00010001, 0x35
HKR, "Decoder\Src1", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src1", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src2", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src2", "Contrast", 0x00010001, 0x44
HKR, "Decoder\Src2", "Saturation", 0x00010001, 0x35
HKR, "Decoder\Src2", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src2", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src3", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src3", "Contrast", 0x00010001, 0x44
HKR, "Decoder\Src3", "Saturation", 0x00010001, 0x36
HKR, "Decoder\Src3", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src3", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src4", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src4", "Contrast", 0x00010001, 0x44
HKR, "Decoder\Src4", "Saturation", 0x00010001, 0x36
HKR, "Decoder\Src4", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src4", "Sharpness", 0x00010001, 0x00

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS

; Set audio volume
; Dennis_0031
HKR, "Audio", "VolumeTV", 0x00010001, 0xFF
HKR, "Audio", "VolumeFM", 0x00010001, 0xFF
HKR, "Audio", "VolumeExternal", 0x00010001, 0xFF


;******** AVerMedia M10D_2 ***
[AVer_M10D_2.AddReg]


; For FM supported
HKR, "Parameters", "FMSupported", 0x00010001, 0x1

; Dennis 20060606
HKR, "Decoder\Src0", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src0", "Contrast", 0x00010001, 0x44
HKR, "Decoder\Src0", "Saturation", 0x00010001, 0x40
HKR, "Decoder\Src0", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src0", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src1", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src1", "Contrast", 0x00010001, 0x44
HKR, "Decoder\Src1", "Saturation", 0x00010001, 0x35
HKR, "Decoder\Src1", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src1", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src2", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src2", "Contrast", 0x00010001, 0x44
HKR, "Decoder\Src2", "Saturation", 0x00010001, 0x35
HKR, "Decoder\Src2", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src2", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src3", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src3", "Contrast", 0x00010001, 0x44
HKR, "Decoder\Src3", "Saturation", 0x00010001, 0x36
HKR, "Decoder\Src3", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src3", "Sharpness", 0x00010001, 0x00

HKR, "Decoder\Src4", "Brightness", 0x00010001, 0x80
HKR, "Decoder\Src4", "Contrast", 0x00010001, 0x44
HKR, "Decoder\Src4", "Saturation", 0x00010001, 0x36
HKR, "Decoder\Src4", "Hue", 0x00010001, 0x00
HKR, "Decoder\Src4", "Sharpness", 0x00010001, 0x00

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS

; Set audio volume
; Dennis_0031
HKR, "Audio", "VolumeTV", 0x00010001, 0xFF
HKR, "Audio", "VolumeFM", 0x00010001, 0xFF
HKR, "Audio", "VolumeExternal", 0x00010001, 0xFF

; Dennis_0015 20061018
HKR, "GPIO\TransportStream\Parallel", "Clock_Polarity_MPEG", 0x00010001, 0x0

;******** AVerMedia M11H ***
[AVer_M11H.AddReg]

; Reduces second pair of video/audio inputs
HKR, "Parameters", "CrossBarType", 0x00010001, 0x1


; For FM supported
HKR, "Parameters", "FMSupported", 0x00010001, 0x1

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS

; Dennis_0015 20061018
HKR, "GPIO\TransportStream\Parallel", "Clock_Polarity_MPEG", 0x00010001, 0x0

;******** AVerMedia M11H_ATSC ***
[AVer_M11H_ATSC.AddReg]

; Reduces second pair of video/audio inputs
HKR, "Parameters", "CrossBarType", 0x00010001, 0x1


; For FM supported
HKR, "Parameters", "FMSupported", 0x00010001, 0x1

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS

; Dennis_0015 20061018
HKR, "GPIO\TransportStream\Parallel", "Clock_Polarity_MPEG", 0x00010001, 0x0

; Dennis_0015 20061018
HKR, "GPIO\TransportStream\Parallel", "ForceVAL_DVBT", 0x00010001, 0x1

;******** AVerMedia M115 & M105 ***
[AVer_M115.AddReg]


; Dennis 20060314
HKR, "Decoder\Src0", "Saturation", 0x00010001, 0x53

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS


;******** AVerMedia M115S ***
[AVer_M115S.AddReg]


; Dennis 20060602
HKR, "Parameters", "LatencyTimer", 0x00010001, 0x06

HKR, "Decoder", "MuteVideoUnlock", 0x00010001, 0x1

HKR, "Decoder", "MuteVideoMacrovision", 0x00010001, 0x1
HKR, "Decoder", "MuteVideoCGMSA", 0x00010001, 0x1

HKR, "Audio", "I2S Output", 0x00010001, 0x00
HKR, "Audio", "I2S2 Output", 0x00010001, 0x00	//GPIO Pin 17 used for CCS


HKR, "Audio", "MuteAudioMacrovision",0x00010001,0x1
HKR, "Audio", "MuteAudioCGMSA",0x00010001,0x1

; Set audio volume Dennis_0017 20061018
HKR, "Audio", "VolumeTV",0x00010001,0xFE
HKR, "Audio", "VolumeFM",0x00010001,0x00
HKR, "Audio", "VolumeExternal",0x00010001,0x00

;======================================
;
;           Strings Defines
;
;======================================

[Strings]
;-------------------------------
; Capture Filter Pin Name GUIDs
;-------------------------------
AVSTREAM_ANLG_AUDIO_IN_PIN   = "{7BB284B9-714D-493d-A101-B1B028E782BD}"
AVSTREAM_ANLG_AUDIO_OUT_PIN  = "{5582E657-E596-42b5-9DB3-541B27A2355F}"
AVSTREAM_ANLG_VIDEO_ITU_PIN  = "{82631A2E-403C-4581-A4B0-EC173D004410}"
AVSTREAM_ANLG_AUDIO_I2S_PIN  = "{C2E46358-F032-4d88-B802-06B59D162730}"
AVSTREAM_MPEG_AES_PIN        = "{9DEC84B9-BCEF-4aac-997E-43EDD0A2D6C7}"
AVSTREAM_MPEG_VES_PIN        = "{181CF87E-7741-47ba-8629-22347E03C64C}"
AVSTREAM_MPEG_PS_PIN         = "{DDA87B83-65DB-4aec-82D0-79FBE67D2BB6}"


;--------------------
; System Defines
;--------------------
SERVICE_BOOT_START       = 0x0
SERVICE_SYSTEM_START     = 0x1
SERVICE_AUTO_START       = 0x2
SERVICE_DEMAND_START     = 0x3
SERVICE_DISABLED         = 0x4

SERVICE_KERNEL_DRIVER    = 0x1
SERVICE_ERROR_IGNORE     = 0x0
SERVICE_ERROR_NORMAL     = 0x1
SERVICE_ERROR_SEVERE     = 0x2
SERVICE_ERROR_CRITICAL   = 0x3
FLG_REGSVR_DLLREGISTER   = 0x00000001


;------------------------------------------------------------
; Customer Strings
;
; !!! MUST be changed if the driver has been customized, !!!
; !!! to not interfere with the original one.            !!!
;
;------------------------------------------------------------

;--- Driver names for 32/64 bit OS ---
DRIVER_NAME_X32               = "AVer3xEn.sys"
DRIVER_NAME_X64               = "AVer3xEn_x64.sys"

;--- Catalog file (signature) names for 32/64 bit OS ---
SIGNATURE_NAME_X32            = "AVer3xEn.cat"
SIGNATURE_NAME_X64            = "AVer3xEn_x64.cat"

;--- Coinstaller DLL name for 32/64 bit OS ---
COINSTALLER_NAME_X32          = "34CoInstaller.dll"
COINSTALLER_NAME_X64          = "3xCoInstX64.dll"

;--- Service names linked to the driver binary ---
SERVICE_NAME_X32              = "AVer3xEn"
SERVICE_NAME_X64              = "AVer3xEn_x64"
SERVICE_DESCRIPTION           = "AVerMedia SAA713x BDA Capture Driver"

;--- Name displayed in the device manager ---
DISPLAY_NAME                  = "AVerMedia SAA713x BDA Encoder Service"

;--- General names ---
PROVIDER                      = "AVerMedia TECHNOLOGIES, Inc."
INSTALLATION_DISK             = "AVerMedia SAA713x Driver Installation Disk"


;----------------------------------------------------------
; Board Description
;
; -> Displayed within e.g. Graphedit
;
;----------------------------------------------------------

;*** Specific Names ***
;-----------------
PHILIPS.AudioDeviceDesc       = "AVerMedia SAA713x Audio Capture Device"
PHILIPS_CUSTOM_TUNERNAME      = "AVerMedia"

AVer.DeviceDesc00             = "AVerMedia E502 CardBus NTSC"
AVer.DeviceDesc01             = "AVerMedia E502J CardBus NTSC-J"
AVer.DeviceDesc02             = "AVerMedia E502 CardBus PAL"
AVer.DeviceDesc03             = "AVerMedia M17S PCI NTSC-J"

AVer.DeviceDesc05             = "AVerMedia A16E PCI Hybrid DVBT"
AVer.DeviceDesc06             = "AVerMedia A16E PCI Hybrid DVBT"

AVer.DeviceDesc10             = "AVerMedia M10D MiniPCI Hybrid DVBT"

AVer.DeviceDesc15             = "AVerMedia M11H PCI Hybrid DVBT"
AVer.DeviceDesc16             = "AVerMedia M11H PCI Hybrid ATSC"

AVer.DeviceDesc20             = "AVerMedia M115 MiniPCI Hybrid DVBT"
AVer.DeviceDesc21             = "AVerMedia M105 MiniPCI Analog"
AVer.DeviceDesc22             = "AVerMedia M115S MiniPCI Hybrid DVBT"
