; DTV-DVB M9205/M9207 USB Analog/Digital TV BOX
; Copyright (c) 2003-2005, DTV-DVB Electronics Inc. (DTV-DVB)


[Version]
signature="$CHICAGO$" 					
CatalogFile=M920x.cat
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%DTV-DVB%
LayoutFile=layout.inf,layout1.inf,layout2.inf
DriverVer=07/28/2005,1.0.0.5


[Manufacturer]
%DTV-DVB%=DTV-DVBM9207


[DTV-DVBM9207]
%USB\VID_13D3&PID_3211A.DeviceDesc%=M9207A,USB\VID_13D3&PID_3211&MI_00
%USB\VID_13D3&PID_3211D.DeviceDesc%=M9207,USB\VID_13D3&PID_3211&MI_03


[DestinationDirs]
M9207.CopyFiles=10,system32\drivers
M9207A.CopyFiles=10,system32\drivers


[SourceDisksNames]
1 = %DISK_DESCRIPTION%,,


[SourceDisksFiles]
M9207BDA.sys=1
M9205.sys = 1


[M9207.CopyFiles]
M9207BDA.sys


[M9207A.CopyFiles]
M9205.sys

[ControlFlags]
ExcludeFromSelect=*


[M9207]
Include	= kscaptur.inf, bda.inf
Needs	= KSCAPTUR.Registration, BDA.Registration, bda.Installation, bdacap.Installation
AddReg	= M9207.AddReg
CopyFiles=M9207.CopyFiles
AlsoInstall=KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf)


[M9207.ntx86]
Include	= ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs	= KS.Registration.NT,KSCAPTUR.Registration.NT,BDA.Registration.NT,bda.Installation.NT,bdacap.Installation.NT,wdmaudio.Registration.NT
AddReg	= M9207.AddReg
CopyFiles=M9207.CopyFiles


[M9207A]
Include=    ks.inf, kscaptur.inf
Needs=      KS.Registration,KSCAPTUR.Registration
AddReg=     M9207A.AddReg
CopyFiles=M9207A.CopyFiles
SubClass=StillImage
DeviceType=3
DeviceSubType=0x1
Capabilities=0x00000031
DeviceData=M9207A.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[M9207A.NT]
Include=    ks.inf, kscaptur.inf, dshowext.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT, DSHOWEXT.Registration
AddReg=     M9207A.AddReg
CopyFiles=M9207A.CopyFiles
SubClass=StillImage
DeviceType=3
DeviceSubType=0x1
Capabilities=0x00000031
DeviceData=M9207A.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"



[M9207.ntx86.Services]
AddService=M9207, 0x00000002, M9207.ServiceInstall


[M9207.ServiceInstall]
DisplayName=%DISPLAY_NAME%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_SYSTEM_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary=%12%\M9207BDA.sys


