;------------------------------------------------------------------------------
; BT848.INF
;------------------------------------------------------------------------------

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Msft%

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%MsftMfg%=Microsoft

[DestinationDirs]
BT848.CopyDrivers=10,system32\drivers   ; would 12 do this? (docs say not for win9x)
BT848.CopyFilters=11

BT848_1.CopyDrivers=10,system32\drivers   ; would 12 do this? (docs say not for win9x)
BT848_1.CopyFilters=11

BT848_2.CopyDrivers=10,system32\drivers   ; would 12 do this? (docs say not for win9x)
BT848_2.CopyFilters=11

BT848_3.CopyDrivers=10,system32\drivers   ; would 12 do this? (docs say not for win9x)
BT848_3.CopyFilters=11

;------------------------------------------------------------------------------
; Device ID List
;------------------------------------------------------------------------------
;
; ID Number     Device
; 0x36E         Bt878 (Video Section)
; 0x878         Bt878 (Audio Section)

[Microsoft]
;------------------------------------------------------------------------------
; These are the Rockwell versions of our cards
;------------------------------------------------------------------------------

%BT848.VideoDeviceDesc%=BT848.NoTuner,PCI\VEN_109E&DEV_036E&SUBSYS_1460AA00
%BT848_1.VideoDeviceDesc%=BT848_1.NoTuner,PCI\VEN_109E&DEV_036E&SUBSYS_1461AA01
%BT848_2.VideoDeviceDesc%=BT848_2.NoTuner,PCI\VEN_109E&DEV_036E&SUBSYS_1462AA02
%BT848_3.VideoDeviceDesc%=BT848_3.NoTuner,PCI\VEN_109E&DEV_036E&SUBSYS_1463AA03

%BT848.VideoDeviceDesc%=BT848.NoTuner,PCI\VEN_109E&DEV_036E&SUBSYS_1430AA00
%BT848_1.VideoDeviceDesc%=BT848_1.NoTuner,PCI\VEN_109E&DEV_036E&SUBSYS_1431AA01
%BT848_2.VideoDeviceDesc%=BT848_2.NoTuner,PCI\VEN_109E&DEV_036E&SUBSYS_1432AA02
%BT848_3.VideoDeviceDesc%=BT848_3.NoTuner,PCI\VEN_109E&DEV_036E&SUBSYS_1433AA03

;------------------------------------------------------------------------------
; These are the files we need installed
;------------------------------------------------------------------------------

[BT848.CopyDrivers]
PV878_A0.sys
stream.sys

[BT848.CopyFilters]
;mvfilter.ax

[BT848.KnownFiles]
PV878_A0.sys=safe

[BT848.NoTuner]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS878.Registration,KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     BT848.AddReg
CopyFiles=  BT848.CopyDrivers,BT848.CopyFilters
KnownFiles= BT848.KnownFiles

