;------------------------------------------------------------------------
;
;   Copyright and Disclaimer:
;
;       ---------------------------------------------------------------
;       This software is provided "as is" without warranty of any kind,
;       either expressed or implied, including but not limited to the
;       implied warranties of merchantability and/or fitness for a
;       particular purpose.
;
;       Copyright (c) 1999-2000 Conexant Systems, Inc.
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;   Abstract:
;
;       This is the Bt878 AVStream audio capture driver inf file.
;
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="Conexant"
DriverVer=09/14/2004,4.0.108.0
CatalogFile.ntx86=BtAdo.cat

[Manufacturer]
"Conexant"=Conexant

[DestinationDirs]
AUD0.CopyDrivers=10,system32\drivers
AUD1.CopyDrivers=10,system32\drivers
AUD2.CopyDrivers=10,system32\drivers
AUD3.CopyDrivers=10,system32\drivers
CoInstaller_CopyFiles=11 ; System Dir( system32 on NT )

[SourceDisksNames]
1="Conexant Bt878 Drivers",,,""

[SourceDisksFiles]
BtAdo0.sys=1
BtAdo1.sys=1
BtAdo2.sys=1
BtAdo3.sys=1
DrvCoIns.dll=1
PVNSetup.exe=1
PVNSetup.des=1

[Conexant]
%Bt878.DeviceDesc0%=AUD0,  PCI\VEN_109E&DEV_0878&SUBSYS_1430AA00
%Bt878.DeviceDesc1%=AUD1,  PCI\VEN_109E&DEV_0878&SUBSYS_1431AA01
%Bt878.DeviceDesc2%=AUD2,  PCI\VEN_109E&DEV_0878&SUBSYS_1432AA02
%Bt878.DeviceDesc3%=AUD3,  PCI\VEN_109E&DEV_0878&SUBSYS_1433AA03

;;===============================================================================

[AUD0]
Include=ks.inf, kscaptur.inf, wdmaudio.inf
Needs=KS.Registration,KSCAPTUR.Registration,WDMAUDIO.Registration
CopyFiles=  AUD0.CopyDrivers
AddReg=     AUD0.AddReg

[AUD1]
Include=ks.inf, kscaptur.inf, wdmaudio.inf
Needs=KS.Registration,KSCAPTUR.Registration,WDMAUDIO.Registration
CopyFiles=  AUD1.CopyDrivers
AddReg=     AUD1.AddReg

[AUD2]
Include=ks.inf, kscaptur.inf, wdmaudio.inf
Needs=KS.Registration,KSCAPTUR.Registration,WDMAUDIO.Registration
CopyFiles=  AUD2.CopyDrivers
AddReg=     AUD2.AddReg

[AUD3]
Include=ks.inf, kscaptur.inf, wdmaudio.inf
Needs=KS.Registration,KSCAPTUR.Registration,WDMAUDIO.Registration
CopyFiles=  AUD3.CopyDrivers
AddReg=     AUD3.AddReg

;///////////////////////////////////////////////////////////////////////////

