; Copyright 2004, Animation Technologies Inc.

[Version]
signature="$CHICAGO$" ;all windows os
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ATI%
DriverVer=04/27/2005,2.7.02.001
CatalogFile=LVHybrid.cat

[Manufacturer]
%ATI%=Lifeview

[Lifeview]
;******Lifeview
%LR0141.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7130&SUBSYS_01415168
%LR0141.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_01415168
%LR0141.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7134&SUBSYS_01415168

%LR1212.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_52125168
%LR1212.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_52121043
%LR1212.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_521214C0

%LR0214.DeviceDesc30%=LVHybrid,PCI\VEN_1131&DEV_7130&SUBSYS_52145168
%LR0214.DeviceDesc33%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_52145168
%LR0214.DeviceDesc34%=LVHybrid,PCI\VEN_1131&DEV_7134&SUBSYS_52145168

%LR0300.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7134&SUBSYS_03005168
%LR0301.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7134&SUBSYS_03015168
%LR0302.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7134&SUBSYS_03025168
%LR0303.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7134&SUBSYS_03035168

%LR0304.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_53045168

%LR0306.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_03065168
%LR3306.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_33065168

%LR0307.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_03075168
%LR3307.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_33075168

%LR0314.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_03145168
%LR0315.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_03155168

%LR0502.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_05025168
%LR1502.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_15025168
%LR2502.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_25025168
%LR3502.DeviceDesc%=LVHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_35025168

%LR0138.DeviceDesc30%=LVLegacy0138,PCI\VEN_1131&DEV_7130&SUBSYS_01385168
%LR0138.DeviceDesc33%=LVLegacy0138,PCI\VEN_1131&DEV_7133&SUBSYS_01385168
%LR0138.DeviceDesc34%=LVLegacy0138,PCI\VEN_1131&DEV_7134&SUBSYS_01385168

%LR0309.DeviceDesc30%=LVLegacy0309,PCI\VEN_1131&DEV_7130&SUBSYS_03095168
%LR0309.DeviceDesc33%=LVLegacy0309,PCI\VEN_1131&DEV_7133&SUBSYS_03095168
%LR0309.DeviceDesc34%=LVLegacy0309,PCI\VEN_1131&DEV_7134&SUBSYS_03095168

%LR0212.DeviceDesc%=LVLegacy0214,PCI\VEN_1131&DEV_7133&SUBSYS_02125168
%LR0212.DeviceDesc%=LVLegacy0214,PCI\VEN_1131&DEV_7133&SUBSYS_02121043
%LR0212.DeviceDesc%=LVLegacy0214,PCI\VEN_1131&DEV_7133&SUBSYS_021214C0

%LR1212.DeviceDesc%=LVLegacy0214,PCI\VEN_1131&DEV_7133&SUBSYS_12125168
%LR1212.DeviceDesc%=LVLegacy0214,PCI\VEN_1131&DEV_7133&SUBSYS_12121043
%LR1212.DeviceDesc%=LVLegacy0214,PCI\VEN_1131&DEV_7133&SUBSYS_121214C0

%LR0214.DeviceDesc30%=LVLegacy0214,PCI\VEN_1131&DEV_7130&SUBSYS_02145168
%LR0214.DeviceDesc33%=LVLegacy0214,PCI\VEN_1131&DEV_7133&SUBSYS_02145168
%LR0214.DeviceDesc34%=LVLegacy0214,PCI\VEN_1131&DEV_7134&SUBSYS_02145168

%LR0304.DeviceDesc%=LVLegacy0214,PCI\VEN_1131&DEV_7133&SUBSYS_03045168

[DestinationDirs]
LVHybrid.CopyCoInst=11
LVHybrid.CopyFiles=10,system32\drivers ; be aware not to use 12 as the drivers directory, 
                                       ; as driver will not work anymore in W98

[SourceDisksNames]
1 = %AVSTRM_INSTALLATION_DISK%,,

[SourceDisksFiles]
34CoInstaller.dll=1
LVHybrid.sys=1

