;
; Installation inf file for MOD7700 driver
; Copyright 2005, DiBcom SA

[Version]
signature	= "$CHICAGO$"
Class		= Media
ClassGUID	= {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider	= %Dibcom%
DriverVer	= 04/19/2007,2.3.2.7
CatalogFile     = dvb7700all.cat


[Manufacturer]
%MfgName% = DIBCOM


[DIBCOM]
%YUAN.DeviceDesc% 	= MOD7000.Device,PCI\VEN_12AB&DEV_1E34&SUBSYS_1E3412AB	;PCI 3028+843
%YUAN.DeviceDesc% 	= MOD7000.Device,PCI\VEN_12AB&DEV_1E3C&SUBSYS_1E3C12AB	;PCI 2060
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1E78          ; B(C) version + 2060 single
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1E79&MI_00    ; B(C) version + 2060 single
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1E7A          ; B version + 2260 single
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1E7B&MI_00    ; B version + 2260 single
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1E8C          ; B(C) version + 2260 dual
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1E8D&MI_00    ; B(C) version + 2260 dual
%YUAN.DeviceDesc_cold% 	= MOD7000.Device,USB\VID_1164&PID_1E98		; B version + 843 + 3028, NO AV S
%YUAN.DeviceDesc% 	= MOD7000.Device,USB\VID_1164&PID_1E99&MI_00	; B version + 843 + 3028, NO AV S
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1E9A          ; B version + 843 + 3028, with AV S
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1E9B&MI_00    ; B version + 843 + 3028, with AV S
%YUAN.DeviceDesc_cold% 	= MOD7000.Device,USB\VID_1164&PID_1EA2		; B version + 843 + 3028, NO AV S + FM
%YUAN.DeviceDesc% 	= MOD7000.Device,USB\VID_1164&PID_1EA3&MI_00	; B version + 843 + 3028, NO AV S + FM
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1EA4          ; B version + 843 + 3028, with AV S + FM
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1EA5&MI_00    ; B version + 843 + 3028, with AV S + FM
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1EDC          ; C version + 2260 single
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1EDD&MI_00    ; C version + 2260 single
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1EFC          ; C version + 843 + 3028, NO AV S & NO FM
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1EFD&MI_00    ; C version + 843 + 3028, NO AV S & NO FM
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1EFE          ; C version + 843 + 3028, WITH AV S & NO FM
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1EFF&MI_00    ; C version + 843 + 3028, WITH AV S & NO FM
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1F06          ; C version + 843 + 3028, NO AV S & WITH FM
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1F07&MI_00    ; C version + 843 + 3028, NO AV S & WITH FM
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1F08          ; C version + 843 + 3028, WITH AV S & WITH FM
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1F09&MI_00    ; C version + 843 + 3028, WITH AV S & WITH FM
;special case for testing issue
%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB\VID_1164&PID_1EDE          ; C version + 2260 single, testing purpose, enumerate
%YUAN.DeviceDesc%       = MOD7000.Device,USB\VID_1164&PID_1EDF          ; C version + 2260 single, testing purpose, no IR


[DestinationDirs]
MOD7000.CopyDrivers	= 10,System32\Drivers 


[SourceDisksNames]
1 = %INSTALLATION_DISK%,,


[SourceDisksFiles]
dvb7700all.sys = 1


[ControlFlags]
ExcludeFromSelect    = *
ExcludeFromSelect.NT = *


[MOD7000.Device]
Include    = ks.inf, kscaptur.inf, bda.inf
Needs      = KS.Registration, KSCAPTUR.Registration, BDA.Installation, BDA.Registration,
AddReg     = MOD7000.AddReg
CopyFiles  = MOD7000.CopyDrivers


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

[MOD7000.Device.NT.HW]
AddReg = MOD7000_DEVICE_AddReg


[MOD7000.Device.NT.Services]
Addservice = mod7700, 0x00000002, MOD7000.AddService


[MOD7000.AddService]
DisplayName    = %MOD7000.FriendlyName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\dvb7700all.sys
LoadOrderGroup = Base
AddReg         = MOD7000.Service.AddReg


[MOD7000.Service.AddReg]
HKR,,DigitalJmp,0x00010001,0x00


[MOD7000.CopyDrivers]
dvb7700all.sys


[MOD7000.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,dvb7700all.sys
HKR,,PageOutWhenUnopened,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D}
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F}
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81}
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81},Name,,"Antenna In Pin"

