;------------------------------------------------------------------------
;
;   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 CX23880 AVStream audio capture driver inf file.
;
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Company%
DriverVer=02/21/2005,2.0.0.2
CatalogFile.ntx86=cxavsaud.cat

[Manufacturer]
%Company%=Conexant

[DestinationDirs]
AUD.CopyDrivers=10,system32\drivers

[SourceDisksNames]
1=%DISK_NAME%,,,""

[SourceDisksFiles]
cxavsaud.sys=1

[Conexant]
;%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801
;%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811

%CX23880.DeviceDescTUN881%=AUD_TUN881,  PCI\VEN_14F1&DEV_8801&SUBSYS_588112AB
%CX23880.DeviceDescTUN881%=AUD_TUN881,  PCI\VEN_14F1&DEV_8811&SUBSYS_588112AB

%CX23880.DeviceDescPG700%=AUD_PG700,  PCI\VEN_14F1&DEV_8801&SUBSYS_370012AB
%CX23880.DeviceDescPG700%=AUD_PG700,  PCI\VEN_14F1&DEV_8811&SUBSYS_370012AB




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

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

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

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

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

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


[AUD.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cxavsaud.sys
HKR,,OkToHibernate,3,01
; Disable driver page out
HKR,,PageOutWhenUnopened,3,0
;HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioInPinID%,Name,,%AudioInPinName%
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioOutPinID%,Name,,%AudioOutPinName%
HKR,Drivers,SubClasses,,"wave"
HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,"DriverData","InputSelect",0x00010001,   0x00,0x00,0x00,0x00
; 48 KHz operation
HKR,"DriverData","SampleRate" ,0x00010001,   0x80,0xBB,0x00,0x00


[AUD.Name.AddReg]
HKR,Drivers\wave\wdmaud.drv,Description,,%Description%

[AUD_PG700.AddReg]
HKR,Drivers\wave\wdmaud.drv,Description,,%DescriptionPG700%

[AUD_TUN881.AddReg]
HKR,Drivers\wave\wdmaud.drv,Description,,%DescriptionTUN881%


[AUD.CopyDrivers]
cxavsaud.sys

;
; Services installation
;

[AUD.NT.Services]
AddService = CXAVSAUD,2,AUD.ServiceInstall

[AUD_PG700.NT.Services]
AddService = CXAVSAUD,2,AUD.ServiceInstallPG700

[AUD_TUN881.NT.Services]
AddService = CXAVSAUD,2,AUD.ServiceInstallTUN881


[AUD.ServiceInstall]
DisplayName   = %CX23880.DeviceDesc%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_SYSTEM_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\cxavsaud.sys
LoadOrderGroup=ExtendedBase


[AUD.ServiceInstallPG700]
DisplayName   = %CX23880.DeviceDescPG700%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_SYSTEM_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\cxavsaud.sys
LoadOrderGroup=ExtendedBase

[AUD.ServiceInstallTUN881]
DisplayName   = %CX23880.DeviceDescTUN881%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_SYSTEM_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\cxavsaud.sys
LoadOrderGroup=ExtendedBase


;
; Interfaces installation
;

;
; Audio
;

[AUD.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD_Interface
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD_Interface

[AUD.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD_Interface
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD_Interface


[AUD_TUN881.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD_InterfaceTUN881
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD_InterfaceTUN881

[AUD_TUN881.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD_InterfaceTUN881
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD_InterfaceTUN881


[AUD_PG700.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD_InterfacePG700
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD_InterfacePG700

[AUD_PG700.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,AUD_InterfacePG700
AddInterface=%KSCATEGORY_AUDIO%,%KSSTRING_Filter%,AUD_InterfacePG700


[AUD_Interface]
AddReg=AUD_Interface.AddReg

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

[AUD_InterfaceTUN881]
AddReg=AUD_InterfaceTUN881.AddReg

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


[AUD_InterfacePG700]
AddReg=AUD_InterfacePG700.AddReg

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


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

CX23880.DeviceDesc  = 	"Conexant 2388x Audio Capture"
Description	    = 	"Conexant 2388x Audio Capture"
AUDFriendlyName     =  	"Conexant 2388x Audio Capture"


AudioOutPinID       =   "{27C304E1-80F6-11d5-AFD4-0001032B6C31}"
AudioOutPinName     =   "Audio Capture"
AudioInPinID        =   "{27C304E1-80F6-11d5-AFD4-0001032B6C32}"
AudioInPinName      =   "Audio Input"

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

;----------------
; Localizable
;----------------
Company						= "YUAN High-Tech Development Co. Ltd."
DISK_NAME					= "Driver Setup Disk"

CX23880.DeviceDescTUN881= 	"TUN881 Audio Capture"
DescriptionTUN881		= 	"TUN881 Audio Capture"
AUDFriendlyNameTUN881   =  	"TUN881 Audio Capture"

CX23880.DeviceDescPG700 = 	"PG700 Audio Capture"
DescriptionPG700		= 	"PG700 Audio Capture"
AUDFriendlyNamePG700    =  	"PG700 Audio Capture"