[LVHybrid.CopyCoInst]
34CoInstaller.dll

[LVHybrid.CopyFiles]
LVHybrid.sys

;
;*** initialization and registry entries
;

[LVHybrid.CoInstallers]
CopyFiles = LVHybrid.CopyCoInst
AddReg = LVHybrid.CoInstaller_AddReg

[LVHybrid.ntx86.CoInstallers]
CopyFiles = LVHybrid.CopyCoInst
AddReg = LVHybrid.CoInstaller_AddReg

[LVHybrid.CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"34CoInstaller.dll, CoInstallerEntry"

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

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

[LVHybrid.Services]
AddService=LVHybrid, 0x00000002, LVHybrid.ServiceInstall

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

;LVLegacy0138
[LVLegacy0138.CoInstallers]
CopyFiles = LVHybrid.CopyCoInst
AddReg = LVHybrid.CoInstaller_AddReg

[LVLegacy0138.ntx86.CoInstallers]
CopyFiles = LVHybrid.CopyCoInst
AddReg = LVHybrid.CoInstaller_AddReg

[LVLegacy0138]
AlsoInstall=KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf), KSCAPTUR.Registration(kscaptur.inf), BDA.Installation(bda.inf)
CopyFiles=LVHybrid.CopyFiles
AddReg=LVHybrid.AddReg,LVLegacy.AddReg,LVLegacy0138.AddReg

[LVLegacy0138.ntx86]
Include=ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs=KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles=LVHybrid.CopyFiles
AddReg=LVHybrid.AddReg,LVLegacy.AddReg,LVLegacy0138.AddReg

[LVLegacy0138.Services]
AddService=LVHybrid, 0x00000002, LVHybrid.ServiceInstall

[LVLegacy0138.ntx86.Services]
AddService=LVHybrid, 0x00000002, LVHybrid.ServiceInstall

;LVLegacy0309
[LVLegacy0309.CoInstallers]
CopyFiles = LVHybrid.CopyCoInst
AddReg = LVHybrid.CoInstaller_AddReg

[LVLegacy0309.ntx86.CoInstallers]
CopyFiles = LVHybrid.CopyCoInst
AddReg = LVHybrid.CoInstaller_AddReg

[LVLegacy0309]
AlsoInstall=KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf), KSCAPTUR.Registration(kscaptur.inf), BDA.Installation(bda.inf)
CopyFiles=LVHybrid.CopyFiles
AddReg=LVHybrid.AddReg,LVLegacy.AddReg,LVLegacy0309.AddReg

[LVLegacy0309.ntx86]
Include=ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs=KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles=LVHybrid.CopyFiles
AddReg=LVHybrid.AddReg,LVLegacy.AddReg,LVLegacy0309.AddReg

[LVLegacy0309.Services]
AddService=LVHybrid, 0x00000002, LVHybrid.ServiceInstall

[LVLegacy0309.ntx86.Services]
AddService=LVHybrid, 0x00000002, LVHybrid.ServiceInstall

;LVLegacy0214
[LVLegacy0214.CoInstallers]
CopyFiles = LVHybrid.CopyCoInst
AddReg = LVHybrid.CoInstaller_AddReg

[LVLegacy0214.ntx86.CoInstallers]
CopyFiles = LVHybrid.CopyCoInst
AddReg = LVHybrid.CoInstaller_AddReg

[LVLegacy0214]
AlsoInstall=KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf), KSCAPTUR.Registration(kscaptur.inf), BDA.Installation(bda.inf)
CopyFiles=LVHybrid.CopyFiles
AddReg=LVHybrid.AddReg,LVLegacy.AddReg,LVLegacy0214.AddReg

[LVLegacy0214.ntx86]
Include=ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs=KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles=LVHybrid.CopyFiles
AddReg=LVHybrid.AddReg,LVLegacy.AddReg,LVLegacy0214.AddReg

[LVLegacy0214.Services]
AddService=LVHybrid, 0x00000002, LVHybrid.ServiceInstall

