; Copyright (c) AVerMedia TECHNOLOGIES, Inc.

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

DriverVer           =04/08/2010,3.6.64.15

[Manufacturer]
%PROVIDER% = AVerMedia, NTAMD64

;---> 64 BIT SUPPORT <---
[AVerMedia.NTAMD64]

;******** AVerMedia A700 ***
%AVer.DeviceDesc10% = AVer_A700.NTAMD64, PCI\VEN_1131&DEV_7130&SUBSYS_A7A11461	;A700 (DVB-S)
%AVer.DeviceDesc10% = AVer_A700.NTAMD64, PCI\VEN_1131&DEV_7133&SUBSYS_A7A11461	;A700 (DVB-S)
%AVer.DeviceDesc10% = AVer_A700.NTAMD64, PCI\VEN_1131&DEV_7134&SUBSYS_A7A11461	;A700 (DVB-S)
%AVer.DeviceDesc11% = AVer_A700.NTAMD64, PCI\VEN_1131&DEV_7133&SUBSYS_A7A21461	;A700 (DVB-S + Analog)
%AVer.DeviceDesc11% = AVer_A700.NTAMD64, PCI\VEN_1131&DEV_7134&SUBSYS_A7A21461	;A700 (DVB-S + Analog)


[SourceDisksNames]
1 = %INSTALLATION_DISK%, , 


[SourceDisksFiles]
AVerA706_x64.sys              = 1
MVDetection64.ax              = 1

[DestinationDirs]
SectionX64.CopyDll.NTAMD64    = 11
SectionX64.CopyFilter.NTAMD64 = 11
SectionX64.CopyDriver.NTAMD64 = 10, system32\drivers

[SectionX64.CopyDll.NTAMD64]


[SectionX64.CopyFilter.NTAMD64]
MVDetection64.ax

[SectionX64.CopyDriver.NTAMD64]
AVerA706_x64.sys

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



;******** AVerMedia A700 x64 ***
[AVer_A700.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[AVer_A700.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64, SectionX64.CopyDll.NTAMD64, SectionX64.CopyFilter.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, AVer_A700.AddReg
RegisterDlls  = DSFilters.RegFiles

[AVer_A700.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64





;******** GENERAL x64 ***
[SectionX64.ServiceInstall.NTAMD64]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\AVerA706_x64.sys

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


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

[SectionX64.DllAddReg.NTAMD64]


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

[SectionX64.AddReg.NTAMD64]

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

; --- Registry Entries For Audio Capture ---
HKR, , Driver, , AVerA706_x64.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"

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

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

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

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

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

HKR, "Decoder", "MuteVideoUnlock", 0x00010001, 0x0

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

HKR, "Audio", "MuteAudioUnlock",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



;
;******** Board - Specific Registry Entries ***
;


;******** AVerMedia A700 ***
[AVer_A700.AddReg]

; _OEM_  Insert the appropriate preferred video standard here.
HKR, "Decoder", "Preferred Video Standard", 0x00010001, 0x00000010    ; KS_AnalogVideo_PAL_B


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

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

HKR, "VideoDecoder", "Tuner Channel", 0x00010001, 0x04
HKR, "VideoDecoder", "CVBS Channel", 0x00010001, 0x01
HKR, "VideoDecoder", "SVHS Channel", 0x00010001, 0x06
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, 0x01
HKR, "AudioDecoder", "XTAL", 0x00010001, 0x0                ;Default = 32MHz
HKR, "Parameters", "DigitalTunerInstanceId", 0x00010001, 0x02
HKR, "ENUM\Device1",pnpid,,"AVerMedia.EtherNet"		  ; Virtual Network driver for data service.



;======================================
;
;           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               = "AVerA706.sys"
DRIVER_NAME_X64               = "AVerA706_x64.sys"

;--- Catalog file (signature) names for 32/64 bit OS ---
SIGNATURE_NAME_X32            = "AVerA706.cat"
SIGNATURE_NAME_X64            = "AVerA706_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              = "AVerA706"
SERVICE_NAME_X64              = "AVerA706_x64"
SERVICE_DESCRIPTION           = "AVerMedia A706 BDA Capture Driver"

;--- Name displayed in the device manager ---
DISPLAY_NAME                  = "AVerMedia A706 BDA 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.DeviceDesc10             = "AVerMedia A700 PCI DVB-S"
AVer.DeviceDesc11             = "AVerMedia A700 PCI Hybrid DVB-S"