[BT848.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PV878_A0.sys
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,"DriverData","XTal0",0x00010001, 0x1c, 0x00, 0x00, 0x00
HKR,"DriverData","XTal1",0x00010001, 0x23, 0x00, 0x00, 0x00
HKR,"DriverData","PV14X",0x00010001, 0x00, 0x00, 0x00, 0x00
;HKLM,%RunOnce%,"mvfilter.ax",,"%11%\regsvr32.exe -s %11%\mvfilter.ax"
HKR,"DriverData","VideoStandard",0x00010001, 0x10, 0x00, 0x00, 0x00

;;[NoTuner.AddReg]
;;HKR,"ENUM\Device1",pnpid,,"btxbar"

[VideoCapture]
AddReg=VideoCapture.AddReg, DriverData.AddReg

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

;;[Crossbar]
;;AddReg=Crossbar.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%BT848.Capture%

[VideoTvAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%BT848.TvAudio%

;;[Crossbar.AddReg]
;;HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
;;HKR,,FriendlyName,,%BTXBAR.Crossbar%

[BT848.NoTuner.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
;AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
;;AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar,

[BT848.NoTuner.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.ServiceInstall]
DisplayName   = %BT848.VideoDeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\PV878_A0.sys

[Strings]
Msft=                   "Conexant"
MsftMfg=                "Conexant"
RunOnce=                "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"

BT848.VideoDeviceDesc=  "BT878, WDM Video Capture  "
BT848.Capture=          "BT878 Capture 0"


BT848_1.VideoDeviceDesc=  "BT878, WDM Video Capture 1"
BT848_1.Capture=          "BT878 Capture 1"


BT848_2.VideoDeviceDesc=  "BT878, WDM Video Capture 2"
BT848_2.Capture=          "BT878 Capture 2"

BT848_3.VideoDeviceDesc=  "BT878, WDM Video Capture 3"
BT848_3.Capture=          "BT878 Capture 3"


SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_ERROR_NORMAL=1

;******************************************************************************
;BT878_1 ==>

[BT848_1.CopyDrivers]
PV878_A1.sys
stream.sys

[BT848_1.CopyFilters]
;mvfilter.ax

[BT848_1.KnownFiles]
PV878_A1.sys=safe


[BT848_1.NoTuner]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS878.Registration,KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     BT848_1.AddReg
CopyFiles=  BT848_1.CopyDrivers,BT848_1.CopyFilters
KnownFiles= BT848_1.KnownFiles

[BT848_1.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PV878_A1.sys
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,"DriverData","XTal0",0x00010001, 0x1c, 0x00, 0x00, 0x00
HKR,"DriverData","XTal1",0x00010001, 0x23, 0x00, 0x00, 0x00
HKR,"DriverData","PV14X",0x00010001, 0x00, 0x00, 0x00, 0x00
;HKLM,%RunOnce%,"mvfilter.ax",,"%11%\regsvr32.exe -s %11%\mvfilter.ax"
HKR,"DriverData","VideoStandard",0x00010001, 0x10, 0x00, 0x00, 0x00

;;[NoTuner_1.AddReg]
;;HKR,"ENUM\Device1",pnpid,,"btxbar_1"

[VideoCapture_1]
AddReg=VideoCapture_1.AddReg, DriverData.AddReg

[VideoTvAudio_1]
AddReg=VideoTvAudio_1.AddReg

;;[Crossbar_1]
;;AddReg=Crossbar_1.AddReg

[VideoCapture_1.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%BT848_1.Capture%

[VideoTvAudio_1.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%BT848_1.TvAudio%

;;[Crossbar_1.AddReg]
;;HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
;;HKR,,FriendlyName,,%BTXBAR_1.Crossbar_1%

[BT848_1.NoTuner.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture_1,
;AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio_1,
;;AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar_1,

[BT848_1.NoTuner.Services]
AddService = BT848_1,0x00000002,BT848_1.ServiceInstall

[BT848_1.ServiceInstall]
DisplayName   = %BT848_1.VideoDeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\PV878_A1.sys


;****************************************************************************
;BT878_2 ==>

[BT848_2.CopyDrivers]
PV878_A2.sys
stream.sys

[BT848_2.CopyFilters]
;mvfilter.ax

[BT848_2.KnownFiles]
PV878_A2.sys=safe

[BT848_2.NoTuner]
Include=  ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS878.Registration,KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     BT848_2.AddReg
CopyFiles=  BT848_2.CopyDrivers,BT848_2.CopyFilters
KnownFiles= BT848_2.KnownFiles

[BT848_2.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PV878_A2.sys
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,"DriverData","XTal0",0x00010001, 0x1c, 0x00, 0x00, 0x00
HKR,"DriverData","XTal1",0x00010001, 0x23, 0x00, 0x00, 0x00
HKR,"DriverData","PV14X",0x00010001, 0x00, 0x00, 0x00, 0x00
;HKLM,%RunOnce%,"mvfilter.ax",,"%11%\regsvr32.exe -s %11%\mvfilter.ax"
HKR,"DriverData","VideoStandard",0x00010001, 0x10, 0x00, 0x00, 0x00

;;[NoTuner_2.AddReg]
;;HKR,"ENUM\Device1",pnpid,,"btxbar_2"

[VideoCapture_2]
AddReg=VideoCapture_2.AddReg, DriverData.AddReg

[VideoTvAudio_2]
AddReg=VideoTvAudio_2.AddReg

;;[Crossbar_2]
;;AddReg=Crossbar_2.AddReg

[VideoCapture_2.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%BT848_2.Capture%

[VideoTvAudio_2.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%BT848_2.TvAudio%

;;[Crossbar_2.AddReg]
;;HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
;;HKR,,FriendlyName,,%BTXBAR_2.Crossbar_2%

[BT848_2.NoTuner.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture_2,
;AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio_2,
;;AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar_2,

[BT848_2.NoTuner.Services]
AddService = BT848_2,0x00000002,BT848_2.ServiceInstall

[BT848_2.ServiceInstall]
DisplayName   = %BT848_2.VideoDeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\PV878_A2.sys


;***************************************************************************
;BT878_3 ==>

[BT848_3.CopyDrivers]
PV878_A3.sys
stream.sys

[BT848_3.CopyFilters]
;mvfilter.ax

[BT848_3.KnownFiles]
PV878_A3.sys=safe

[BT848_3.NoTuner]
Include=   ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS878.Registration,KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     BT848_3.AddReg
CopyFiles=  BT848_3.CopyDrivers,BT848_3.CopyFilters
KnownFiles= BT848_3.KnownFiles

[BT848_3.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PV878_A3.sys
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,"DriverData","XTal0",0x00010001, 0x1c, 0x00, 0x00, 0x00
HKR,"DriverData","XTal1",0x00010001, 0x23, 0x00, 0x00, 0x00
HKR,"DriverData","PV14X",0x00010001, 0x00, 0x00, 0x00, 0x00
;HKLM,%RunOnce%,"mvfilter.ax",,"%11%\regsvr32.exe -s %11%\mvfilter.ax"
HKR,"DriverData","VideoStandard",0x00010001, 0x10, 0x00, 0x00, 0x00

;;[NoTuner_3.AddReg]
;;HKR,"ENUM\Device1",pnpid,,"btxbar_3"

[VideoCapture_3]
AddReg=VideoCapture_3.AddReg, DriverData.AddReg

[VideoTvAudio_3]
AddReg=VideoTvAudio_3.AddReg

;;[Crossbar_3]
;;AddReg=Crossbar_3.AddReg

[VideoCapture_3.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%BT848_3.Capture%

[VideoTvAudio_3.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%BT848_3.TvAudio%

;;[Crossbar_3.AddReg]
;;HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
;;HKR,,FriendlyName,,%BTXBAR_3.Crossbar_3%

[BT848_3.NoTuner.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture_3,
;AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio_3,

[BT848_3.NoTuner.Services]
AddService = BT848_3,0x00000002,BT848_3.ServiceInstall

[BT848_3.ServiceInstall]
DisplayName   = %BT848_3.VideoDeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\PV878_A3.sys

;;-------------------------------------------------------------------------------
[DriverData.AddReg]
HKR,,VideoChNum,, 1
HKR,,AudioChNum,, 0
HKR,,MaxSupportCardsNum,, 1

;;0:disable 1:enable
HKR,,AGC,, 0

;;0:disable 1:enable
HKR,,WatchDog,, 1

;;0:disable 1:enable
HKR,,HARDWARED1,, 0

;;0:internal 1:external
HKR,,AudioADC,, 0

;;internal 0~255 external 0~31
HKR,,AudioMaxVol,, 31
HKR,,AudioMinVol,, 0

;;AnalogVideo_NTSC_M=1
;;AnalogVideo_PAL_B=16
HKR,,VideoStandard,, 1

;;CIF Image size
HKR,,NTSCCIFWidth,, 320
HKR,,NTSCCIFHeight,, 240
HKR,,PALCIFWidth,, 320
HKR,,PALCIFHeight,, 240

;;D1 Image size
HKR,,NTSCD1Width,, 640
HKR,,NTSCD1Height,, 480
HKR,,PALD1Width,, 640
HKR,,PALD1Height,, 480

;;number of 878 chips on board
HKR,,Chips,, 4
