;*  Use of this Software/Data is subject to the terms and conditions of               *
;*  the applicable agreement between Auvitek International, Ltd, and receiving party. *
;*  In addition, this Software/Data is protected by copyright law and international   *
;*  treaties.                                                                         *
;*												
;*  The copyright notice(s) in this Software/Data does not indicate actual            *
;*  or intended publication of this Software/Data.                                    *
;*
;*  Descriptions:USB driver Install Information File For Win2000, WinXP,Vista
;*  
;**************************************************************************************


[Version]
signature="$WINDOWS NT$" ;all windows NT os
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Vendor%
CatalogFile = AuviDongle.cat
DriverVer=02/27/2008,1.20122.84.212
;UATV::Version=2.20122.84.202
;UDTV::Version=2.20122.72.202

[ControlFlags]
ExcludeFromSelect=*

[SourceDisksNames]
1=%DongleDriverInstallDisk%,,

[SourceDisksFiles]
AuviUDTV.sys=1
AuviUATV.sys=1
AuviUADFilter.sys=1
AuvitekCoInstallerB.dll=1

[AuviCoInfo]
OriginalInfSourcePath = %1%

[DestinationDirs]
AuviUATV.CopyDrivers=12
AuviUATV.CopyCoInst =11
AuviUDTV.CopyDrivers=12
AuviUDTV.CopyCoInst =11

AuviUAD.CopyDrivers=12

[Manufacturer]
%MfgName%=Models


[Models]
;---------------------------------------------------------------
%AuviUAD.DeviceDesc%=AuviUADFilter,USB\VID_05E1&PID_0400&MI_01
%AuviUATV.DeviceDesc%=ATV004B,USB\VID_05E1&PID_0400&MI_00 
%AuviUDTV.DeviceDesc%=DTV004B,USB\VID_05E1&PID_0400&MI_03

;-------------------------CopyFiles--------------------------------------
[AuviUAD.CopyDrivers]
AuviUADFilter.sys
[AuviUATV.CopyDrivers]
AuviUATV.sys
[AuviUATV.CopyCoInst]
AuvitekCoInstallerB.dll


[AuviUDTV.CopyDrivers]
AuviUDTV.sys
[AuviUDTV.CopyCoInst]
AuvitekCoInstallerB.dll

