Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

241 lines
9.8 KiB

  1. ;Copyright (c) 1990-1999 Microsoft Corporation All rights Reserved
  2. ;
  3. ;Module Name:
  4. ; ac97smpl.INF
  5. ;
  6. ;Abstract:
  7. ; INF file for installing AC97 WDM Sample Driver
  8. [Version]
  9. Signature="$CHICAGO$"
  10. Class=MEDIA
  11. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  12. provider=%MSFT%
  13. ;;The following line is used only when the INF comes with the Windows system
  14. ;;IHV needs to comment out the following line for their OEM redistributed disk.
  15. LayoutFile=layout.inf
  16. DriverVer=12/1/1997,5.00.0.0
  17. [Manufacturer]
  18. %IntelMfg%=Intel
  19. ;; Excluding drivers from the "Add New Hardware" list.
  20. [ControlFlags]
  21. ExcludeFromSelect = *
  22. [Intel]
  23. %ICHAUD_AA.DeviceDesc%=ICHAUD,, PCI\VEN_8086&DEV_2415
  24. %ICHAUD_AB.DeviceDesc%=ICHAUD,, PCI\VEN_8086&DEV_2425
  25. %ICHAUD_BA.DeviceDesc%=ICHAUD,, PCI\VEN_8086&DEV_2445
  26. ;; the following specfic IDs are used to force the Yamaha AC-XG
  27. ;;to use Millennium AC97 driver
  28. %ICHAUD_AA.DeviceDesc%=ICHAUD, PCI\VEN_8086&DEV_2415&SUBSYS_809B1033
  29. %ICHAUD_AB.DeviceDesc%=ICHAUD, PCI\VEN_8086&DEV_2425&SUBSYS_80AB1033
  30. %ICHAUD_AB.DeviceDesc%=ICHAUD, PCI\VEN_8086&DEV_2425&SUBSYS_80991033
  31. %ICHAUD_AB.DeviceDesc%=ICHAUD, PCI\VEN_8086&DEV_2425&SUBSYS_809A1033
  32. %ICHAUD_AB.DeviceDesc%=ICHAUD, PCI\VEN_8086&DEV_2425&SUBSYS_80A71033
  33. [DestinationDirs]
  34. ICHAUD.CopyList=10,system32\drivers
  35. [ICHAUD]
  36. Include=ks.inf,wdmaudio.inf
  37. Needs=KS.Registration,WDMAUDIO.Registration
  38. CopyFiles=ICHAUD.CopyList
  39. AddReg=ICHAUD.AddReg,ICHAUD_NAMES.AddReg, ICHAUD_OEM.AddReg
  40. KnownRegEntries=ICHAUD.KnownRegEntries
  41. KnownFiles = INT.KnownFiles
  42. [ICHAUD.CopyList]
  43. ichaud.sys
  44. [ICHAUD.Interfaces]
  45. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  46. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  47. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  48. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,ICHAUD.Interface.Topology
  49. [ICHAUD.Interface.Wave]
  50. AddReg=ICHAUD.I.Wave.AddReg
  51. [ICHAUD.I.Wave.AddReg]
  52. HKR,,CLSID,,%Proxy.CLSID%
  53. HKR,,FriendlyName,,%ICHAUD.Wave.szPname%
  54. [ICHAUD.Interface.Topology]
  55. AddReg=ICHAUD.I.Topo.AddReg
  56. [ICHAUD.I.Topo.AddReg]
  57. HKR,,CLSID,,%Proxy.CLSID%
  58. HKR,,FriendlyName,,%ICHAUD.Topology.szPname%
  59. [ICHAUD.AddReg]
  60. HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
  61. HKR,,Driver,,ichaud.sys
  62. HKR,,NTMPDriver,,"ichaud.sys,sbemul.sys"
  63. HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"
  64. HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
  65. HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
  66. HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
  67. HKR,Drivers\aux\wdmaud.drv,Driver,,wdmaud.drv
  68. HKR,Drivers\wave\wdmaud.drv,Description,,%ICHAUD.DeviceDesc%
  69. HKR,Drivers\midi\wdmaud.drv, Description,,%ICHAUD.DeviceDesc%
  70. HKR,Drivers\mixer\wdmaud.drv,Description,,%ICHAUD.DeviceDesc%
  71. HKR,Drivers\aux\wdmaud.drv,Description,,%ICHAUD.DeviceDesc%
  72. [ICHAUD.Services]
  73. AddService = ICHAUD, 0x00000002, ICHAUD_Service_Inst
  74. [ICHAUD_Service_Inst]
  75. DisplayName = %ICHAUD.SvcDesc%
  76. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  77. StartType = 3 ; SERVICE_DEMAND_START
  78. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  79. ServiceBinary = %10%\system32\drivers\ichaud.sys
  80. [ICHAUD_NAMES.AddReg]
  81. ;; Nodes
  82. HKLM,%MediaCategories%\%ICHGUID.PhoneVolume%,Name,,%ICHNode.PhoneVolume%
  83. HKLM,%MediaCategories%\%ICHGUID.PhoneVolume%,Display,1,00,00,00,00
  84. HKLM,%MediaCategories%\%ICHGUID.PhoneMute%,Name,,%ICHNode.PhoneMute%
  85. HKLM,%MediaCategories%\%ICHGUID.PhoneMute%,Display,1,00,00,00,00
  86. HKLM,%MediaCategories%\%ICHGUID.LineInMute%,Name,,%ICHNode.LineInMute%
  87. HKLM,%MediaCategories%\%ICHGUID.LineInMute%,Display,1,00,00,00,00
  88. HKLM,%MediaCategories%\%ICHGUID.MainMix%,Name,,%ICHNode.MainMix%
  89. HKLM,%MediaCategories%\%ICHGUID.MainMix%,Display,1,00,00,00,00
  90. HKLM,%MediaCategories%\%ICHGUID.3DBypass%,Name,,%ICHNode.3DBypass%
  91. HKLM,%MediaCategories%\%ICHGUID.3DBypass%,Display,1,00,00,00,00
  92. HKLM,%MediaCategories%\%ICHGUID.3DEnable%,Name,,%ICHNode.3DEnable%
  93. HKLM,%MediaCategories%\%ICHGUID.3DEnable%,Display,1,00,00,00,00
  94. HKLM,%MediaCategories%\%ICHGUID.BeepMix%,Name,,%ICHNode.BeepMix%
  95. HKLM,%MediaCategories%\%ICHGUID.BeepMix%,Display,1,00,00,00,00
  96. HKLM,%MediaCategories%\%ICHGUID.HPVolume%,Name,,%ICHNode.HPVolume%
  97. HKLM,%MediaCategories%\%ICHGUID.HPVolume%,Display,1,00,00,00,00
  98. HKLM,%MediaCategories%\%ICHGUID.HPMute%,Name,,%ICHNode.HPMute%
  99. HKLM,%MediaCategories%\%ICHGUID.HPMute%,Display,1,00,00,00,00
  100. HKLM,%MediaCategories%\%ICHGUID.MonoOutSelect%,Name,,%ICHNode.MonoOutSelect%
  101. HKLM,%MediaCategories%\%ICHGUID.MonoOutSelect%,Display,1,00,00,00,00
  102. HKLM,%MediaCategories%\%ICHGUID.WaveInSelect%,Name,,%ICHNode.WaveInSelect%
  103. HKLM,%MediaCategories%\%ICHGUID.WaveInSelect%,Display,1,00,00,00,00
  104. HKLM,%MediaCategories%\%ICHGUID.MasterInVolume%,Name,,%ICHNode.MasterInVolume%
  105. HKLM,%MediaCategories%\%ICHGUID.MasterInVolume%,Display,1,00,00,00,00
  106. HKLM,%MediaCategories%\%ICHGUID.MasterInMute%,Name,,%ICHNode.MasterInMute%
  107. HKLM,%MediaCategories%\%ICHGUID.MasterInMute%,Display,1,00,00,00,00
  108. HKLM,%MediaCategories%\%ICHGUID.MicInVolume%,Name,,%ICHNode.MicInVolume%
  109. HKLM,%MediaCategories%\%ICHGUID.MicInVolume%,Display,1,00,00,00,00
  110. HKLM,%MediaCategories%\%ICHGUID.MicInMute%,Name,,%ICHNode.MicInMute%
  111. HKLM,%MediaCategories%\%ICHGUID.MicInMute%,Display,1,00,00,00,00
  112. HKLM,%MediaCategories%\%ICHGUID.SimulStereo%,Name,,%ICHNode.SimulStereo%
  113. HKLM,%MediaCategories%\%ICHGUID.SimulStereo%,Display,1,00,00,00,00
  114. HKLM,%MediaCategories%\%ICHGUID.SurroundVolume%,Name,,%ICHNode.SurroundVolume%
  115. HKLM,%MediaCategories%\%ICHGUID.SurroundVolume%,Display,1,00,00,00,00
  116. HKLM,%MediaCategories%\%ICHGUID.SurroundMute%,Name,,%ICHNode.SurroundMute%
  117. HKLM,%MediaCategories%\%ICHGUID.SurroundMute%,Display,1,00,00,00,00
  118. HKLM,%MediaCategories%\%ICHGUID.CenterVolume%,Name,,%ICHNode.CenterVolume%
  119. HKLM,%MediaCategories%\%ICHGUID.CenterVolume%,Display,1,00,00,00,00
  120. HKLM,%MediaCategories%\%ICHGUID.CenterMute%,Name,,%ICHNode.CenterMute%
  121. HKLM,%MediaCategories%\%ICHGUID.CenterMute%,Display,1,00,00,00,00
  122. HKLM,%MediaCategories%\%ICHGUID.LFEVolume%,Name,,%ICHNode.LFEVolume%
  123. HKLM,%MediaCategories%\%ICHGUID.LFEVolume%,Display,1,00,00,00,00
  124. HKLM,%MediaCategories%\%ICHGUID.LFEMute%,Name,,%ICHNode.LFEMute%
  125. HKLM,%MediaCategories%\%ICHGUID.LFEMute%,Display,1,00,00,00,00
  126. HKLM,%MediaCategories%\%ICHGUID.FrontVolume%,Name,,%ICHNode.FrontVolume%
  127. HKLM,%MediaCategories%\%ICHGUID.FrontVolume%,Display,1,00,00,00,00
  128. HKLM,%MediaCategories%\%ICHGUID.FrontMute%,Name,,%ICHNode.FrontMute%
  129. HKLM,%MediaCategories%\%ICHGUID.FrontMute%,Display,1,00,00,00,00
  130. ;; Pins
  131. HKLM,%MediaCategories%\%ICHGUID.Surround%,Name,,%ICHPin.Surround%
  132. HKLM,%MediaCategories%\%ICHGUID.Surround%,Display,1,00,00,00,00
  133. HKLM,%MediaCategories%\%ICHGUID.Center%,Name,,%ICHPin.Center%
  134. HKLM,%MediaCategories%\%ICHGUID.Center%,Display,1,00,00,00,00
  135. HKLM,%MediaCategories%\%ICHGUID.LFE%,Name,,%ICHPin.LFE%
  136. HKLM,%MediaCategories%\%ICHGUID.LFE%,Display,1,00,00,00,00
  137. HKLM,%MediaCategories%\%ICHGUID.Front%,Name,,%ICHPin.Front%
  138. HKLM,%MediaCategories%\%ICHGUID.Front%,Display,1,00,00,00,00
  139. [ICHAUD_OEM.AddReg]
  140. ;;Default register value at driver startup
  141. ;;Uncomment some one of the lines if you want to overwrite the default setting
  142. ;;The value in these outcommented lines is the driver default. You can change
  143. ;;the register values (and uncomment the line) to overwrite the driver default.
  144. ;;low byte comes first, values are hexadezimal.
  145. ;HKR,Settings,MasterVolume,1,0,0 ;0dB
  146. ;HKR,Settings,HeadphoneVolume,1,0,0 ;0dB
  147. ;HKR,Settings,MonooutVolume,1,0,0 ;0dB
  148. ;HKR,Settings,ToneControls,1,F,F ;bypass
  149. ;HKR,Settings,BeepVolume,1,0,0 ;0dB
  150. ;HKR,Settings,PhoneVolume,1,8,80 ;muted
  151. ;HKR,Settings,MicVolume,1,8,80 ;muted
  152. ;HKR,Settings,LineInVolume,1,8,8 ;0dB
  153. ;HKR,Settings,CDVolume,1,8,8 ;0dB
  154. ;HKR,Settings,VideoVolume,1,8,8 ;0dB
  155. ;HKR,Settings,AUXVolume,1,8,8 ;0dB
  156. ;HKR,Settings,WaveOutVolume,1,8,8 ;0dB. This register is never touched by the system.
  157. ;HKR,Settings,RecordSelect,1,4,4 ;select LiniIn
  158. ;HKR,Settings,RecordGain,1,0,0 ;0dB
  159. ;HKR,Settings,RecordGainMic,1,0,0 ;0dB
  160. ;HKR,Settings,GeneralPurpose,1,0,0 ;pre 3D, 3D off, loudness off, mono=mix, mic1
  161. ;HKR,Settings,3DControl,1,0,0 ;0%
  162. ;HKR,Settings,PowerDown,1,0,0 ;no power down
  163. ;HKR,Settings,ExtAudioCtrl,1,01,40 ;VRA, DACs on, MicIn off
  164. ;HKR,Settings,CenterLFEVolume,1,0,0 ;0dB
  165. ;HKR,Settings,SurroundVolume,1,0,0 ;0dB
  166. ;;Configuration
  167. ;;You can disable some of the input lines by outcommenting some of the lines
  168. ;;below. This could be necessary if you have a AC97 codec on board that for
  169. ;;example supports Video input, but you don't have the Video input accessable
  170. ;;for the user (no plug in).
  171. ;HKR,Settings,DisablePCBeep,1,1
  172. ;HKR,Settings,DisablePhone,1,1
  173. ;HKR,Settings,DisableMic2,1,1
  174. ;HKR,Settings,DisableVideo,1,1
  175. ;HKR,Settings,DisableAUX,1,1
  176. ;HKR,Settings,DisableHeadphone,1,1
  177. ;HKR,Settings,DisableMonoOut,1,1
  178. HKR,Settings,DisableMicIn,1,1
  179. ;HKR,Settings,DisableMic,1,1 ;disables all MIC lines, including MIC record.
  180. ;HKR,Settings,DisableLineIn,1,1
  181. ;HKR,Settings,DisableCD,1,1
  182. ;HKR,Settings,DisableSurround,1,1
  183. HKR,Settings,DisableCenterLFE,1,1 ;This is not supported in Win98SE, Win2k, Millennium
  184. ;HKR,Settings,ChannelConfig,1,3,0,0,0 ;ChannelConfig set to stereo speakers.
  185. ;--------------------------------------------------------------------------;
  186. ; Driver Database Logic
  187. ;
  188. [ICHAUD.KnownRegEntries]
  189. IsWin98Gold=keep
  190. [IsWin98Gold]
  191. 1=HKLM,Software\Microsoft\Windows\CurrentVersion,VersionNumber,0,4.10.1998
  192. [INT.KnownFiles]
  193. YACXG.SYS = force
  194. ;;======================== Win2k section ========================
  195. [ICHAUD.NTX86]
  196. Include=ks.inf,wdmaudio.inf
  197. Needs=KS.Registration,WDMAUDIO.Registration
  198. CopyFiles=ICHAUD.CopyList
  199. AddReg=ICHAUD.AddReg,ICHAUD_NAMES.AddReg, ICHAUD_OEM.AddReg
  200. [ICHAUD.NTX86.Interfaces]
  201. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  202. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  203. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  204. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,ICHAUD.Interface.Topology
  205. [ICHAUD.NTX86.Services]
  206. AddService = ICHAUD, 0x00000002, ICHAUD_Service_Inst