[MOD7000_DEVICE_AddReg]
HKR,,"ProductId",0x00010001,0x00000000
HKR,,"MaskDevicePath",0x00010001,0x00000000
HKR,,"BdaDigCaptureFilterName",0,"DiBcom BDA Digital Capture"
HKR,,"BdaDigTunerFilterName",0,"DiBcom BDA Digital Tuner"
HKR,,"AnlgTunerFilterName",0,"DiBcom BDA Analog TV Tuner"
HKR,,"AnlgCaptureFilterName",0,"DiBcom BDA Analog Capture"
HKR,,"AnlgXBarFilterName",0,"DiBcom BDA Analog Xbar"
HKR,,"AnlgTVAudioFilterName",0,"DiBcom BDA Analog TV Audio"
HKR,,"ControlFilterName",0,"DiBcom Control Filter"


[Strings]
Dibcom               	= "YUAN"
MfgName              	= "YUAN"
MOD7000.FriendlyName 	= "DiBcom DIB7700 based TV tuner device"
INSTALLATION_DISK    	= "YUAN Installation Disk"
YUAN.DeviceDesc   	= "DIB7700 DTV Tuner"
YUAN.DeviceDesc_cold	= "DIB7700 DTV Tuner"

;
; The following items should be moved to KS_registration - TCP
;
MediaCategories         = "SYSTEM\CurrentControlSet\Control\MediaCategories"
    

;
; ServiceType values
SERVICE_KERNEL_DRIVER			= 0x00000001
SERVICE_FILE_SYSTEM_DRIVER		= 0x00000002
SERVICE_ADAPTER				= 0x00000004
SERVICE_RECOGNIZER_DRIVER		= 0x00000008
SERVICE_WIN32_OWN_PROCESS		= 0x00000010
SERVICE_WIN32_SHARE_PROCESS		= 0x00000020
SERVICE_INTERACTIVE_PROCESS		= 0x00000100
SERVICE_INTERACTIVE_SHARE_PROCESS	= 0x00000120

; StartType values
SERVICE_BOOT_START          = 0x00000000
SERVICE_SYSTEM_START        = 0x00000001
SERVICE_AUTO_START          = 0x00000002
SERVICE_DEMAND_START        = 0x00000003
SERVICE_DISABLED            = 0x00000004

; ErrorControl values
SERVICE_ERROR_IGNORE        = 0x00000000
SERVICE_ERROR_NORMAL        = 0x00000001
SERVICE_ERROR_SEVERE        = 0x00000002
SERVICE_ERROR_CRITICAL      = 0x00000003

; Characteristic flags
NCF_VIRTUAL                 = 0x0001
NCF_WRAPPER                 = 0x0002
NCF_PHYSICAL                = 0x0004
NCF_HIDDEN                  = 0x0008
NCF_NO_SERVICE              = 0x0010
NCF_NOT_USER_REMOVABLE      = 0x0020
NCF_HAS_UI                  = 0x0080
NCF_MODEM                   = 0x0100

; Registry types
REG_MULTI_SZ                = 0x10000
REG_EXPAND_SZ               = 0x20000
REG_DWORD                   = 0x10001

; Win9x Compatible Types
REG_BINARY                  = 17
REG_SZ                      = 0

; Service install flags
SPSVCINST_TAGTOFRONT        = 0x1
SPSVCINST_ASSOCSERVICE      = 0x2
