[Version]
signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%GLI%
DriverVer=04/10/2007, 1.9.0.0
CatalogFile.ntx86=bdacap.cat

[ControlFlags]
ExcludeFromSelect=*

[SourceDisksNames]
1="driver1003_1",,,""

[SourceDisksFiles]
bdacap.sys=1
IRKEYMAP_1.SET=1

;---------------------------------------------------------------------------
; Manual "Right-Click" Installation
;---------------------------------------------------------------------------

[DefaultInstall]
; This section is used for manual device installation.
;
; The device to be installed by right-clicking the INF and
; selecting the Install option.
;
needs=bdacap.Installation

[bdacap.Installation]
; This section is used for manual device installation.
;
CopyFiles=bdacap.inf.CopyFiles
AddReg=bdacap.RunOnce.AddReg

[bdacap.inf.CopyFiles]
; This section is used for manual device installation.
;
bdacap.inf

[bdacap.RunOnce.AddReg]
; This section is used for manual device installation.
;
HKLM,%RunOnce%,"bdacap.Capture",,"rundll32.exe streamci,StreamingDeviceSetup %BdaSWCapture.DeviceId%,%KSSTRING_BdaSWCaptureFilter%,%KSCATEGORY_BDARECEIVER%,%01%\bdacap.inf,bdacap.Filter.AddReg"



;---------------------------------------------------------------------------
; PnP Installation
;---------------------------------------------------------------------------

[DestinationDirs]
bdacap.CopyFiles=10,system32\drivers
bdacap.inf.CopyFiles=17

[Manufacturer]
%GLI%=Genesyslogic

[Genesyslogic]
%BdaSWCapture.DeviceDesc%=bdacap,USB\VID_05E3&PID_0504&MI_00

[bdacap]
; The Include and Needs lines cause the installation support devices
; and registration of required DShow categories.
;
; NOTE!  If there is not a separate capture filter then the tuner
;        INF should contain these lines.
;
Include     = ks.inf, kscaptur.inf, bda.inf
Needs       = KS.Registration, KSCAPTUR.Registration, BDA.Installation
AddReg=bdacap.AddReg,AW_ATSC_S1409_M5005.AddReg
CopyFiles=bdacap.CopyFiles

[bdacap.NT]
; The Include and Needs lines cause the installation support devices
; and registration of required DShow categories.
;
; NOTE!  If there is not a separate capture filter then the tuner
;        INF should contain these lines.
;
Include     = ks.inf, kscaptur.inf, bda.inf
Needs       = KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT
AddReg=bdacap.AddReg,AW_ATSC_S1409_M5005.AddReg
CopyFiles=bdacap.CopyFiles

