;/*++
;
;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=06/18/2015,603.9600.1010.2079

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\VEN_10EC&DEV_5640&SUBSYS_221C17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_221B17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_398517AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_17AA3985
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C2177
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8011
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8021
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8048
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8049
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_MSHW2446
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_F9800030
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\221C17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5642
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5645
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5647
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5648
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5651
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5671
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5672

[Realtek.NTx86]
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\INTCCFFD
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5640
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_221C17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_221B17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_398517AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_17AA3985
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C2177
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8011
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8021
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8048
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8049
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_MSHW2446
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_F9800030
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\221C17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5642
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5645
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5647
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5648
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5651
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5671
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5672

; x64
[Realtek.NTamd64]
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\INTCCFFD
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5640
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_221C17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_221B17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_398517AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_17AA3985
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C2177
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8011
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8021
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8048
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_103C8049
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_MSHW2446
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\VEN_10EC&DEV_5640&SUBSYS_F9800030
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\221C17AA
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5642
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5645
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5647
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5648
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5651
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5671
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5672

[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 = rtii2sac64, %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"