[LVLegacy0214.ntx86.Services]
AddService=LVHybrid, 0x00000002, LVHybrid.ServiceInstall

[LVHybrid.ServiceInstall]
DisplayName=%DISPLAY_NAME%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary=%12%\LVHybrid.sys
; [StartName=driver-object-name]
; [AddReg=add-registry-section[, add-registry-section] ...]
; [DelReg=del-registry-section[, del-registry-section] ...]
; [BitReg=bit-registry-section[,bit-registry-section] ...]
; [LoadOrderGroup=load-order-group-name]
; [Dependencies=depend-on-item-name[,depend-on-item-name]...]

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

; audio capture registry entries

HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,LVHybrid.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,,"Europa audio capture device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"Europa audio capture device"

; Setting FM radio of the Silicon tuner via SIF (GPIO 21 in use/ 5.5MHz)
HKR, "Audio", "FM Radio IF",0x00010001,0x729555

; Enable MCE 
;HKR, "Parameters", "MCE",0x00010001,0x01

; DVBT Bandwidth Seting 
;HKR, "Parameters", "DVBTBandwidth",0x00010001,0x01

; add audio input and output pinnames

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_ANLG_AUDIO_IN_PIN%,"Name",,"Analog Audioinput"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_ANLG_AUDIO_OUT_PIN%,"Name",,"Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_ANLG_VIDEO_ITU_PIN%,"Name",,"Analog ITU Video"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_ANLG_AUDIO_I2S_PIN%,"Name",,"I2S Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_MPEG_AES_PIN%,"Name",,"MPEG Audio ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_MPEG_VES_PIN%,"Name",,"MPEG Video ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_MPEG_PS_PIN%,"Name",, "MPEG2 Program"

[LVLegacy.AddReg]
HKR, "I2C Devices", "Force Registry Settings",0x00010001,0x01
;video mappings 
HKR, "VideoDecoder", "Tuner Channel",0x00010001,0x01
HKR, "VideoDecoder", "CVBS Channel",0x00010001,0x03
HKR, "VideoDecoder", "SVHS Channel",0x00010001,0x08
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,0xFF
;XTAL setting
HKR, "AudioDecoder", "XTAL",0x00010001,0x01
;tuner settings
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,0x01

[LVLegacy0138.AddReg]
;gpio mappings
HKR, "GPIO", "Config",0x00010001,0x0000E000
HKR, "Audio", "GPIOAudioSwitch",0x00010001,0x01
;audio mappings
HKR, "AudioDecoder", "Tuner Channel",0x00010001,0x01
HKR, "AudioDecoder", "CVBS Channel",0x00010001,0x03
HKR, "AudioDecoder", "SVHS Channel",0x00010001,0x03
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,0x01
;tuner settings
HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x10000001
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x86
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0xFF
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x01
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x30

[LVLegacy0309.AddReg]
;gpio mappings
HKR, "GPIO", "Config",0x00010001,0x0000E000
HKR, "Audio", "GPIOAudioSwitch",0x00010001,0x01
;audio mappings
HKR, "AudioDecoder", "Tuner Channel",0x00010001,0x01
HKR, "AudioDecoder", "CVBS Channel",0x00010001,0x02
HKR, "AudioDecoder", "SVHS Channel",0x00010001,0x02
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,0x01
;tuner settings
HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x10000001
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x86
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0xFF
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x01
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x30

[LVLegacy0214.AddReg]
;gpio mappings
HKR, "GPIO", "Config",0x00010001,0x00010000
;HKR, "Audio", "GPIOAudioSwitch",0x00010001,0x00
;audio mappings
HKR, "AudioDecoder", "Tuner Channel",0x00010001,0x01
HKR, "AudioDecoder", "CVBS Channel",0x00010001,0x03
HKR, "AudioDecoder", "SVHS Channel",0x00010001,0x03
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,0x01
;tuner settings
HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x10000002
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x96
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0xFF
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x02
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x30
HKR, "I2C Devices", "Device 0, Data7",0x00010001,0x10