[bdacap.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,bdacap.sys

[AW_ATSC_S1409_M5005.AddReg]
HKR,"DriverData","DefaultBandwidth", 0x00010001, 0x06
HKR,"DriverData","I2CSlaveAddress",  0x00010001, 0x32
HKR,"DriverData","TunerVendor",      0x00010001, 0x00     ;ATSC->DVBC : 0xFF
HKR,"DriverData","DemodulModel",     0x00010001, 0x00     ;QAM mode   : 64/256
HKR,"DriverData","TunerModel" ,      0x00010001, 0x00     ;khz
HKR,"DriverData","TunerType",        0x00010001, 0x11     ;AW_S1409_M5005
HKR,"DriverData","USBRuningMode",    0x00010001, 0x1C
HKR,"DriverData","USBRuningMode2",   0x00010001, 0x00
HKR,"DriverData","TimerSet1",        0x00010001, 0x00
HKR,"DriverData","TimerSet2",        0x00010001, 0x00
HKR,"DriverData","IRTableFileName",  0x0010000, %12%\IRKEYMAP_1.SET


[bdacap.CopyFiles]
bdacap.sys
IRKEYMAP_1.SET


[bdacap.Interfaces]
; Add an interface for each type of filter exposed by this device driver.
; The format of each line is as follows
;
; AddInterface = DSHOW_CATEGORY, FILTER_REFERENCE_GUID, INSTALLATION_SECTION
;
; DSHOW_CATEGORY is the GUID for the Direct Show category in which the
; filter should appear.  A filter that appears in multiple categories should
; have a line for each category.
;
; FILTER_REFERENC_GUID should be the same as the ReferenceGuid in the
; the KSFILTER_DESCRIPTOR for the filter.
;
; INSTALLATION_SECTION specifies the section that the installer should call
; to add the ring 3 filter class to the registry.  Except for legacy analog
; tuner and crossbar, all BDA filters should specify KSProxy as the ring 3
; filter class.
;
AddInterface = %KSCATEGORY_BDARECEIVER%, %KSSTRING_BdaSWCaptureFilter%, bdacap.Filter
AddInterface = %KSCATEGORY_BDASOURCE%, %KSSTRING_BdaSWTunerFilter%, BdaTuner.Filter
AddInterface = %KSCATEGORY_BDASOURCE%, %KSSTRING_BdaSWTunerFilter2%, BdaTuner.Filter2

[bdacap.NT.Interfaces]
; Add an interface for each type of filter exposed by this device driver.
; The format of each line is as follows
;
; AddInterface = DSHOW_CATEGORY, FILTER_REFERENCE_GUID, INSTALLATION_SECTION
;
; DSHOW_CATEGORY is the GUID for the Direct Show category in which the
; filter should appear.  A filter that appears in multiple categories should
; have a line for each category.
;
; FILTER_REFERENC_GUID should be the same as the ReferenceGuid in the
; the KSFILTER_DESCRIPTOR for the filter.
;
; INSTALLATION_SECTION specifies the section that the installer should call
; to add the ring 3 filter class to the registry.  Except for legacy analog
; tuner and crossbar, all BDA filters should specify KSProxy as the ring 3
; filter class.
;
AddInterface = %KSCATEGORY_BDARECEIVER%, %KSSTRING_BdaSWCaptureFilter%, bdacap.Filter
;AddInterface = %KSCATEGORY_BDASOURCE%, %KSSTRING_BdaSWTunerFilter%, BdaTuner.Filter
AddInterface = %KSCATEGORY_BDATUNER%, %KSSTRING_BdaSWTunerFilter%, BdaTuner.Filter
AddInterface = %KSCATEGORY_BDATUNER%, %KSSTRING_BdaSWTunerFilter2%, BdaTuner.Filter2

[bdacap.Filter]
; This is the install section for the sample BDA capture filter.
;
AddReg = bdacap.Filter.AddReg

[bdacap.Filter.AddReg]
; The sample BDA digital capture driver uses KSProxy for its ring 3 filter class.
;
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%BdaSWCapture.FilterDesc%

[BdaTuner.Filter]
; This is the install section for the sample BDA digital tuner filter.
;
AddReg = BdaTuner.Filter.AddReg

[BdaTuner.Filter.AddReg]
; The sample BDA digital tuner uses KSProxy for its ring 3 filter class.
;
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%BdaTuner.FilterDesc%

[BdaTuner.Filter2]
; This is the install section for the sample BDA digital tuner filter.
;
AddReg = BdaTuner.Filter.AddReg2

[BdaTuner.Filter.AddReg2]
; The sample BDA digital tuner uses KSProxy for its ring 3 filter class.
;
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%BdaTuner.FilterDesc2%


[bdacap.NT.Services]
; Add the NT service.  This causes the driver to be loaded on NT based systems.
;
AddService=bdacap, 0x00000002, bdacap.ServiceInstall

[bdacap.ServiceInstall]
DisplayName=%BdaSWCapture.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%10%\system32\drivers\bdacap.sys
LoadOrderGroup=ExtendedBase


[Strings]

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
REG_EXPAND_SZ=0x00020000
REG_DWORD=0x00010001

RunOnce="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"

; Specify the GUID for the Ksproxy plugin..
;
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

; Specify the GUID for the BDA Receiver Filters category in GraphEdit.
;
KSCATEGORY_BDARECEIVER="{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"

; Specify the GUID for the BDA Source Filters category in GraphEdit.
;
KSCATEGORY_BDATUNER="{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"

; Specify the GUID for the capture device's SW PnP ID
;
BdaSWCapture.DeviceId="{AA7F4F0A-A95B-42d1-B9DD-EE3AC9AB39A8}"

; Specify the GUID for the tuner device's SW PnP ID
;
BdaSWTuner.DeviceId="{828B00F0-9A04-4692-8573-535B05DFF3F4}"

; Specify the GUID for the digital capture Filter.
;
; NOTE!  This must match the reference guid specified in the driver's filter
;        descriptor.
;
KSSTRING_BdaSWCaptureFilter="{074649FE-2DD8-4c12-8A23-BD828BADFFFA}"

KSSTRING_BdaSWTunerFilter="{3CE6374B-32B4-4bac-9CEB-D7EB76C271C4}";"{91B0CC87-9905-4d65-A0D1-5861C6F22CBF}"
KSSTRING_BdaSWTunerFilter2="{E4265A96-40CA-48a8-A1C7-D10FC60978AD}"

; Specify the GUID for WDM capture devices.
; A legacy analog capture filter would belong to this category.
;
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"



;----------------
; localizeable
;----------------

GLI="Genesyslogic"
BdaSWCapture.FilterDesc="Genesyslogic DTV Filter"
BdaSWCapture.DeviceDesc="Genesyslogic DTV Device"
BdaTuner.FilterDesc="Genesyslogic ATSC Tuner Filter"
BdaTuner.FilterDesc2="Genesyslogic DVBC Tuner Filter"
BdaTuner.FriendlyName="Genesyslogic BDA Tuner"
