;------------------------------------------------------------------------
; 
;  Copyright and Disclaimer: 
;  
;     --------------------------------------------------------------- 
;     This software is provided "AS IS" without warranty of any kind, 
;     either expressed or implied, including but not limited to the 
;     implied warranties of noninfringement, merchantability and/or 
;     fitness for a particular purpose.
;     --------------------------------------------------------------- 
;   
;     Copyright (c) 2010 GoTView. 
;     All rights reserved. 
;
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Company%
DriverVer=07/07/2010,1.0.0.4
CatalogFile=gotsathd64.cat

[Manufacturer]
%Company%=GoTView,NTamd64

[SourceDisksNames]
1=%DriverDisk%,,,""

[SourceDisksFiles]
gotsathd64.sys=1

[GoTView.NTamd64]
%SU3000.DeviceDesc%      = SU3000,    USB\VID_1FE1&PID_5456
%SU3000.DeviceDesc%      = SU3000,    USB\VID_1FE1&PID_5457

[SU3000.NT]
Include=    ks.inf, kscaptur.inf,ksfilter.inf, wdmaudio.inf, bda.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT,MSPCLOCK.Installation, WDMAUDIO.Registration, BDA.Registration, bda.Installation.NT
AddReg=     LwireDev.AddReg,SU3000.AddReg,NullTuner.AddReg,LWTS.AddReg
CopyFiles=  CXLWIRE.CopyDrivers  

[DestinationDirs]
CXLWIRE.CopyDrivers=10,system32\drivers

[CXLWIRE.CopyDrivers]
gotsathd64.sys

[LwireDev.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,gotsathd64.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,01

[NullTuner.AddReg]
;---Tuner registry values------
HKR,"DriverData","TunerType",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","TunerI2CAddress",0x00010001, 0xC2, 0x00, 0x00, 0x00
HKR,"DriverData","Tuner2IFAddress",0x00010001, 0x86, 0x00, 0x00, 0x00

[LWTS.AddReg]
HKLM,System\CurrentControlSet\Control\MediaCategories\%TSPinID%,Display,1, 00,00,00,00
HKLM,System\CurrentControlSet\Control\MediaCategories\%TSPinID%,Name,,%TSPinName%
; TS filter parameters
HKR,"DriverData","dwTS_GEN_CNTRL",0x00010001,     0x04,0x00,0x00,0x00
HKR,"DriverData","dwIsTSStream",0x00010001,       0x00,0x00,0x00,0x00
HKR,"DriverData","dwTP_PACKET_SIZE",0x00010001,   0xBC,0x00,0x00,0x00

[SU3000.AddReg]
;------------------------------
HKR,"DriverData","BoardType",0x00010001, 0x04, 0x00, 0x00, 0x00
HKR,"DriverData","TunerModel",0x00010001, 0x19,0x00,0x00,0x00
HKR,"DriverData","UseFreqOffsetDVBT",0x00010001, 0x7D, 0x00, 0x00, 0x00
HKR,"DriverData","DemodType",0x00010001, 0x02, 0x00, 0x00, 0x00
HKR,"DriverData","SoftFilter",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","RefClk",0x00010001, 0x01, 0x00, 0x00, 0x00

;
; Interfaces installation
;

[SU3000.NT.Interfaces]
AddInterface =%KSCATEGORY_BDATUNER%,%KSSTRING_BdaLWireSWTunerFilter%,CXBDATUNE_Interface,
AddInterface={FD0A5AF4-B41D-11d2-9C95-00C04F7971E0},%KsTSNameFilter%,TS_Interface

;
[CXBDATUNE_Interface]
AddReg = CXBDATUNE_Interface.AddReg

[CXBDATUNE_Interface.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%BdaTunerFriendlyName%

[TS_Interface]
AddReg=TS_Interface.AddReg

[TS_Interface.AddReg]
HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%TSFriendlyName%

;
; Services installation
;

[SU3000.NT.Services]
AddService = CYDTV_SRV,2,LwireDevice.ServiceInstall

[LwireDevice.ServiceInstall]
DisplayName   = %LWIREService.DeviceDesc%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %10%\system32\drivers\gotsathd64.sys

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]
Company		 		= "GoTView"
DriverDisk			= "SatelliteHD Drivers"
LWIREService.DeviceDesc         = "SatelliteHD Driver"
SU3000.DeviceDesc               = "GoTView SatelliteHD"
BdaTunerFriendlyName		= "GOTVIEW SatelliteHD DVB-S2 Tuner"

Proxy.CLSID                  = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

ActiveMovieCategories        = "CLSID\{da4e3da0-d07d-11d0-bd50-00a0c911ce86}\Instance"
MediaCategories              = "SYSTEM\CurrentControlSet\Control\MediaCategories"
MediaSets                    = "System\CurrentControlSet\Control\MediaSets"
MediaInterfaces              = "System\CurrentControlSet\Control\MediaInterfaces"

; Specify the GUID for the BDA Source Filters category in GraphEdit.
;
KSCATEGORY_BDATUNER="{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
KSSTRING_BdaLWireSWTunerFilter="{972B7BB1-8149-4a72-B891-83E3C7DFE596}"
BdaSWTuner.DeviceId =   "{828B00F0-9A04-4692-8573-535B05DFF3F4}"
TSPinID             =   "{5237C937-0A21-4f7e-B338-DE0D0793D03F}"
TSPinName           =   "TS Out"
TSFriendlyName      = 	"GoTView TS Capture"
KsTSNameFilter      =   "{452660BD-3B39-4e34-9B97-3D3BC054AF5D}"