[AuviUATV.CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"AuvitekCoInstallerB.dll, CoInstallerEntry"
[AuviUDTV.CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"AuvitekCoInstallerB.dll, CoInstallerEntry"


;------------------------ATV0884&DTV0884---------------------------------------

[ATV004B.NT.CoInstallers]
CopyFiles = AuviUATV.CopyCoInst
AddReg = AuviUATV.CoInstaller_AddReg

[ATV004B.Params.Reg]
HKR,,TunerType , %REG_DWORD%,0
HKR,,BoardType , %REG_DWORD%,0
HKR,,DemoType,%REG_DWORD%,13
HKR,,IsAutoMode,%REG_DWORD%,0
HKR,,IsNeedI2C2,%REG_DWORD%,1
HKR,,IsKorea,%REG_DWORD%,0
HKR,,IsSupportDVBT,%REG_DWORD%,0
HKR,,TunerScanTimes, %REG_DWORD%,20

HKR,,IsNeedLEDCtrl,%REG_DWORD%,0
HKR,,IsPCI_E_MiniCard,%REG_DWORD%,0

HKR,,IsYUY2,%REG_DWORD%,0
HKR,,IsSupportAnlg,%REG_DWORD%,1
HKR,,IsSupportFM,%REG_DWORD%,1
HKR,,IsRFOnly,%REG_DWORD%,0
HKR,,IsNeedHRC,%REG_DWORD%,0
HKR,,NRLevel,%REG_DWORD%,3
HKR,,AnlgRFMode,%REG_DWORD%,1
HKR,,AnlgCVBSMode,%REG_DWORD%,2
HKR,,AnlgSVideoMode,%REG_DWORD%,3

HKR,,Reg081h_RF,%REG_DWORD%,0xc4
HKR,,Reg081h_CVBS,%REG_DWORD%,0x68
HKR,,Reg081h_SVIDEO,%REG_DWORD%,0x23
HKR,,Reg083h_RF,%REG_DWORD%,0x00
HKR,,Reg083h_CVBS,%REG_DWORD%,0x0
HKR,,Reg083h_SVIDEO,%REG_DWORD%,0x0

HKR,,AudioVolume, %REG_DWORD%,0x7FF
HKR,,VCRReg1, %REG_DWORD%,0x59
HKR,,VCRReg2, %REG_DWORD%,0xA0
HKR,,Reg0B0h_AU8502_ATV,%REG_DWORD%,0x85
HKR,,Reg0A9h_AU8502_ATV,%REG_DWORD%,0x05
HKR,,Reg0D9h,%REG_DWORD%,0x78


HKR,,IsCS5340Available,%REG_DWORD%,1
HKR,,IsAudioDongle,%REG_DWORD%,0
HKR,,IsDeltron,%REG_DWORD%,0

[DTV004B.NT.CoInstallers]
CopyFiles = AuviUDTV.CopyCoInst
AddReg = AuviUDTV.CoInstaller_AddReg

[DTV004B.Params.Reg]
HKR,,TunerType , %REG_DWORD%,0
HKR,,BoardType , %REG_DWORD%,0
HKR,,DemoType,%REG_DWORD%,13
HKR,,IsAutoMode,%REG_DWORD%,0
HKR,,IsNeedI2C2,%REG_DWORD%,1
HKR,,IsKorea,%REG_DWORD%,0
HKR,,IsSupportDVBT,%REG_DWORD%,0
HKR,,TunerScanTimes, %REG_DWORD%,20

HKR,,IsNeedLEDCtrl,%REG_DWORD%,0
HKR,,IsPCI_E_MiniCard,%REG_DWORD%,0

HKR,,IsSupportQAM,%REG_DWORD%,1
HKR,,Reg0B0h_AU8502_DTV,%REG_DWORD%,0x5a
HKR,,Reg0A9h_AU8502_DTV,%REG_DWORD%,0x05


[ATV004B.NT]
Include    = ks.inf, wdmaudio.inf,kscaptur.inf, bda.inf
Needs      = KS.Registration.NT,WDMAUDIO.Registration.NT,KSCAPTUR.Registration.NT,BDA.Registration.NT,BDA.Installation.NT
CopyFiles  = AuviUATV.CopyDrivers
AddReg     = AuviUATV.AddReg

[ATV004B.NT.Services]
Addservice = AuviUATV, 0x00000002, AuviUATV.AddService

[ATV004B.NT.HW]
AddReg         = ATV004B.Params.Reg

[ATV004B.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%VAMP_ANLG_CAP_FILTER%,AuviUATV.AnlgCapture,0
AddInterface=%KSCATEGORY_VIDEO%,%VAMP_ANLG_CAP_FILTER%,AuviUATV.AnlgCapture,0
AddInterface=%KSCATEGORY_CROSSBAR%,%VAMP_ANLG_XBAR_FILTER%,AuviUATV.AnlgXBar,0
AddInterface=%KSCATEGORY_TVAUDIO%,%VAMP_ANLG_TVAUDIO_FILTER%,AuviUATV.AnlgTVAudio,0
AddInterface=%KSCATEGORY_TVTUNER%,%VAMP_ANLG_TUNER_FILTER%,AuviUATV.AnlgTuner,0
AddInterface=%KSCATEGORY_REMOTECONTROL_FILTER%,%VAMP_ANLG_REMOTECONTROL_FILTER%,AuviUATV.RemoteControl,0

[DTV004B.NT]
Include    = ks.inf, kscaptur.inf, bda.inf
Needs      = KS.Registration.NT,KSCAPTUR.Registration.NT,BDA.Registration.NT,BDA.Installation.NT
CopyFiles  = AuviUDTV.CopyDrivers
AddReg     = AuviUDTV.AddReg


[DTV004B.NT.Services]
Addservice = AuviUDTV, 0x00000002, AuviUDTV.AddService


[DTV004B.NT.HW]
AddReg         = DTV004B.Params.Reg

[DTV004B.NT.Interfaces]
AddInterface=%KSCATEGORY_BDA_RECEIVER_COMPONENT%,%VAMP_DGTL_CAP_FILTER%,AuviUDTV.DgtlCapture,0
AddInterface=%KSCATEGORY_BDA_NETWORK_TUNER%,%VAMP_DGTL_TUNER_FILTER%,AuviUDTV.DgtlTuner,0
AddInterface=%KSCATEGORY_REMOTECONTROL_FILTER%,%VAMP_DGTL_REMOTECONTROL_FILTER%,AuviUDTV.RemoteControl,0

;---------------------------------------------------------------
[AuviUADFilter.NT]
Include=wdma_usb.inf
Needs=USBAudio.NT
CopyFiles=AuviUAD.CopyDrivers

[AuviUADFilter.NT.Services]
Include=wdma_usb.inf
Needs=USBAudio.NT.Services
Addservice = AuviUADFilter,, AuviUADFilter.AddService
[AuviUADFilter.AddService]
DisplayName    = %AuviUADFilter.FriendlyName%
ServiceType    = 1    
StartType      = 3    
ErrorControl   = 0    
ServiceBinary  = %12%\AuviUADFilter.sys

[AuviUADFilter.NT.HW]
AddReg = AuviUADFilter.HW.AddReg

[AuviUADFilter.HW.AddReg]
HKR,,"LowerFilters",0x00010000,"AuviUADFilter"

[AuviUATV.AddService]
DisplayName    = %AuviUATV.FriendlyName%
Description    = %AUVIUATV_SERVICE_DESCRIPTION%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\AuviUATV.sys



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



; audio capture registry entries
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,AuviUATV.SYS
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,,"Audio Capture Device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"Audio Capture Device"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_ANLG_AUDIO_IN_PIN%,"Name",,"Analog Audio In"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_ANLG_AUDIO_OUT_PIN%,"Name",,"Audio"


[AuviUATV.AnlgCapture]
AddReg=AuviUATV.AnlgCapture.AddReg

[AuviUATV.AnlgCapture.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%AuviUATV.AnlgCaptureName%
HKR,,VampType,,%AuviUATV.VampType%
[AuviUATV.AnlgXBar]
AddReg=AuviUATV.AnlgXBar.AddReg

[AuviUATV.AnlgXBar.AddReg]
HKR,,CLSID,,%KSXBar.CLSID%
HKR,,FriendlyName,,%AuviUATV.AnlgXBarName%

[AuviUATV.AnlgTVAudio]
AddReg=AuviUATV.AnlgTVAudio.AddReg

[AuviUATV.AnlgTVAudio.AddReg]
HKR,,CLSID,,%KSTVAudio.CLSID%
HKR,,FriendlyName,,%AuviUATV.AnlgTVAudioName%

[AuviUATV.AnlgTuner]
AddReg=AuviUATV.AnlgTuner.AddReg

[AuviUATV.AnlgTuner.AddReg]
HKR,,CLSID,,%KSTvTune.CLSID%
HKR,,FriendlyName,,%AuviUATV.AnlgTunerName%

[AuviUATV.RemoteControl]
AddReg=AuviUATV.RemoteControl.AddReg
AddReg=AuviUATV.RemoteControl.DShow.AddReg

[AuviUATV.RemoteControl.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%AuviUATV.RemoteControlName%

[AuviUATV.RemoteControl.DShow.AddReg]
HKCR,CLSID\{DA4E3DA0-D07D-11d0-BD50-00A0C911CE86}\Instance\{96d17ec1-161c-4760-b5a2-3a2eb22d61a5},CLSID,,%KSCATEGORY_REMOTECONTROL_FILTER%
HKCR,CLSID\{DA4E3DA0-D07D-11d0-BD50-00A0C911CE86}\Instance\{96d17ec1-161c-4760-b5a2-3a2eb22d61a5},FriendlyName,,%AuviUATV.RemoteControlDShowTypeName% 




[AuviUDTV.AddService]
DisplayName    = %AuviUDTV.FriendlyName%
Description    = %AUVIUDTV_SERVICE_DESCRIPTION%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\AuviUDTV.sys

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


[AuviUDTV.DgtlCapture]
AddReg=AuviUDTV.DgtlCapture.AddReg

[AuviUDTV.DgtlCapture.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%AuviUDTV.DgtlCaptureName%

[AuviUDTV.DgtlTuner]
AddReg=AuviUDTV.DgtlTuner.AddReg

[AuviUDTV.DgtlTuner.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%AuviUDTV.DgtlTunerName%

[AuviUDTV.RemoteControl]
AddReg=AuviUDTV.RemoteControl.AddReg
AddReg=AuviUDTV.RemoteControl.DShow.AddReg

[AuviUDTV.RemoteControl.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%AuviUDTV.RemoteControlName%

[AuviUDTV.RemoteControl.DShow.AddReg]
HKCR,CLSID\{DA4E3DA0-D07D-11d0-BD50-00A0C911CE86}\Instance\{96d17ec1-161c-4760-b5a2-3a2eb22d61a5},CLSID,,%KSCATEGORY_REMOTECONTROL_FILTER%
HKCR,CLSID\{DA4E3DA0-D07D-11d0-BD50-00A0C911CE86}\Instance\{96d17ec1-161c-4760-b5a2-3a2eb22d61a5},FriendlyName,,%AuviUDTV.RemoteControlDShowTypeName% 




[Strings]

KSProxy.CLSID   = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSXBar.CLSID    = "{71F96460-78F3-11d0-A18C-00A0C9118956}"
KSTVAudio.CLSID = "{71F96462-78F3-11d0-A18C-00A0C9118956}"
KSTvTune.CLSID  = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"

; Category GUIDs
KSCATEGORY_BDA_RECEIVER_COMPONENT = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
KSCATEGORY_BDA_NETWORK_TUNER      = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
KSCATEGORY_CAPTURE                = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO                  = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_AUDIO                  = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_CROSSBAR               = "{a799a801-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVAUDIO                = "{a799a802-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVTUNER                = "{a799a800-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_REMOTECONTROL_FILTER   = "{CFA78EFD-6938-4322-854C-1C4C6B5EBB3C}"

; Our Pin GUIDs
VAMP_ANLG_AUDIO_IN_PIN  = "{6D8BD131-FF8E-4c9f-8894-10F240673342}"
VAMP_ANLG_AUDIO_OUT_PIN = "{8B98E36B-8F94-4d43-9151-A095081DCAE3}"
; Our Filter GUIDs
VAMP_ANLG_CAP_FILTER     = "{D553D66A-66A7-45a9-819B-46A14F62E0AF}"
VAMP_ANLG_XBAR_FILTER    = "{617D74D1-1E74-445f-AE6F-0F2C10E5BB7C}"
VAMP_ANLG_TVAUDIO_FILTER = "{B2D1E2E7-224A-4d6a-A91F-90EC215B6859}"
VAMP_ANLG_TUNER_FILTER   = "{C754E23D-CD99-40c4-B38C-66620E8EB76B}"
VAMP_DGTL_CAP_FILTER     = "{AAB15B57-EF8D-40b2-A10C-7694C96598D0}"
VAMP_DGTL_TUNER_FILTER   = "{7F547DCD-CADA-451e-AF10-EEADC94AE3A7}"
VAMP_ANLG_REMOTECONTROL_FILTER= "{0F7EE48D-BDFA-4a46-B73C-16897F7D9FD8}"
VAMP_DGTL_REMOTECONTROL_FILTER= "{44DF32A4-F353-48a4-B3FE-E9094BAD7155}"

; system defines

SERVICE_BOOT_START = 0x0 
SERVICE_SYSTEM_START = 0x1 
SERVICE_AUTO_START = 0x2 
SERVICE_DEMAND_START = 0x3 
SERVICE_DISABLED = 0x4 
SERVICEROOT    = "System\CurrentControlSet\Services"

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

FLG_REGSVR_DLLREGISTER = 0x00000001

;Our strings

AuviUADFilter.FriendlyName = "Auvitek USB Audio Filter Driver"


Vendor = "Auvitek"
DongleDriverInstallDisk = "Auvitek BDA Drivers Release CD"
MfgName  ="Auvitek"
AuviUAD.DeviceDesc = "HDTV Stick USB Audio Device"
AuviUATV.DeviceDesc = "HDTV Stick NTSC/FM Capture Device"
AuviUATV.FriendlyName = "HDTV Stick NTSC/FM Capture Device"
AUVIUATV_SERVICE_DESCRIPTION  = "The Auvitek AVStream Driver"
AuviUDTV.DeviceDesc = "HDTV Stick ATSC/QAM Capture Device"
AuviUDTV.FriendlyName = "HDTV Stick ATSC/QAM Capture"
AUVIUDTV_SERVICE_DESCRIPTION  = "The Auvitek HDTV BDA Driver"

;Our Friendly Names

AuviUDTV.DgtlCaptureName = "HDTV Stick Digital Capture"
AuviUDTV.DgtlTunerName   = "HDTV Stick Digital Tuner"
AuviUDTV.VampType        = "HDTV Stick Capture"
AuviUDTV.RemoteControlName = "HDTV Stick Digital Remote Control"
AuviUDTV.RemoteControlDShowTypeName="HDTV Stick Remote Control Component"


AuviUATV.AnlgCaptureName = "HDTV Stick Analog Capture"
AuviUATV.AnlgXBarName    = "HDTV Stick Analog Xbar"
AuviUATV.AnlgTVAudioName = "HDTV Stick Analog TV Audio"
AuviUATV.AnlgTunerName   = "HDTV Stick Analog Tuner"
AuviUATV.VampType        = "HDTV Stick Analog TV Capture"
AuviUATV.RemoteControlName = "HDTV Stick Analog Remote Control"
AuviUATV.RemoteControlDShowTypeName="HDTV Stick Control Component"




; Registry types
REG_SZ                      = 0x00000
REG_BINARY                  = 0x00001
REG_MULTI_SZ                = 0x10000
REG_EXPAND_SZ               = 0x20000
REG_DWORD                   = 0x10001


