; A33T_NOLNB_Secure_x64.inf
; Copyright (C) AVerMedia.

[Version]
signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%AVerMedia%
DriverVer=03/04/2013,1.10.64.47
DriverPackageType=PlugAndPlay
DriverPackageDisplayName=%MB86H57PCIe.DriverDisplayName%
CatalogFile=AVerMB86_x64.cat

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%AVerMedia%=Fujitsu,NTamd64.6.0

[DestinationDirs]
MB86H57PCIe.CopyDrivers=10,system32\drivers
DefaultDestDir=11

[SourceDisksNames.amd64]
1=%Disk1%,disk1,,

[SourceDisksFiles]
AVerMB86_x64.sys			= 1,,
mb86h57_h58_aac_m_m_trc.bin     	= 1,,
mb86h57_h58_aac_h_m_trc.bin     	= 1,,
mb86h57_h58_aac_trc.bin     		= 1,,
mb86h57_h58_aac_idle.bin  		= 1,,

;---------------------------------------------------------------
; Capture
;---------------------------------------------------------------
[Fujitsu]
; Empty section, so this driver does not support
; earlier than Windows Vista.

[Fujitsu.NTamd64.6.0]
%MB86H57PCIe.DeviceDesc%=MB86H57PCIe, PCI\VEN_10CF&DEV_2036&SUBSYS_57011461&REV_00

[MB86H57PCIe]
Include= ks.inf, kscaptur.inf, bda.inf
needs=KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyInf=A33T_NOLNB_Secure_x64.inf
CopyFiles=MB86H57PCIe.CopyDrivers

[MB86H57PCIe.HW]
AddReg = MB86H57PCIe.HW.AddReg, MB86H57PCIe.PinNameRegist

[MB86H57PCIe.HW.AddReg]
; Model
; 0x00 --> EVK
; 0x01 --> A33T
; 0x02 --> A33T_NOLNB
; 0x03 --> A77S
; 0x04 --> A77S_NOS
; 0x05 --> A33T_NOLNB2
; 0x06 --> A33TD_NOLNB
; 0x07 --> A395
; 0x08 --> A395B
; 0x09 --> A370
HKR,,"Model",0x00010001,0x02

;DUAL mode
HKR,,"DUAL",0x00010001,0x00

;CLEAR mode
HKR,,"CLEAR",0x00010001,0x00

;AutoLNBPower
HKR,,"AutoLNBPower",0x00010001,0x00

;CE5039 Crystal
HKR,,"CE5039_CRYSTAL",0x00010001,0x00003E80

;RTC
HKR,,"RTC",0x00010001,0x01

; stream DMA transfer complete timer(ms unit)
; (default=30000ms, if 0 then no timer)
HKR,,TIMER,0x00010001,0

; Read  DMA transfer Buffer Number(default = 256)
HKR,,READDMA,0x00010001,256

; Read DMA transfer Buffer Packet Number(default=697)
HKR,,READDMAPACKETNUM,0x00010001,697

; Read DMA Low Rate transfer Buffer Number(default=32)
HKR,,READDMALOWRATE,0x00010001,32

; Read DMA Low Rate transfer Buffer Packet Number(default=5)
HKR,,READDMALOWRATEPACKETNUM,0x00010001,5

; Write  DMA transfer Buffer Number(default = 4)
HKR,,WRITEDMA,0x00010001,4

; Write DMA transfer Buffer Packet Number(default=360)
HKR,,WRITEDMAPACKETNUM,0x00010001,360

; Read User transfer Buffer Packet Number(default=1394)
HKR,,READUSERPACKETNUM,0x00010001,1394

; Write User transfer Buffer Packet Number(default=1394)
HKR,,WRITEUSERPACKETNUM,0x00010001,1394

; command ack wait timer(ms unit)
HKR,,CMDTIMER,0x00010001,5000

; BCAS IsExist (default = 1)
HKR,,BCASEXIST,0x00010001,1

; Tuner IsExist (default = 1)
HKR,,TUNEREXIST,0x00010001,1

; Script IsMode (default = 0)
HKR,,SCRIPTMODE,0x00010001,0

; Driver Authority IsExcute (default = 1)
HKR,,DRVAUTHEXE,0x00010001,1

; Driver Realtime Authority IsExcute (default = 1)
HKR,,DRVRTAUTHEXE,0x00010001,1

; Secure Command Encryption IsExcute (default = 1)
HKR,,SECCMDENCEXE,0x00010001,1

; Bcas Command Encryption IsExcute (default = 1)
HKR,,BCASCMDENCEXE,0x00010001,1

; Driver Version Position
HKR,,DRVVERPOS,0x00010001,1

; Recovery sequense IsRecovery (default = 0)
HKR,,RECOVERY,0x00010001,0

; Secure command ack wait timer(ms unit)
HKR,,SECCMDMSGTIMER,0x00010001,10000

[MB86H57PCIe.Services]
AddService=MB86H57PCIe, 0x00000002, MB86H57PCIe.ServiceInstall

[MB86H57PCIe.ServiceInstall]
DisplayName=%MB86H57PCIe.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%10%\system32\drivers\AVerMB86_x64.sys
LoadOrderGroup=Extended Base

