;/*++
;
;Copyright (c) Realtek Semiconductor Corp.  All rights reserved.
;
;Module Name:
;
;    RTII2SAC.INF
;
;Abstract:
;    INF file for installing Realtek I2S audio codec device drivers
;
;--*/
[Version]
Signature   = "$WINDOWS NT$"
Class       = MEDIA
ClassGuid   = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider    = %REALTEK%
DriverVer=11/20/2013,6.2.9600.4053
CatalogFile = rtii2sac.cat


[DestinationDirs]
DefaultDestDir = 12

;********************************
; Codec Device  Install Section
;********************************

[Manufacturer]
%MfgName%=Realtek,NTx86,NTamd64

; For Win2K
[Realtek]
; DisplayName                   Section           DeviceId
; -----------                   -------           --------
;%CodecDevice.DeviceDesc%=Codec_Device, {4d36e96c-e325-11ce-bfc1-08002be10318}\Rti2sCodec
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\INTCCFFD
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5640
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5672
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\221C17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5642
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5645

[Realtek.NTx86]
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\INTCCFFD
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5640
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5672
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\221C17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5642
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5645

; x64
[Realtek.NTamd64]
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\INTCCFFD
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5640
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5672
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\221C17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5642
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5645

[Codec_Device.NT]
CopyFiles=Codec_Device.NT.Copy
AddReg=Codec_Device.NT.AddReg
Reboot

[Codec_Device.NT.Copy]
rtii2sac.sys

[Codec_Device.NT.HW]
;AddReg=Codec_Device.NT.HW.AddReg

[Codec_Device.NT.AddReg]
;HKR, General, MultiLevelJD, 0x00010001, 0

;-------------- Service installation

[Codec_Device.NT.Services]
AddService = rtii2sac, %SPSVCINST_ASSOCSERVICE%, rtii2sac_Service_Inst

[rtii2sac_Service_Inst]
DisplayName     = %CodecDevice.SVCDESC%
ServiceType     = 1               ; SERVICE_KERNEL_DRIVER
StartType       = 3               ; SERVICE_DEMAND_START
ErrorControl    = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\rtii2sac.sys
LoadOrderGroup  = Extended Base


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

[SourceDisksFiles]
rtii2sac.sys = 1,,

;x64
[Codec_Device.NTamd64]
CopyFiles=Codec_Device.NTamd64.Copy
AddReg=Codec_Device.NTamd64.AddReg
Reboot

[Codec_Device.NTamd64.Copy]
rtii2sac.sys

[Codec_Device.NTamd64.HW]
;AddReg=Codec_Device.NTamd64.HW.AddReg

[Codec_Device.NTamd64.AddReg]
;HKR, Settings, MultiLevelJD, 0x00010001, 0

[Codec_Device.NTamd64.Services]
AddService = rtii2sac, %SPSVCINST_ASSOCSERVICE%, rtii2sac_Service_Inst_NTamd64

[rtii2sac_Service_Inst_NTamd64]
DisplayName     = %CodecDevice.SVCDESC%
ServiceType     = 1               ; SERVICE_KERNEL_DRIVER
StartType       = 3               ; SERVICE_DEMAND_START
ErrorControl    = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\rtii2sac.sys
LoadOrderGroup  = Extended Base

[Strings]
SPSVCINST_ASSOCSERVICE   = 0x00000002
REALTEK                  = "REALTEK"
MfgName                  = "Realtek Semiconductor Corp."
DiskId1                  = "Realtek Codec Device Installation Disk #1"
CodecDevice.DeviceDesc   = "Realtek I2S Audio Codec"
CodecDevice.SVCDESC      = "Realtek I2S Audio Codec Device Driver"
