[Version] Signature="$CHICAGO$" Class=MEDIA ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318} provider=%MSFT% LayoutFile=layout.inf DriverVer = 12/1/1998, 5.0.0.0 [ControlFlags] ExcludeFromSelect=PCI\VEN_1106&DEV_3058 [Manufacturer] %VIAMfgName%=VIAAudio ;;---------------------------------------------------------------; ;; ;; D E V I C E C A L L O U T S E C T I O N ;; [VIAAudio] %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_45521106 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_45511106 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_45111106 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_45411106 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_41611106 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_78D21106 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_30581106 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_59134352 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_B1940E11 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_3705144D %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_0E8014FF %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_51331071 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058&SUBSYS_80C21033 %*WDM_VIAudio.DeviceDesc%=WDM_VIAudio, PCI\VEN_1106&DEV_3058 [WDM_VIAudio] AlsoInstall=KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf) CopyFiles=VIAAudio.CopyList DelReg=WDM_VIAudio.DelReg AddReg=WDM_VIAudio.AddReg, WDM_VIAGUID.AddReg, WDM_Config.AddReg, VIAUDIO_OEM.AddReg [WDM_VIAudio.Interfaces] AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_VIAudio.Interface.Wave AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_VIAudio.Interface.Wave AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_VIAudio.Interface.Wave AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_VIAudio.Interface.Topology AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_Topology%,WDM_VIAudio.Interface.Topology AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART [WDM_VIAudio.Interface.Wave] AddReg=WDM_VIA.Interface.Wave.AddReg [WDM_VIA.Interface.Wave.AddReg] HKR,,FriendlyName,,%WDM_VIA.Wave.szPname% HKR,,CLSID,,%Proxy.CLSID% [WDM_VIAudio.Interface.Topology] AddReg=WDM_VIA.Interface.Topo.AddReg [WDM_VIA.Interface.Topo.AddReg] HKR,,FriendlyName,,%WDM_VIA.Topology.szPname% HKR,,CLSID,,%Proxy.CLSID% [WDM.Interface.UART] AddReg=WDM.Interface.UART.AddReg [WDM.Interface.UART.AddReg] HKR,,FriendlyName,,%WDM.UART.szPname% HKR,,CLSID,,%Proxy.CLSID% ;; How can they make sure they are deleting their own REGISTRY ;; [WDM_VIAudio.DelReg] HKLM,Enum\Root\*PNPB002 HKLM,Enum\Root\*PNPB006 HKLM,Enum\Root\*PNPB02F [WDM_VIAudio.AddReg] HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook" HKR,,Driver,,ac97via.SYS HKR,,NTMPDriver,,"ac97via.sys,sbemul.sys" HKR,Drivers,SubClasses,,"wave,midi,mixer,aux" HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv HKR,Drivers\midi\wdmaud.drv, Driver,,wdmaud.drv HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv HKR,Drivers\aux\wdmaud.drv,Driver,,wdmaud.drv HKR,Drivers\wave\wdmaud.drv,Description,,%*WDMVIAAudio.DeviceDesc% HKR,Drivers\midi\wdmaud.drv,Description,,%*WDMVIAAudio.DeviceDesc% HKR,Drivers\mixer\wdmaud.drv,Description,,%*WDMVIAAudio.DeviceDesc% HKR,Drivers\aux\wdmaud.drv,Description,,%*WDMVIAAudio.DeviceDesc% [WDM_VIAGUID.AddReg] ;; VIA Audio friendly names HKLM,%MediaCategories%\%VIAGUID.Phone%,Name,,%VIAPin.Phone% HKLM,%MediaCategories%\%VIAGUID.Phone%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.Mic1%,Name,,%VIAPin.Mic1% HKLM,%MediaCategories%\%VIAGUID.Mic1%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.Mic2%,Name,,%VIAPin.Mic2% HKLM,%MediaCategories%\%VIAGUID.Mic2%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.Video%,Name,,%VIAPin.Video% HKLM,%MediaCategories%\%VIAGUID.Video%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.MonoOut%,Name,,%VIAPin.MonoOut% HKLM,%MediaCategories%\%VIAGUID.MonoOut%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.PcBeep%,Name,,%VIAPin.PcBeep% HKLM,%MediaCategories%\%VIAGUID.PcBeep%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.LineIn%,Name,,%VIAPin.LineIn% HKLM,%MediaCategories%\%VIAGUID.LineIn%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.CD%,Name,,%VIAPin.CD% HKLM,%MediaCategories%\%VIAGUID.CD%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.AUX%,Name,,%VIAPin.AUX% HKLM,%MediaCategories%\%VIAGUID.AUX%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.MicMux%,Name,,%VIANode.MicMux% HKLM,%MediaCategories%\%VIAGUID.MicMux%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.WaveInMux%,Name,,%VIANode.WaveInMux% HKLM,%MediaCategories%\%VIAGUID.WaveInMux%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.MonoOutMux%,Name,,%VIANode.MonoOutMux% HKLM,%MediaCategories%\%VIAGUID.MonoOutMux%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.MonoOutMixDown%,Name,,%VIANode.MonoOutMixDown% HKLM,%MediaCategories%\%VIAGUID.MonoOutMixDown%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.LineOutMainMix%,Name,,%VIANode.LineOutMainMix% HKLM,%MediaCategories%\%VIAGUID.LineOutMainMix%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.LineOutMiscMix%,Name,,%VIANode.LineOutMiscMix% HKLM,%MediaCategories%\%VIAGUID.LineOutMiscMix%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.MicIn20DB_Gain%,Name,,%VIANode.MicIn20DB_Gain% HKLM,%MediaCategories%\%VIAGUID.MicIn20DB_Gain%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.MonoOutVol%,Name,,%VIANode.MonoOutVol% HKLM,%MediaCategories%\%VIAGUID.MonoOutVol%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.MonoOutMute%,Name,,%VIANode.MonoOutMute% HKLM,%MediaCategories%\%VIAGUID.MonoOutMute%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.WaveOut%,Name,,%VIAPin.WaveOut% HKLM,%MediaCategories%\%VIAGUID.WaveOut%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.3DCenterCtrl%,Name,,%VIANode.3DCenter% HKLM,%MediaCategories%\%VIAGUID.3DCenterCtrl%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.3DDepthCtrl%,Name,,%VIANode.3DDepth% HKLM,%MediaCategories%\%VIAGUID.3DDepthCtrl%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.3DOnOffCtrl%,Name,,%VIANode.3DOnOff% HKLM,%MediaCategories%\%VIAGUID.3DOnOffCtrl%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.HPVolume%,Name,,%VIANode.HPVolume% HKLM,%MediaCategories%\%VIAGUID.HPVolume%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.HPMute%,Name,,%VIANode.HPMute% HKLM,%MediaCategories%\%VIAGUID.HPMute%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.3DCenterCtrlPin%,Name,,%VIAPin.3DCenter% HKLM,%MediaCategories%\%VIAGUID.3DCenterCtrlPin%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.3DDepthCtrlPin%,Name,,%VIAPin.3DDepth% HKLM,%MediaCategories%\%VIAGUID.3DDepthCtrlPin%,Display,1,00,00,00,00 HKLM,%MediaCategories%\%VIAGUID.Stereo_OutPin%,Name,,%VIAPin.Stereo_Out% HKLM,%MediaCategories%\%VIAGUID.Stereo_OutPin%,Display,1,00,00,00,00 ;; for mic2 select HKLM,%MediaCategories%\%VIAGUID.Mic_Select%,Name,,%VIANode.MicSelect% HKLM,%MediaCategories%\%VIAGUID.Mic_Select%,Display,1,00,00,00,00 ;; SP/DIF HKLM,%MediaCategories%\%VIAGUID.SPDIF_Enable%,Name,,%VIANode.SPDIF_Enable% HKLM,%MediaCategories%\%VIAGUID.SPDIF_Enable%,Display,1,00,00,00,00 [WDM_Config.AddReg] ;; The below registry is for setting the default value in the mixer control at ;; driver startup. ;; The procedure to change the default setting: ;; (1). Executing "Volune control" application to adjust the volume level. ;; (2). Restarting Windows. ;; (3). Executing "REGEDIT.EXE" and searching the registry key listed below, ;; then update the value of the registry key to the following. ;; ;; Note: ;; (1). The default setting of volume level for Wave and SW Synth can NOT ;; be set in the WDM Audio Miniport driver and this INF. ;; (2). Any change in this INF file, you MUST have a new WHQL submission ;; for getting digital signature. ;; ;;---------------------------------+-----------+-----------| ;; Registry key |DWORD type | value | ;;---------------------------------+-----------+-----------| HKR,Settings,VA_WaveOutVolumeL, 0x00010001, 61955 HKR,Settings,VA_WaveOutVolumeR, 0x00010001, 61955 HKR,Settings,VA_WaveOutMute, 0x00010001, 0 HKR,Settings,VA_PCSpeakerVolume, 0x00010001, 4294570499 HKR,Settings,VA_PCSpeakerMute, 0x00010001, 0 HKR,Settings,VA_PhoneVolume, 0x00010001, 389635 HKR,Settings,VA_PhoneMute, 0x00010001, 0 HKR,Settings,VA_MicVolume, 0x00010001, 389635 HKR,Settings,VA_MicMute, 0x00010001, 1 HKR,Settings,VA_MicGain, 0x00010001, 1 ;; for mic2 select HKR,Settings,VA_MicSelect, 0x00010001, 0 HKR,Settings,VA_LineInVolumeL, 0x00010001, 389635 HKR,Settings,VA_LineInVolumeR, 0x00010001, 389635 HKR,Settings,VA_LineInMute, 0x00010001, 1 HKR,Settings,VA_CDPlayerVolumeL, 0x00010001, 4294570499 HKR,Settings,VA_CDPlayerVolumeR, 0x00010001, 4294570499 HKR,Settings,VA_CDPlayerMute, 0x00010001, 0 HKR,Settings,VA_VideoVolumeL, 0x00010001, 389635 HKR,Settings,VA_VideoVolumeR, 0x00010001, 389635 HKR,Settings,VA_VideoMute, 0x00010001, 1 HKR,Settings,VA_AUXVolumeL, 0x00010001, 389635 HKR,Settings,VA_AUXVolumeR, 0x00010001, 389635 HKR,Settings,VA_AUXMute, 0x00010001, 1 HKR,Settings,VA_3DDepthVolume, 0x00010001, 0x80000000 HKR,Settings,VA_3DDepthEnhance, 0x00010001, 1 HKR,Settings,VA_MasterVolumeL, 0x00010001, 4294570499 HKR,Settings,VA_MasterVolumeR, 0x00010001, 4294570499 HKR,Settings,VA_MasterMute, 0x00010001, 0 HKR,Settings,VA_RecSelect, 0x00010001, 1 HKR,Settings,VA_RecMasterMute, 0x00010001, 0 HKR,Settings,VA_RecStereoMixVolumeL, 0x00010001, 0x00107203 HKR,Settings,VA_RecStereoMixVolumeR, 0x00010001, 0x00107203 HKR,Settings,VA_RecMicVolume, 0x00010001, 0x00107203 HKR,Settings,VA_RecLineInVolumeL, 0x00010001, 0x00107203 HKR,Settings,VA_RecLineInVolumeR, 0x00010001, 0x00107203 HKR,Settings,VA_RecCDPlayerVolumeL, 0x00010001, 0x00107203 HKR,Settings,VA_RecCDPlayerVolumeR, 0x00010001, 0x00107203 HKR,Settings,VA_RecVideoVolumeL, 0x00010001, 0x00107203 HKR,Settings,VA_RecVideoVolumeR, 0x00010001, 0x00107203 HKR,Settings,VA_RecAUXVolumeL, 0x00010001, 0x00107203 HKR,Settings,VA_RecAUXVolumeR, 0x00010001, 0x00107203 HKR,Settings,VA_MonoOutSelect, 0x00010001, 1 HKR,Settings,VA_MonoOutVolume1, 0x00010001, 4294570499 HKR,Settings,VA_MonoOutVolume2, 0x00010001, 4294570499 HKR,Settings,VA_MonoOutMute, 0x00010001, 1 HKR,Settings,VA_HeadphoneVolumeL, 0x00010001, 4294570499 HKR,Settings,VA_HeadphoneVolumeR, 0x00010001, 4294570499 HKR,Settings,VA_HeadphoneMute, 0x00010001, 1 HKR,Settings,VA_MaxMicVol, 0x00010001, 786432 ;HKR,Settings,VA_MaxMicVol, 0x00010001, 0xFFF40000 ;HKR,Settings,VA_MaxRecVol, 0x00010001, 0x00168000 HKR,Settings,VA_SPDIFOutAGC, 0x00010001, 1 HKR,Settings,VA_MaxMasterVol, 0x00010001, 0 ;HKR,Settings,VA_MaxMonoVol1, 0x00010001, 0 ;HKR,Settings,VA_MaxMonoVol2, 0x00010001, 0 ;HKR,Settings,VA_MaxHPOutVol, 0x00010001, 0 [WDM_C2.AddReg] HKR,Settings,VA_PCSpeakerVolume, 0x00010001, 0xfff9f203 HKR,Settings,VA_CDPlayerVolumeL, 0x00010001, 0xfff9f203 HKR,Settings,VA_CDPlayerVolumeR, 0x00010001, 0xfff9f203 HKR,Settings,VA_MasterVolumeL, 0x00010001, 0xfff9f203 HKR,Settings,VA_MasterVolumeR, 0x00010001, 0xfff9f203 HKR,Settings,VA_MonoOutVolume1, 0x00010001, 0xfff9f203 HKR,Settings,VA_MonoOutVolume2, 0x00010001, 0xfff9f203 HKR,Settings,VA_HeadphoneVolumeL, 0x00010001, 0xfff9f203 HKR,Settings,VA_HeadphoneVolumeR, 0x00010001, 0xfff9f203 HKR,Settings,VA_MaxMicVol, 0x00010001, 0x000c0000 [VIAUDIO_OEM.AddReg] ;; For the topology configuration, the input line of mixer can be disabled ;; by outcommenting some of the lines below. ;HKR,Settings,DisablePCSpeaker,1,1 ;HKR,Settings,DisablePhone,1,1 ;HKR,Settings,DisableVideo,1,1 ;HKR,Settings,DisableAUX,1,1 ;HKR,Settings,DisableLineIn,1,1 ;HKR,Settings,DisableCDPlayer,1,1 ;HKR,Settings,DisableMic,1,1 ;HKR,Settings,DisableMicGain,1,1 ;; for mic2 select HKR,Settings,DisableMicSelect,1,1 ;HKR,Settings,Disable3DDepth,1,1 HKR,Settings,DisableMonoOut,1,1 HKR,Settings,DisableHeadphone,1,1 HKR,Settings,DisableVolHPhone,1,1 ;HKR,Settings,DisableRecMuteAll,1,1 ;HKR,Settings,DisableSoundEffect,1,1 [DestinationDirs] DefaultDestDir = 10,system32\drivers VIAAudio.CopyList = 10,system32\drivers ; %SystemRoot%\system32\drivers [VIAAudio.CopyList] ac97via.sys [WDM_VIAudio.NT] Include=ks.inf, wdmaudio.inf Needs=KS.Registration, WDMAUDIO.Registration CopyFiles=VIAAudio.CopyList DelReg=WDM_VIAudio.DelReg AddReg=WDM_VIAudio.AddReg, WDM_VIAGUID.AddReg, WDM_Config.AddReg, WDM_C2.AddReg,VIAUDIO_OEM.AddReg [WDM_VIAudio.NT.Interfaces] AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_VIAudio.Interface.Wave AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_VIAudio.Interface.Wave AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_VIAudio.Interface.Wave AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_VIAudio.Interface.Topology AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART [WDM_VIAudio.NT.Services] AddService = VIAudio, 0x00000002, VIAudio_Service_Inst [VIAudio_Service_Inst] DisplayName = %viaudio.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\system32\drivers\ac97via.sys