;
;*** strings, GUIDs and names
;

[Strings]

; 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}"

; Category GUIDs

KSCATEGORY_CAPTURE                = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO                  = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_AUDIO                  = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"

; Our Pin Name GUIDs

VAMP_ANLG_AUDIO_IN_PIN   = "{7BB284B9-714D-493d-A101-B1B028E782BD}"
VAMP_ANLG_AUDIO_OUT_PIN  = "{5582E657-E596-42b5-9DB3-541B27A2355F}"
VAMP_ANLG_AUDIO_I2S_PIN  = "{C2E46358-F032-4d88-B802-06B59D162730}"
VAMP_ANLG_VIDEO_ITU_PIN  = "{82631A2E-403C-4581-A4B0-EC173D004410}"

VAMP_MPEG_AES_PIN        = "{9DEC84B9-BCEF-4aac-997E-43EDD0A2D6C7}"
VAMP_MPEG_VES_PIN        = "{181CF87E-7741-47ba-8629-22347E03C64C}"
VAMP_MPEG_PS_PIN         = "{DDA87B83-65DB-4aec-82D0-79FBE67D2BB6}"

; Our Filter GUIDs

VAMP_ANLG_AUDIO_FILTER   = "{F3B951E7-8619-4ff3-91CA-03910E4BB900}"
VAMP_ANLG_CAP_FILTER     = "{BBEFB6C7-2FC4-4139-BB8B-A58BBA724000}"

; 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

;Our strings

ATI="Lifeview"
30Hybrid.DeviceDesc      = "Philips SAA7130, Hybrid Capture Device"
34Hybrid.DeviceDesc      = "Philips SAA7134, Hybrid Capture Device"
33Hybrid.DeviceDesc      = "Philips SAA7133/35, Hybrid Capture Device"
AVSTRM_INSTALLATION_DISK = "LVHybrid installation disk"
DISPLAY_NAME             = "LVHybrid service"
SERVICE_DESCRIPTION      = "The Europa capture driver"

LR0141.DeviceDesc      = "FlyVideo DVBS "
LR0300.DeviceDesc      = "FlyDVB-S"
LR0302.DeviceDesc      = "FlyDVB-S mini"
LR0301.DeviceDesc      = "FlyDVB-T"
LR0303.DeviceDesc      = "FlyDVB-T mini"
LR0306.DeviceDesc      = "FlyDVB-T Duo"
LR3306.DeviceDesc      = "FlyDVB-T Hybrid"
LR0307.DeviceDesc      = "FlyDVB-T Duo mini"
LR3307.DeviceDesc      = "FlyDVB-T Hybrid mini"

LR0502.DeviceDesc      = "FlyDVB-T Duo CardBus"
LR1502.DeviceDesc      = "FlyTV CardBus"
LR2502.DeviceDesc      = "FlyDVB-T CardBus"
LR3502.DeviceDesc      = "FlyDVB-T Hybrid CardBus"

LR0214.DeviceDesc30    = "FlyTV Platinum30"
LR0214.DeviceDesc33    = "FlyTV Platinum33/35"
LR0214.DeviceDesc34    = "FlyTV Platinum34"

LR0212.DeviceDesc      = "FlyTV Platinum35 mini"
LR1212.DeviceDesc      = "FlyTV Platinum35 mini2"

LR0314.DeviceDesc      = "FlyTV Platinum Gold2"

LR0315.DeviceDesc      = "FlyTV Platinum mini3"

LR0304.DeviceDesc      = "FlyTV Platinum Gold"

LR0138.DeviceDesc30    = "FlyTV Prime 30"
LR0138.DeviceDesc33    = "FlyTV Prime 33/35"
LR0138.DeviceDesc34    = "FlyTV Prime 34"

LR0309.DeviceDesc30    = "FlyTV Prime 30LP Gold"
LR0309.DeviceDesc33    = "FlyTV Prime 33/35LP Gold"
LR0309.DeviceDesc34    = "FlyTV Prime 34LP Gold"