[MB86H57PCIe.CopyDrivers]
AVerMB86_x64.sys
mb86h57_h58_aac_m_m_trc.bin
mb86h57_h58_aac_h_m_trc.bin
mb86h57_h58_aac_trc.bin
mb86h57_h58_aac_idle.bin


[MB86H57PCIe.PinNameRegist]
HKLM,%MediaCategories%\%GUID.PINNAME_ANTENNA_IN%,Name,,%Pin.AntennaIn%
HKLM,%MediaCategories%\%GUID.PINNAME_STREAM_IN%,Name,,%Pin.StreamIn%
HKLM,%MediaCategories%\%GUID.PINNAME_STREAM_OUT%,Name,,%Pin.StreamOut%
HKLM,%MediaCategories%\%GUID.PINNAME_STREAM_OUT2%,Name,,%Pin.StreamOut2%

[MB86H57PCIe.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_CaptureFilter_0_0%,MB86H57PCIe.Reader.Install_0_0,
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_CaptureFilter_0_1%,MB86H57PCIe.Reader.Install_0_1,
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_CaptureFilter_1_0%,MB86H57PCIe.Reader.Install_1_0,
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_CaptureFilter_1_1%,MB86H57PCIe.Reader.Install_1_1,

[MB86H57PCIe.Reader.Install_0_0]
AddReg=MB86H57PCIe.Reader.AddReg_0_0

[MB86H57PCIe.Reader.AddReg_0_0]
HKR,,CLSID,,%CLSID_Proxy%
HKR,,FriendlyName,,%MB86H57PCIe.Reader.FriendlyName_0_0%

[MB86H57PCIe.Reader.Install_0_1]
AddReg=MB86H57PCIe.Reader.AddReg_0_1

[MB86H57PCIe.Reader.AddReg_0_1]
HKR,,CLSID,,%CLSID_Proxy%
HKR,,FriendlyName,,%MB86H57PCIe.Reader.FriendlyName_0_1%

[MB86H57PCIe.Reader.Install_1_0]
AddReg=MB86H57PCIe.Reader.AddReg_1_0

[MB86H57PCIe.Reader.AddReg_1_0]
HKR,,CLSID,,%CLSID_Proxy%
HKR,,FriendlyName,,%MB86H57PCIe.Reader.FriendlyName_1_0%

[MB86H57PCIe.Reader.Install_1_1]
AddReg=MB86H57PCIe.Reader.AddReg_1_1

[MB86H57PCIe.Reader.AddReg_1_1]
HKR,,CLSID,,%CLSID_Proxy%
HKR,,FriendlyName,,%MB86H57PCIe.Reader.FriendlyName_1_1%

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------
[Strings]
;----------------
; Non-Localizable
;----------------
SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"

;----------------
;STANDARD GUID
;----------------
KSCATEGORY_CAPTURE					= "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
CLSID_Proxy						= "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

;----------------
;LOCAL GUID
;----------------
KSNAME_CaptureFilter_0_0				= "{CC5CB191-A952-4751-9727-D78FEE0134AB}"
KSNAME_CaptureFilter_0_1				= "{298062A2-B01A-4197-9E89-2C398D0F7EDC}"
KSNAME_CaptureFilter_1_0				= "{27C50F8B-2407-483b-A7F3-4AFE6B60B500}"
KSNAME_CaptureFilter_1_1				= "{07B31E49-4E80-4029-A658-885FFE94C557}"
GUID.PINNAME_ANTENNA_IN					= "{959F1A92-BE8E-4542-8DD5-527E38606621}"
GUID.PINNAME_STREAM_IN					= "{74002410-C2A0-4923-B77E-685F2CE511D5}"
GUID.PINNAME_STREAM_OUT					= "{3BE9246A-9F23-44ca-AC4D-7A13804011AC}"
GUID.PINNAME_STREAM_OUT2				= "{1CB3076F-7907-4453-BD96-E3802DCDA7CA}"


;----------------
; Localizable
;----------------
Disk1							= "AVerMB86 PCIe Installation DISK 1"
Fujitsu							= "Fujitsu"
AVerMedia						= "AVerMedia"
MB86H57PCIe.DeviceDesc					= "AVerMedia A33T MiniCard Hybrid ISDB-T/S"
MB86H57PCIe.FilterDesc					= "AVerMedia  PCIe"
MB86H57PCIe.DriverDisplayName				= "AVerMedia PCIe Driver"
MB86H57PCIe.Reader.FriendlyName_0_0			= "AVerMedia  PCIe(1) ISDB-T/S Tuner(1)"
MB86H57PCIe.Reader.FriendlyName_0_1			= "AVerMedia  PCIe(1) ISDB-T/S Tuner(2)"
MB86H57PCIe.Reader.FriendlyName_1_0			= "AVerMedia  PCIe(2) ISDB-T/S Tuner(1)"
MB86H57PCIe.Reader.FriendlyName_1_1			= "AVerMedia  PCIe(2) ISDB-T/S Tuner(2)"
Pin.AntennaIn						= "Antenna In"
Pin.StreamIn						= "Stream In"
Pin.StreamOut						= "Stream Out"
Pin.StreamOut2						= "Stream Out2"