[AUD0.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[AUD1.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[AUD2.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[AUD3.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
DrvCoIns.dll
PVNSetup.exe
PVNSetup.des

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"DrvCoIns.dll,DriverCoInstaller"

;;===============================================================================

[AUD0.NT]
Include=ks.inf, kscaptur.inf, wdmaudio.inf
Needs=KS.Registration.NT,KSCAPTUR.Registration.NT,WDMAUDIO.Registration
CopyFiles=  AUD0.CopyDrivers
AddReg=     AUD0.AddReg

[AUD1.NT]
Include=ks.inf, kscaptur.inf, wdmaudio.inf
Needs=KS.Registration.NT,KSCAPTUR.Registration.NT,WDMAUDIO.Registration
CopyFiles=  AUD1.CopyDrivers
AddReg=     AUD1.AddReg

[AUD2.NT]
Include=ks.inf, kscaptur.inf, wdmaudio.inf
Needs=KS.Registration.NT,KSCAPTUR.Registration.NT,WDMAUDIO.Registration
CopyFiles=  AUD2.CopyDrivers
AddReg=     AUD2.AddReg

[AUD3.NT]
Include=ks.inf, kscaptur.inf, wdmaudio.inf
Needs=KS.Registration.NT,KSCAPTUR.Registration.NT,WDMAUDIO.Registration
CopyFiles=  AUD3.CopyDrivers
AddReg=     AUD3.AddReg

;;===============================================================================

[AUD0.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[AUD1.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[AUD2.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[AUD3.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

;;===============================================================================

[AUD0.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,BtAdo0.sys
HKR,,OkToHibernate,3,01
; Disable driver page out
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioInPinID%,Name,,%AudioInPinName0%
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioOutPinID%,Name,,%AudioOutPinName0%

; audio capture registry entries
HKR,Drivers,SubClasses,,"wave"
HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,"Conexant Audio Capture Device"

[AUD1.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,BtAdo1.sys
HKR,,OkToHibernate,3,01
; Disable driver page out
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioInPinID%,Name,,%AudioInPinName1%
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioOutPinID%,Name,,%AudioOutPinName1%

; audio capture registry entries
HKR,Drivers,SubClasses,,"wave"
HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,"Conexant Audio Capture Device"

[AUD2.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,BtAdo2.sys
HKR,,OkToHibernate,3,01
; Disable driver page out
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioInPinID%,Name,,%AudioInPinName2%
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioOutPinID%,Name,,%AudioOutPinName2%

; audio capture registry entries
HKR,Drivers,SubClasses,,"wave"
HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,"Conexant Audio Capture Device"

[AUD3.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,BtAdo3.sys
HKR,,OkToHibernate,3,01
; Disable driver page out
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioInPinID%,Name,,%AudioInPinName3%
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioOutPinID%,Name,,%AudioOutPinName3%

; audio capture registry entries
HKR,Drivers,SubClasses,,"wave"
HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,"Conexant Audio Capture Device"

;;===============================================================================

[AUD0.CopyDrivers]
BtAdo0.sys

[AUD1.CopyDrivers]
BtAdo1.sys

[AUD2.CopyDrivers]
BtAdo2.sys

[AUD3.CopyDrivers]
BtAdo3.sys

;;===============================================================================
;
; Services installation
;

[AUD0.NT.Services]
AddService = BtAdo180_0,2,AUD0.ServiceInstall

[AUD1.NT.Services]
AddService = BtAdo180_1,2,AUD1.ServiceInstall

[AUD2.NT.Services]
AddService = BtAdo180_2,2,AUD2.ServiceInstall

[AUD3.NT.Services]
AddService = BtAdo180_3,2,AUD3.ServiceInstall

;;===============================================================================

[AUD0.ServiceInstall]
DisplayName   = %Bt878.DeviceDesc0%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_SYSTEM_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\BtAdo0.sys
LoadOrderGroup=ExtendedBase

[AUD1.ServiceInstall]
DisplayName   = %Bt878.DeviceDesc1%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_SYSTEM_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\BtAdo1.sys
LoadOrderGroup=ExtendedBase

[AUD2.ServiceInstall]
DisplayName   = %Bt878.DeviceDesc2%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_SYSTEM_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\BtAdo2.sys
LoadOrderGroup=ExtendedBase

[AUD3.ServiceInstall]
DisplayName   = %Bt878.DeviceDesc3%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_SYSTEM_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\BtAdo3.sys
LoadOrderGroup=ExtendedBase

;;===============================================================================
;
; Interfaces installation
;

;
; Audio
;

[AUD0.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD0_Interface
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD0_Interface

[AUD1.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD1_Interface
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD1_Interface

[AUD2.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD2_Interface
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD2_Interface

[AUD3.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD3_Interface
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD3_Interface

;;===============================================================================

[AUD0.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD0_Interface
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD0_Interface

[AUD1.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD1_Interface
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD1_Interface

[AUD2.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD2_Interface
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD2_Interface

[AUD3.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD3_Interface
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD3_Interface

;;===============================================================================

[AUD0_Interface]
AddReg=AUD0_Interface.AddReg

[AUD1_Interface]
AddReg=AUD1_Interface.AddReg

[AUD2_Interface]
AddReg=AUD2_Interface.AddReg

[AUD3_Interface]
AddReg=AUD3_Interface.AddReg

;;===============================================================================

[AUD0_Interface.AddReg]
HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%AUDFriendlyName0%

[AUD1_Interface.AddReg]
HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%AUDFriendlyName1%

[AUD2_Interface.AddReg]
HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%AUDFriendlyName2%

[AUD3_Interface.AddReg]
HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%AUDFriendlyName3%

;;===============================================================================

;
; Driver Configuration Registry Entries
;

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]
; Proxy GUIDs

KSProxy.CLSID   = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

; Category GUIDs

KSCATEGORY_CAPTURE  = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_AUDIO    = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSSTRING_Filter	    = "{9B365890-165F-11D0-A195-0020AFD156E4}"

Proxy.CLSID         =   "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

Bt878.DeviceDesc0  = 	"BT878 WDM Audio Capture 0"
Bt878.DeviceDesc1  = 	"BT878 WDM Audio Capture 1"
Bt878.DeviceDesc2  = 	"BT878 WDM Audio Capture 2"
Bt878.DeviceDesc3  = 	"BT878 WDM Audio Capture 3"

AUDFriendlyName0    =  	"BT878 Audio Capture 0"
AUDFriendlyName1    =  	"BT878 Audio Capture 1"
AUDFriendlyName2    =  	"BT878 Audio Capture 2"
AUDFriendlyName3    =  	"BT878 Audio Capture 3"

AudioOutPinID       =   "{27C304E1-80F6-11d5-AFD4-0001032B6C31}"
AudioOutPinName0    =   "Audio Capture 0"
AudioOutPinName1    =   "Audio Capture 1"
AudioOutPinName2    =   "Audio Capture 2"
AudioOutPinName3    =   "Audio Capture 3"

AudioInPinID        =   "{27C304E1-80F6-11d5-AFD4-0001032B6C32}"
AudioInPinName0     =   "Audio Input 0"
AudioInPinName1     =   "Audio Input 1"
AudioInPinName2     =   "Audio Input 2"
AudioInPinName3     =   "Audio Input 3"

; 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

SERVICE_DESCRIPTION      = "Conexant Audio Capture Driver"