[M9207.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,M9207BDA.sys

; //As it is, no change
HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x00,0x00,0x00,0x00
; //Fixed 6 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x06,0x00,0x00,0x00
; //Fixed 7 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x07,0x00,0x00,0x00
; //Fixed 8 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x08,0x00,0x00,0x00

; //As it is, no change
HKR,"DriverData","FixedBandwidth",0x00010001, 0x00,0x00,0x00,0x00
; //VHF in 7 MHz, UHF in 8 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x01,0x00,0x00,0x00
; //Fixed 6 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x06,0x00,0x00,0x00
; //Fixed 7 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x07,0x00,0x00,0x00
; //Fixed 8 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x08,0x00,0x00,0x00

; //167KHz will be scanned
HKR,"DriverData","ShiftFreqScan",0x00010001, 0x00,0x00,0x00,0x00
; //Don't scan +-167KHz, just return lock failure
;HKR,"DriverData","ShiftFreqScan",0x00010001, 0x01,0x00,0x00,0x00


[M9207A.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,M9205.sys
HKR,,OkToHibernate,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,,PageOutWhenUnopened,3,01
HKR,,PowerDownWhenUnopened,3,01
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}"


[M9207A.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={5d8ef5a3-ac13-11d2-a093-00c04f72dc3c}



[M9207.Interfaces]
AddInterface=%KSCATEGORY_BDA_RECEIVER%	,%DTV-DVB_DigitalCaptureFilter%	,M9207.DgtlCapture,0
AddInterface=%KSCATEGORY_BDA_TUNER%	,%DTV-DVB_DigitalTunerFilter%	,M9207.DgtlTuner,0

[M9207.ntx86.Interfaces]
AddInterface=%KSCATEGORY_BDA_RECEIVER%	,%DTV-DVB_DigitalCaptureFilter%	,M9207.DgtlCapture,0
AddInterface=%KSCATEGORY_BDA_TUNER%	,%DTV-DVB_DigitalTunerFilter%	,M9207.DgtlTuner,0


[M9207.DgtlCapture]
AddReg=M9207.DgtlCapture.AddReg

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

[M9207.DgtlTuner]
AddReg=M9207.DgtlTuner.AddReg

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


[M9207A.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,M9207A.Interface
AddInterface=%KSCATEGORY_VIDEO%,GLOBAL,M9207A.Interface
AddInterface=%KSCATEGORY_TVTUNER%,GLOBAL,VideoTvTuner
AddInterface=%KSCATEGORY_CROSSBAR%,GLOBAL,VideoCrossbar
AddInterface=%KSCATEGORY_TVAUDIO%,GLOBAL,VideoTvAudio

[M9207A.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,M9207A.Interface
AddInterface=%KSCATEGORY_VIDEO%,GLOBAL,M9207A.Interface
AddInterface=%KSCATEGORY_TVTUNER%,GLOBAL,VideoTvTuner
AddInterface=%KSCATEGORY_CROSSBAR%,GLOBAL,VideoCrossbar
AddInterface=%KSCATEGORY_TVAUDIO%,GLOBAL,VideoTvAudio

[M9207A.Interface]
AddReg=M9207A.Intf.AddReg
         
[M9207A.Intf.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%M9207A_DISPLAY_NAME%
HKR,PinFactory\1\Interfaces\{5BB95400-52BB-11d2-BA41-00A0C90D2B05},,,
HKLM,Software\CLASSES\CLSID\%M9207A.AMcatID%\Instance\%M9207A.VBIcatID%
HKLM,Software\CLASSES\CLSID\%M9207A.AMcatID%\Instance\%M9207A.VBIcatID%,,,%M9207A.WDMcodecs%
HKLM,Software\CLASSES\CLSID\%M9207A.AMcatID%\Instance\%M9207A.VBIcatID%,FriendlyName,,%M9207A.WDMcodecs%
HKLM,Software\CLASSES\CLSID\%M9207A.AMcatID%\Instance\%M9207A.VBIcatID%,CLSID,,"%M9207A.VBIcatID%"
HKLM,System\CurrentControlSet\Control\MediaCategories\%M9207A.CCpinID%
HKLM,System\CurrentControlSet\Control\MediaCategories\%M9207A.CCpinID%,Name,,%M9207A.CCpinName%

[VideoTvTuner]
AddReg=VideoTvTuner.AddReg

[VideoTvTuner.AddReg]
HKR,,CLSID,,%KSTvTune.CLSID%
HKR,,FriendlyName,,%M9207A.TvTuner%

[VideoCrossbar]
AddReg=VideoXBar.AddReg

[VideoXBar.AddReg]
HKR,,CLSID,,%KSXBar.CLSID%
HKR,,FriendlyName,,%M9207A.Crossbar%

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

[VideoTvAudio.AddReg]
HKR,,CLSID,,%KSTVAudio.CLSID%
HKR,,FriendlyName,,%M9207A.TvAudio%

[M9207A.NT.Services]
AddService = DTV-DVBM9205,0x00000002,M9207A.ServiceInstall

[M9207A.ServiceInstall]
DisplayName   = %M9207A_DISPLAY_NAME%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\M9205.sys




;
;*** strings, GUIDs and names
;

[Strings]
;Our strings
DTV-DVB="DTV-DVB"
USB\VID_13D3&PID_3211A.DeviceDesc="DTV-DVB USB Hybrid Analog/Capture"
USB\VID_13D3&PID_3211D.DeviceDesc="DTV-DVB USB Hybrid Digital"


;; Category GUIDs
KSCATEGORY_BDA_RECEIVER 	  = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
KSCATEGORY_BDA_TUNER      	  = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"


;; Our Filter GUIDs
DTV-DVB_DigitalCaptureFilter = "{074649FE-2DD8-4C12-8A23-BD828BADFFFA}"
DTV-DVB_DigitalTunerFilter   = "{91B0CC87-9905-4d65-A0D1-5861C6F22CBF}"

;Our Friendly Names
M9207.DgtlCaptureName = "DTV-DVB M9207 Digital Capture"
M9207.DgtlTunerName   = "DTV-DVB USB Hybrid Digital"
M9207A_DISPLAY_NAME = "DTV-DVB USB Hybrid Analog/Capture"
DISK_DESCRIPTION	= "DTV-DVB M9207 Installation Disk"
DISPLAY_NAME    	= "DTV-DVB M9207 USB DVB-T / TV BOX"
SERVICE_DESCRIPTION	= "DTV-DVB M9207 BDA Driver"

;; Proxy GUIDs
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}"
KSCATEGORY_CAPTURE=  "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO=    "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_TVTUNER=  "{A799A800-A46D-11D0-A18C-00A02401DCD4}"
KSCATEGORY_CROSSBAR= "{A799A801-A46D-11D0-A18C-00A02401DCD4}"
KSCATEGORY_TVAUDIO=  "{A799A802-A46D-11D0-A18C-00A02401DCD4}"
M9207A.TvTuner=    "M9205 TvTuner"
M9207A.Crossbar=   "M9205 Crossbar"
M9207A.TvAudio=    "M9205 TvAudio"
M9207A.VBIcatID=   "{07DAD660-22F1-11d1-A9F4-00C04FBBDE8F}"
M9207A.AMcatID=    "{DA4E3DA0-D07D-11d0-BD50-00A0C911CE86}"
M9207A.WDMcodecs=  "WDM Streaming VBI Codecs"
M9207A.CCpinID=    "{1AAD8061-012D-11d2-B4B1-00A0D102CFBE}"
M9207A.CCpinName=  "M9207A HWCC"

; 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

