alsa-configuration.rst 79 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769
  1. ==============================================================
  2. Advanced Linux Sound Architecture - Driver Configuration guide
  3. ==============================================================
  4. Kernel Configuration
  5. ====================
  6. To enable ALSA support you need at least to build the kernel with
  7. primary sound card support (``CONFIG_SOUND``). Since ALSA can emulate
  8. OSS, you don't have to choose any of the OSS modules.
  9. Enable "OSS API emulation" (``CONFIG_SND_OSSEMUL``) and both OSS mixer
  10. and PCM supports if you want to run OSS applications with ALSA.
  11. If you want to support the WaveTable functionality on cards such as
  12. SB Live! then you need to enable "Sequencer support"
  13. (``CONFIG_SND_SEQUENCER``).
  14. To make ALSA debug messages more verbose, enable the "Verbose printk"
  15. and "Debug" options. To check for memory leaks, turn on "Debug memory"
  16. too. "Debug detection" will add checks for the detection of cards.
  17. Please note that all the ALSA ISA drivers support the Linux isapnp API
  18. (if the card supports ISA PnP). You don't need to configure the cards
  19. using isapnptools.
  20. Module parameters
  21. =================
  22. The user can load modules with options. If the module supports more than
  23. one card and you have more than one card of the same type then you can
  24. specify multiple values for the option separated by commas.
  25. Module snd
  26. ----------
  27. The core ALSA module. It is used by all ALSA card drivers.
  28. It takes the following options which have global effects.
  29. major
  30. major number for sound driver;
  31. Default: 116
  32. cards_limit
  33. limiting card index for auto-loading (1-8);
  34. Default: 1;
  35. For auto-loading more than one card, specify this option
  36. together with snd-card-X aliases.
  37. slots
  38. Reserve the slot index for the given driver;
  39. This option takes multiple strings.
  40. See `Module Autoloading Support`_ section for details.
  41. debug
  42. Specifies the debug message level;
  43. (0 = disable debug prints, 1 = normal debug messages,
  44. 2 = verbose debug messages);
  45. This option appears only when ``CONFIG_SND_DEBUG=y``.
  46. This option can be dynamically changed via sysfs
  47. /sys/modules/snd/parameters/debug file.
  48. Module snd-pcm-oss
  49. ------------------
  50. The PCM OSS emulation module.
  51. This module takes options which change the mapping of devices.
  52. dsp_map
  53. PCM device number maps assigned to the 1st OSS device;
  54. Default: 0
  55. adsp_map
  56. PCM device number maps assigned to the 2nd OSS device;
  57. Default: 1
  58. nonblock_open
  59. Don't block opening busy PCM devices;
  60. Default: 1
  61. For example, when ``dsp_map=2``, /dev/dsp will be mapped to PCM #2 of
  62. the card #0. Similarly, when ``adsp_map=0``, /dev/adsp will be mapped
  63. to PCM #0 of the card #0.
  64. For changing the second or later card, specify the option with
  65. commas, such like ``dsp_map=0,1``.
  66. ``nonblock_open`` option is used to change the behavior of the PCM
  67. regarding opening the device. When this option is non-zero,
  68. opening a busy OSS PCM device won't be blocked but return
  69. immediately with EAGAIN (just like O_NONBLOCK flag).
  70. Module snd-rawmidi
  71. ------------------
  72. This module takes options which change the mapping of devices.
  73. similar to those of the snd-pcm-oss module.
  74. midi_map
  75. MIDI device number maps assigned to the 1st OSS device;
  76. Default: 0
  77. amidi_map
  78. MIDI device number maps assigned to the 2nd OSS device;
  79. Default: 1
  80. Module snd-soc-core
  81. -------------------
  82. The soc core module. It is used by all ALSA card drivers.
  83. It takes the following options which have global effects.
  84. prealloc_buffer_size_kbytes
  85. Specify prealloc buffer size in kbytes (default: 512).
  86. Common parameters for top sound card modules
  87. --------------------------------------------
  88. Each of top level sound card module takes the following options.
  89. index
  90. index (slot #) of sound card;
  91. Values: 0 through 31 or negative;
  92. If nonnegative, assign that index number;
  93. if negative, interpret as a bitmask of permissible indices;
  94. the first free permitted index is assigned;
  95. Default: -1
  96. id
  97. card ID (identifier or name);
  98. Can be up to 15 characters long;
  99. Default: the card type;
  100. A directory by this name is created under /proc/asound/
  101. containing information about the card;
  102. This ID can be used instead of the index number in
  103. identifying the card
  104. enable
  105. enable card;
  106. Default: enabled, for PCI and ISA PnP cards
  107. These options are used for either specifying the order of instances or
  108. controlling enabling and disabling of each one of the devices if there
  109. are multiple devices bound with the same driver. For example, there are
  110. many machines which have two HD-audio controllers (one for HDMI/DP
  111. audio and another for onboard analog). In most cases, the second one is
  112. in primary usage, and people would like to assign it as the first
  113. appearing card. They can do it by specifying "index=1,0" module
  114. parameter, which will swap the assignment slots.
  115. Today, with the sound backend like PulseAudio and PipeWire which
  116. supports dynamic configuration, it's of little use, but that was a
  117. help for static configuration in the past.
  118. Module snd-adlib
  119. ----------------
  120. Module for AdLib FM cards.
  121. port
  122. port # for OPL chip
  123. This module supports multiple cards. It does not support autoprobe, so
  124. the port must be specified. For actual AdLib FM cards it will be 0x388.
  125. Note that this card does not have PCM support and no mixer; only FM
  126. synthesis.
  127. Make sure you have ``sbiload`` from the alsa-tools package available and,
  128. after loading the module, find out the assigned ALSA sequencer port
  129. number through ``sbiload -l``.
  130. Example output:
  131. ::
  132. Port Client name Port name
  133. 64:0 OPL2 FM synth OPL2 FM Port
  134. Load the ``std.sb`` and ``drums.sb`` patches also supplied by ``sbiload``:
  135. ::
  136. sbiload -p 64:0 std.sb drums.sb
  137. If you use this driver to drive an OPL3, you can use ``std.o3`` and ``drums.o3``
  138. instead. To have the card produce sound, use ``aplaymidi`` from alsa-utils:
  139. ::
  140. aplaymidi -p 64:0 foo.mid
  141. Module snd-ad1816a
  142. ------------------
  143. Module for sound cards based on Analog Devices AD1816A/AD1815 ISA chips.
  144. clockfreq
  145. Clock frequency for AD1816A chip (default = 0, 33000Hz)
  146. This module supports multiple cards, autoprobe and PnP.
  147. Module snd-ad1848
  148. -----------------
  149. Module for sound cards based on AD1848/AD1847/CS4248 ISA chips.
  150. port
  151. port # for AD1848 chip
  152. irq
  153. IRQ # for AD1848 chip
  154. dma1
  155. DMA # for AD1848 chip (0,1,3)
  156. This module supports multiple cards. It does not support autoprobe
  157. thus main port must be specified!!! Other ports are optional.
  158. The power-management is supported.
  159. Module snd-ad1889
  160. -----------------
  161. Module for Analog Devices AD1889 chips.
  162. ac97_quirk
  163. AC'97 workaround for strange hardware;
  164. See the description of intel8x0 module for details.
  165. This module supports multiple cards.
  166. Module snd-ali5451
  167. ------------------
  168. Module for ALi M5451 PCI chip.
  169. pcm_channels
  170. Number of hardware channels assigned for PCM
  171. spdif
  172. Support SPDIF I/O;
  173. Default: disabled
  174. This module supports one chip and autoprobe.
  175. The power-management is supported.
  176. Module snd-als100
  177. -----------------
  178. Module for sound cards based on Avance Logic ALS100/ALS120 ISA chips.
  179. This module supports multiple cards, autoprobe and PnP.
  180. The power-management is supported.
  181. Module snd-als300
  182. -----------------
  183. Module for Avance Logic ALS300 and ALS300+
  184. This module supports multiple cards.
  185. The power-management is supported.
  186. Module snd-als4000
  187. ------------------
  188. Module for sound cards based on Avance Logic ALS4000 PCI chip.
  189. joystick_port
  190. port # for legacy joystick support;
  191. 0 = disabled (default), 1 = auto-detect
  192. This module supports multiple cards, autoprobe and PnP.
  193. The power-management is supported.
  194. Module snd-asihpi
  195. -----------------
  196. Module for AudioScience ASI soundcards
  197. enable_hpi_hwdep
  198. enable HPI hwdep for AudioScience soundcard
  199. This module supports multiple cards.
  200. The driver requires the firmware loader support on kernel.
  201. Module snd-atiixp
  202. -----------------
  203. Module for ATI IXP 150/200/250/400 AC97 controllers.
  204. ac97_clock
  205. AC'97 clock (default = 48000)
  206. ac97_quirk
  207. AC'97 workaround for strange hardware;
  208. See `AC97 Quirk Option`_ section below.
  209. ac97_codec
  210. Workaround to specify which AC'97 codec instead of probing.
  211. If this works for you file a bug with your `lspci -vn` output.
  212. (-2 = Force probing, -1 = Default behavior, 0-2 = Use the
  213. specified codec.)
  214. spdif_aclink
  215. S/PDIF transfer over AC-link (default = 1)
  216. This module supports one card and autoprobe.
  217. ATI IXP has two different methods to control SPDIF output. One is
  218. over AC-link and another is over the "direct" SPDIF output. The
  219. implementation depends on the motherboard, and you'll need to
  220. choose the correct one via spdif_aclink module option.
  221. The power-management is supported.
  222. Module snd-atiixp-modem
  223. -----------------------
  224. Module for ATI IXP 150/200/250 AC97 modem controllers.
  225. This module supports one card and autoprobe.
  226. Note: The default index value of this module is -2, i.e. the first
  227. slot is excluded.
  228. The power-management is supported.
  229. Module snd-au8810, snd-au8820, snd-au8830
  230. -----------------------------------------
  231. Module for Aureal Vortex, Vortex2 and Advantage device.
  232. pcifix
  233. Control PCI workarounds;
  234. 0 = Disable all workarounds,
  235. 1 = Force the PCI latency of the Aureal card to 0xff,
  236. 2 = Force the Extend PCI#2 Internal Master for Efficient
  237. Handling of Dummy Requests on the VIA KT133 AGP Bridge,
  238. 3 = Force both settings,
  239. 255 = Autodetect what is required (default)
  240. This module supports all ADB PCM channels, ac97 mixer, SPDIF, hardware
  241. EQ, mpu401, gameport. A3D and wavetable support are still in development.
  242. Development and reverse engineering work is being coordinated at
  243. https://savannah.nongnu.org/projects/openvortex/
  244. SPDIF output has a copy of the AC97 codec output, unless you use the
  245. ``spdif`` pcm device, which allows raw data passthru.
  246. The hardware EQ hardware and SPDIF is only present in the Vortex2 and
  247. Advantage.
  248. Note: Some ALSA mixer applications don't handle the SPDIF sample rate
  249. control correctly. If you have problems regarding this, try
  250. another ALSA compliant mixer (alsamixer works).
  251. Module snd-azt1605
  252. ------------------
  253. Module for Aztech Sound Galaxy soundcards based on the Aztech AZT1605
  254. chipset.
  255. port
  256. port # for BASE (0x220,0x240,0x260,0x280)
  257. wss_port
  258. port # for WSS (0x530,0x604,0xe80,0xf40)
  259. irq
  260. IRQ # for WSS (7,9,10,11)
  261. dma1
  262. DMA # for WSS playback (0,1,3)
  263. dma2
  264. DMA # for WSS capture (0,1), -1 = disabled (default)
  265. mpu_port
  266. port # for MPU-401 UART (0x300,0x330), -1 = disabled (default)
  267. mpu_irq
  268. IRQ # for MPU-401 UART (3,5,7,9), -1 = disabled (default)
  269. fm_port
  270. port # for OPL3 (0x388), -1 = disabled (default)
  271. This module supports multiple cards. It does not support autoprobe:
  272. ``port``, ``wss_port``, ``irq`` and ``dma1`` have to be specified.
  273. The other values are optional.
  274. ``port`` needs to match the BASE ADDRESS jumper on the card (0x220 or 0x240)
  275. or the value stored in the card's EEPROM for cards that have an EEPROM and
  276. their "CONFIG MODE" jumper set to "EEPROM SETTING". The other values can
  277. be chosen freely from the options enumerated above.
  278. If ``dma2`` is specified and different from ``dma1``, the card will operate in
  279. full-duplex mode. When ``dma1=3``, only ``dma2=0`` is valid and the only way to
  280. enable capture since only channels 0 and 1 are available for capture.
  281. Generic settings are ``port=0x220 wss_port=0x530 irq=10 dma1=1 dma2=0
  282. mpu_port=0x330 mpu_irq=9 fm_port=0x388``.
  283. Whatever IRQ and DMA channels you pick, be sure to reserve them for
  284. legacy ISA in your BIOS.
  285. Module snd-azt2316
  286. ------------------
  287. Module for Aztech Sound Galaxy soundcards based on the Aztech AZT2316
  288. chipset.
  289. port
  290. port # for BASE (0x220,0x240,0x260,0x280)
  291. wss_port
  292. port # for WSS (0x530,0x604,0xe80,0xf40)
  293. irq
  294. IRQ # for WSS (7,9,10,11)
  295. dma1
  296. DMA # for WSS playback (0,1,3)
  297. dma2
  298. DMA # for WSS capture (0,1), -1 = disabled (default)
  299. mpu_port
  300. port # for MPU-401 UART (0x300,0x330), -1 = disabled (default)
  301. mpu_irq
  302. IRQ # for MPU-401 UART (5,7,9,10), -1 = disabled (default)
  303. fm_port
  304. port # for OPL3 (0x388), -1 = disabled (default)
  305. This module supports multiple cards. It does not support autoprobe:
  306. ``port``, ``wss_port``, ``irq`` and ``dma1`` have to be specified.
  307. The other values are optional.
  308. ``port`` needs to match the BASE ADDRESS jumper on the card (0x220 or 0x240)
  309. or the value stored in the card's EEPROM for cards that have an EEPROM and
  310. their "CONFIG MODE" jumper set to "EEPROM SETTING". The other values can
  311. be chosen freely from the options enumerated above.
  312. If ``dma2`` is specified and different from ``dma1``, the card will operate in
  313. full-duplex mode. When ``dma1=3``, only ``dma2=0`` is valid and the only way to
  314. enable capture since only channels 0 and 1 are available for capture.
  315. Generic settings are ``port=0x220 wss_port=0x530 irq=10 dma1=1 dma2=0
  316. mpu_port=0x330 mpu_irq=9 fm_port=0x388``.
  317. Whatever IRQ and DMA channels you pick, be sure to reserve them for
  318. legacy ISA in your BIOS.
  319. Module snd-aw2
  320. --------------
  321. Module for Audiowerk2 sound card
  322. This module supports multiple cards.
  323. Module snd-azt2320
  324. ------------------
  325. Module for sound cards based on Aztech System AZT2320 ISA chip (PnP only).
  326. This module supports multiple cards, PnP and autoprobe.
  327. The power-management is supported.
  328. Module snd-azt3328
  329. ------------------
  330. Module for sound cards based on Aztech AZF3328 PCI chip.
  331. joystick
  332. Enable joystick (default off)
  333. This module supports multiple cards.
  334. Module snd-bt87x
  335. ----------------
  336. Module for video cards based on Bt87x chips.
  337. digital_rate
  338. Override the default digital rate (Hz)
  339. load_all
  340. Load the driver even if the card model isn't known
  341. This module supports multiple cards.
  342. Note: The default index value of this module is -2, i.e. the first
  343. slot is excluded.
  344. Module snd-ca0106
  345. -----------------
  346. Module for Creative Audigy LS and SB Live 24bit
  347. This module supports multiple cards.
  348. Module snd-cmi8330
  349. ------------------
  350. Module for sound cards based on C-Media CMI8330 ISA chips.
  351. isapnp
  352. ISA PnP detection - 0 = disable, 1 = enable (default)
  353. with ``isapnp=0``, the following options are available:
  354. wssport
  355. port # for CMI8330 chip (WSS)
  356. wssirq
  357. IRQ # for CMI8330 chip (WSS)
  358. wssdma
  359. first DMA # for CMI8330 chip (WSS)
  360. sbport
  361. port # for CMI8330 chip (SB16)
  362. sbirq
  363. IRQ # for CMI8330 chip (SB16)
  364. sbdma8
  365. 8bit DMA # for CMI8330 chip (SB16)
  366. sbdma16
  367. 16bit DMA # for CMI8330 chip (SB16)
  368. fmport
  369. (optional) OPL3 I/O port
  370. mpuport
  371. (optional) MPU401 I/O port
  372. mpuirq
  373. (optional) MPU401 irq #
  374. This module supports multiple cards and autoprobe.
  375. The power-management is supported.
  376. Module snd-cmipci
  377. -----------------
  378. Module for C-Media CMI8338/8738/8768/8770 PCI sound cards.
  379. mpu_port
  380. port address of MIDI interface (8338 only):
  381. 0x300,0x310,0x320,0x330 = legacy port,
  382. 1 = integrated PCI port (default on 8738),
  383. 0 = disable
  384. fm_port
  385. port address of OPL-3 FM synthesizer (8x38 only):
  386. 0x388 = legacy port,
  387. 1 = integrated PCI port (default on 8738),
  388. 0 = disable
  389. soft_ac3
  390. Software-conversion of raw SPDIF packets (model 033 only) (default = 1)
  391. joystick_port
  392. Joystick port address (0 = disable, 1 = auto-detect)
  393. This module supports autoprobe and multiple cards.
  394. The power-management is supported.
  395. Module snd-cs4231
  396. -----------------
  397. Module for sound cards based on CS4231 ISA chips.
  398. port
  399. port # for CS4231 chip
  400. mpu_port
  401. port # for MPU-401 UART (optional), -1 = disable
  402. irq
  403. IRQ # for CS4231 chip
  404. mpu_irq
  405. IRQ # for MPU-401 UART
  406. dma1
  407. first DMA # for CS4231 chip
  408. dma2
  409. second DMA # for CS4231 chip
  410. This module supports multiple cards. This module does not support autoprobe
  411. thus main port must be specified!!! Other ports are optional.
  412. The power-management is supported.
  413. Module snd-cs4236
  414. -----------------
  415. Module for sound cards based on CS4232/CS4232A,
  416. CS4235/CS4236/CS4236B/CS4237B/CS4238B/CS4239 ISA chips.
  417. isapnp
  418. ISA PnP detection - 0 = disable, 1 = enable (default)
  419. with ``isapnp=0``, the following options are available:
  420. port
  421. port # for CS4236 chip (PnP setup - 0x534)
  422. cport
  423. control port # for CS4236 chip (PnP setup - 0x120,0x210,0xf00)
  424. mpu_port
  425. port # for MPU-401 UART (PnP setup - 0x300), -1 = disable
  426. fm_port
  427. FM port # for CS4236 chip (PnP setup - 0x388), -1 = disable
  428. irq
  429. IRQ # for CS4236 chip (5,7,9,11,12,15)
  430. mpu_irq
  431. IRQ # for MPU-401 UART (9,11,12,15)
  432. dma1
  433. first DMA # for CS4236 chip (0,1,3)
  434. dma2
  435. second DMA # for CS4236 chip (0,1,3), -1 = disable
  436. This module supports multiple cards. This module does not support autoprobe
  437. (if ISA PnP is not used) thus main port and control port must be
  438. specified!!! Other ports are optional.
  439. The power-management is supported.
  440. This module is aliased as snd-cs4232 since it provides the old
  441. snd-cs4232 functionality, too.
  442. Module snd-cs4281
  443. -----------------
  444. Module for Cirrus Logic CS4281 soundchip.
  445. dual_codec
  446. Secondary codec ID (0 = disable, default)
  447. This module supports multiple cards.
  448. The power-management is supported.
  449. Module snd-cs46xx
  450. -----------------
  451. Module for PCI sound cards based on CS4610/CS4612/CS4614/CS4615/CS4622/
  452. CS4624/CS4630/CS4280 PCI chips.
  453. external_amp
  454. Force to enable external amplifier.
  455. thinkpad
  456. Force to enable Thinkpad's CLKRUN control.
  457. mmap_valid
  458. Support OSS mmap mode (default = 0).
  459. This module supports multiple cards and autoprobe.
  460. Usually external amp and CLKRUN controls are detected automatically
  461. from PCI sub vendor/device ids. If they don't work, give the options
  462. above explicitly.
  463. The power-management is supported.
  464. Module snd-cs5530
  465. -----------------
  466. Module for Cyrix/NatSemi Geode 5530 chip.
  467. Module snd-cs5535audio
  468. ----------------------
  469. Module for multifunction CS5535 companion PCI device
  470. The power-management is supported.
  471. Module snd-ctxfi
  472. ----------------
  473. Module for Creative Sound Blaster X-Fi boards (20k1 / 20k2 chips)
  474. * Creative Sound Blaster X-Fi Titanium Fatal1ty Champion Series
  475. * Creative Sound Blaster X-Fi Titanium Fatal1ty Professional Series
  476. * Creative Sound Blaster X-Fi Titanium Professional Audio
  477. * Creative Sound Blaster X-Fi Titanium
  478. * Creative Sound Blaster X-Fi Elite Pro
  479. * Creative Sound Blaster X-Fi Platinum
  480. * Creative Sound Blaster X-Fi Fatal1ty
  481. * Creative Sound Blaster X-Fi XtremeGamer
  482. * Creative Sound Blaster X-Fi XtremeMusic
  483. reference_rate
  484. reference sample rate, 44100 or 48000 (default)
  485. multiple
  486. multiple to ref. sample rate, 1 or 2 (default)
  487. subsystem
  488. override the PCI SSID for probing;
  489. the value consists of SSVID << 16 | SSDID.
  490. The default is zero, which means no override.
  491. This module supports multiple cards.
  492. Module snd-darla20
  493. ------------------
  494. Module for Echoaudio Darla20
  495. This module supports multiple cards.
  496. The driver requires the firmware loader support on kernel.
  497. Module snd-darla24
  498. ------------------
  499. Module for Echoaudio Darla24
  500. This module supports multiple cards.
  501. The driver requires the firmware loader support on kernel.
  502. Module snd-dt019x
  503. -----------------
  504. Module for Diamond Technologies DT-019X / Avance Logic ALS-007 (PnP
  505. only)
  506. This module supports multiple cards. This module is enabled only with
  507. ISA PnP support.
  508. The power-management is supported.
  509. Module snd-dummy
  510. ----------------
  511. Module for the dummy sound card. This "card" doesn't do any output
  512. or input, but you may use this module for any application which
  513. requires a sound card (like RealPlayer).
  514. pcm_devs
  515. Number of PCM devices assigned to each card (default = 1, up to 4)
  516. pcm_substreams
  517. Number of PCM substreams assigned to each PCM (default = 8, up to 128)
  518. hrtimer
  519. Use hrtimer (=1, default) or system timer (=0)
  520. fake_buffer
  521. Fake buffer allocations (default = 1)
  522. When multiple PCM devices are created, snd-dummy gives different
  523. behavior to each PCM device:
  524. * 0 = interleaved with mmap support
  525. * 1 = non-interleaved with mmap support
  526. * 2 = interleaved without mmap
  527. * 3 = non-interleaved without mmap
  528. As default, snd-dummy drivers doesn't allocate the real buffers
  529. but either ignores read/write or mmap a single dummy page to all
  530. buffer pages, in order to save the resources. If your apps need
  531. the read/ written buffer data to be consistent, pass fake_buffer=0
  532. option.
  533. The power-management is supported.
  534. Module snd-echo3g
  535. -----------------
  536. Module for Echoaudio 3G cards (Gina3G/Layla3G)
  537. This module supports multiple cards.
  538. The driver requires the firmware loader support on kernel.
  539. Module snd-emu10k1
  540. ------------------
  541. Module for EMU10K1/EMU10k2 based PCI sound cards.
  542. * Sound Blaster Live!
  543. * Sound Blaster PCI 512
  544. * Sound Blaster Audigy
  545. * E-MU APS (partially supported)
  546. * E-MU DAS
  547. extin
  548. bitmap of available external inputs for FX8010 (see below)
  549. extout
  550. bitmap of available external outputs for FX8010 (see below)
  551. seq_ports
  552. allocated sequencer ports (4 by default)
  553. max_synth_voices
  554. limit of voices used for wavetable (64 by default)
  555. max_buffer_size
  556. specifies the maximum size of wavetable/pcm buffers given in MB
  557. unit. Default value is 128.
  558. enable_ir
  559. enable IR
  560. This module supports multiple cards and autoprobe.
  561. Input & Output configurations [extin/extout]
  562. * Creative Card wo/Digital out [0x0003/0x1f03]
  563. * Creative Card w/Digital out [0x0003/0x1f0f]
  564. * Creative Card w/Digital CD in [0x000f/0x1f0f]
  565. * Creative Card wo/Digital out + LiveDrive [0x3fc3/0x1fc3]
  566. * Creative Card w/Digital out + LiveDrive [0x3fc3/0x1fcf]
  567. * Creative Card w/Digital CD in + LiveDrive [0x3fcf/0x1fcf]
  568. * Creative Card wo/Digital out + Digital I/O 2 [0x0fc3/0x1f0f]
  569. * Creative Card w/Digital out + Digital I/O 2 [0x0fc3/0x1f0f]
  570. * Creative Card w/Digital CD in + Digital I/O 2 [0x0fcf/0x1f0f]
  571. * Creative Card 5.1/w Digital out + LiveDrive [0x3fc3/0x1fff]
  572. * Creative Card 5.1 (c) 2003 [0x3fc3/0x7cff]
  573. * Creative Card all ins and outs [0x3fff/0x7fff]
  574. The power-management is supported.
  575. Module snd-emu10k1x
  576. -------------------
  577. Module for Creative Emu10k1X (SB Live Dell OEM version)
  578. This module supports multiple cards.
  579. Module snd-ens1370
  580. ------------------
  581. Module for Ensoniq AudioPCI ES1370 PCI sound cards.
  582. * SoundBlaster PCI 64
  583. * SoundBlaster PCI 128
  584. joystick
  585. Enable joystick (default off)
  586. This module supports multiple cards and autoprobe.
  587. The power-management is supported.
  588. Module snd-ens1371
  589. ------------------
  590. Module for Ensoniq AudioPCI ES1371 PCI sound cards.
  591. * SoundBlaster PCI 64
  592. * SoundBlaster PCI 128
  593. * SoundBlaster Vibra PCI
  594. joystick_port
  595. port # for joystick (0x200,0x208,0x210,0x218), 0 = disable
  596. (default), 1 = auto-detect
  597. This module supports multiple cards and autoprobe.
  598. The power-management is supported.
  599. Module snd-es1688
  600. -----------------
  601. Module for ESS AudioDrive ES-1688 and ES-688 sound cards.
  602. isapnp
  603. ISA PnP detection - 0 = disable, 1 = enable (default)
  604. mpu_port
  605. port # for MPU-401 port (0x300,0x310,0x320,0x330), -1 = disable (default)
  606. mpu_irq
  607. IRQ # for MPU-401 port (5,7,9,10)
  608. fm_port
  609. port # for OPL3 (option; share the same port as default)
  610. with ``isapnp=0``, the following additional options are available:
  611. port
  612. port # for ES-1688 chip (0x220,0x240,0x260)
  613. irq
  614. IRQ # for ES-1688 chip (5,7,9,10)
  615. dma8
  616. DMA # for ES-1688 chip (0,1,3)
  617. This module supports multiple cards and autoprobe (without MPU-401 port)
  618. and PnP with the ES968 chip.
  619. Module snd-es18xx
  620. -----------------
  621. Module for ESS AudioDrive ES-18xx sound cards.
  622. isapnp
  623. ISA PnP detection - 0 = disable, 1 = enable (default)
  624. with ``isapnp=0``, the following options are available:
  625. port
  626. port # for ES-18xx chip (0x220,0x240,0x260)
  627. mpu_port
  628. port # for MPU-401 port (0x300,0x310,0x320,0x330), -1 = disable (default)
  629. fm_port
  630. port # for FM (optional, not used)
  631. irq
  632. IRQ # for ES-18xx chip (5,7,9,10)
  633. dma1
  634. first DMA # for ES-18xx chip (0,1,3)
  635. dma2
  636. first DMA # for ES-18xx chip (0,1,3)
  637. This module supports multiple cards, ISA PnP and autoprobe (without MPU-401
  638. port if native ISA PnP routines are not used).
  639. When ``dma2`` is equal with ``dma1``, the driver works as half-duplex.
  640. The power-management is supported.
  641. Module snd-es1938
  642. -----------------
  643. Module for sound cards based on ESS Solo-1 (ES1938,ES1946) chips.
  644. This module supports multiple cards and autoprobe.
  645. The power-management is supported.
  646. Module snd-es1968
  647. -----------------
  648. Module for sound cards based on ESS Maestro-1/2/2E (ES1968/ES1978) chips.
  649. total_bufsize
  650. total buffer size in kB (1-4096kB)
  651. pcm_substreams_p
  652. playback channels (1-8, default=2)
  653. pcm_substreams_c
  654. capture channels (1-8, default=0)
  655. clock
  656. clock (0 = auto-detection)
  657. use_pm
  658. support the power-management (0 = off, 1 = on, 2 = auto (default))
  659. enable_mpu
  660. enable MPU401 (0 = off, 1 = on, 2 = auto (default))
  661. joystick
  662. enable joystick (default off)
  663. This module supports multiple cards and autoprobe.
  664. The power-management is supported.
  665. Module snd-fm801
  666. ----------------
  667. Module for ForteMedia FM801 based PCI sound cards.
  668. tea575x_tuner
  669. Enable TEA575x tuner;
  670. 1 = MediaForte 256-PCS,
  671. 2 = MediaForte 256-PCPR,
  672. 3 = MediaForte 64-PCR
  673. High 16-bits are video (radio) device number + 1;
  674. example: 0x10002 (MediaForte 256-PCPR, device 1)
  675. This module supports multiple cards and autoprobe.
  676. The power-management is supported.
  677. Module snd-gina20
  678. -----------------
  679. Module for Echoaudio Gina20
  680. This module supports multiple cards.
  681. The driver requires the firmware loader support on kernel.
  682. Module snd-gina24
  683. -----------------
  684. Module for Echoaudio Gina24
  685. This module supports multiple cards.
  686. The driver requires the firmware loader support on kernel.
  687. Module snd-gusclassic
  688. ---------------------
  689. Module for Gravis UltraSound Classic sound card.
  690. port
  691. port # for GF1 chip (0x220,0x230,0x240,0x250,0x260)
  692. irq
  693. IRQ # for GF1 chip (3,5,9,11,12,15)
  694. dma1
  695. DMA # for GF1 chip (1,3,5,6,7)
  696. dma2
  697. DMA # for GF1 chip (1,3,5,6,7,-1=disable)
  698. joystick_dac
  699. 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
  700. voices
  701. GF1 voices limit (14-32)
  702. pcm_voices
  703. reserved PCM voices
  704. This module supports multiple cards and autoprobe.
  705. Module snd-gusextreme
  706. ---------------------
  707. Module for Gravis UltraSound Extreme (Synergy ViperMax) sound card.
  708. port
  709. port # for ES-1688 chip (0x220,0x230,0x240,0x250,0x260)
  710. gf1_port
  711. port # for GF1 chip (0x210,0x220,0x230,0x240,0x250,0x260,0x270)
  712. mpu_port
  713. port # for MPU-401 port (0x300,0x310,0x320,0x330), -1 = disable
  714. irq
  715. IRQ # for ES-1688 chip (5,7,9,10)
  716. gf1_irq
  717. IRQ # for GF1 chip (3,5,9,11,12,15)
  718. mpu_irq
  719. IRQ # for MPU-401 port (5,7,9,10)
  720. dma8
  721. DMA # for ES-1688 chip (0,1,3)
  722. dma1
  723. DMA # for GF1 chip (1,3,5,6,7)
  724. joystick_dac
  725. 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
  726. voices
  727. GF1 voices limit (14-32)
  728. pcm_voices
  729. reserved PCM voices
  730. This module supports multiple cards and autoprobe (without MPU-401 port).
  731. Module snd-gusmax
  732. -----------------
  733. Module for Gravis UltraSound MAX sound card.
  734. port
  735. port # for GF1 chip (0x220,0x230,0x240,0x250,0x260)
  736. irq
  737. IRQ # for GF1 chip (3,5,9,11,12,15)
  738. dma1
  739. DMA # for GF1 chip (1,3,5,6,7)
  740. dma2
  741. DMA # for GF1 chip (1,3,5,6,7,-1=disable)
  742. joystick_dac
  743. 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
  744. voices
  745. GF1 voices limit (14-32)
  746. pcm_voices
  747. reserved PCM voices
  748. This module supports multiple cards and autoprobe.
  749. Module snd-hda-intel
  750. --------------------
  751. Module for Intel HD Audio (ICH6, ICH6M, ESB2, ICH7, ICH8, ICH9, ICH10,
  752. PCH, SCH), ATI SB450, SB600, R600, RS600, RS690, RS780, RV610, RV620,
  753. RV630, RV635, RV670, RV770, VIA VT8251/VT8237A, SIS966, ULI M5461
  754. [Multiple options for each card instance]
  755. model
  756. force the model name
  757. position_fix
  758. Fix DMA pointer;
  759. -1 = system default: choose appropriate one per controller hardware,
  760. 0 = auto: falls back to LPIB when POSBUF doesn't work,
  761. 1 = use LPIB,
  762. 2 = POSBUF: use position buffer,
  763. 3 = VIACOMBO: VIA-specific workaround for capture,
  764. 4 = COMBO: use LPIB for playback, auto for capture stream
  765. 5 = SKL+: apply the delay calculation available on recent Intel chips
  766. 6 = FIFO: correct the position with the fixed FIFO size, for recent AMD chips
  767. probe_mask
  768. Bitmask to probe codecs (default = -1, meaning all slots);
  769. When the bit 8 (0x100) is set, the lower 8 bits are used
  770. as the "fixed" codec slots; i.e. the driver probes the
  771. slots regardless what hardware reports back
  772. probe_only
  773. Only probing and no codec initialization (default=off);
  774. Useful to check the initial codec status for debugging
  775. bdl_pos_adj
  776. Specifies the DMA IRQ timing delay in samples.
  777. Passing -1 will make the driver to choose the appropriate
  778. value based on the controller chip.
  779. patch
  780. Specifies the early "patch" files to modify the HD-audio setup
  781. before initializing the codecs.
  782. This option is available only when ``CONFIG_SND_HDA_PATCH_LOADER=y``
  783. is set. See hd-audio/notes.rst for details.
  784. beep_mode
  785. Selects the beep registration mode (0=off, 1=on);
  786. default value is set via ``CONFIG_SND_HDA_INPUT_BEEP_MODE`` kconfig.
  787. [Single (global) options]
  788. single_cmd
  789. Use single immediate commands to communicate with codecs
  790. (for debugging only)
  791. enable_msi
  792. Enable Message Signaled Interrupt (MSI) (default = off)
  793. power_save
  794. Automatic power-saving timeout (in second, 0 = disable)
  795. power_save_controller
  796. Reset HD-audio controller in power-saving mode (default = on)
  797. pm_blacklist
  798. Enable / disable power-management deny-list (default = look up PM
  799. deny-list, 0 = skip PM deny-list, 1 = force to turn off runtime PM)
  800. align_buffer_size
  801. Force rounding of buffer/period sizes to multiples of 128 bytes.
  802. This is more efficient in terms of memory access but isn't
  803. required by the HDA spec and prevents users from specifying
  804. exact period/buffer sizes. (default = on)
  805. snoop
  806. Enable/disable snooping (default = on)
  807. This module supports multiple cards and autoprobe.
  808. See hd-audio/notes.rst for more details about HD-audio driver.
  809. Each codec may have a model table for different configurations.
  810. If your machine isn't listed there, the default (usually minimal)
  811. configuration is set up. You can pass ``model=<name>`` option to
  812. specify a certain model in such a case. There are different
  813. models depending on the codec chip. The list of available models
  814. is found in hd-audio/models.rst.
  815. The model name ``generic`` is treated as a special case. When this
  816. model is given, the driver uses the generic codec parser without
  817. "codec-patch". It's sometimes good for testing and debugging.
  818. The model option can be used also for aliasing to another PCI or codec
  819. SSID. When it's passed in the form of ``model=XXXX:YYYY`` where XXXX
  820. and YYYY are the sub-vendor and sub-device IDs in hex numbers,
  821. respectively, the driver will refer to that SSID as a reference to the
  822. quirk table.
  823. If the default configuration doesn't work and one of the above
  824. matches with your device, report it together with alsa-info.sh
  825. output (with ``--no-upload`` option) to kernel bugzilla or alsa-devel
  826. ML (see the section `Links and Addresses`_).
  827. ``power_save`` and ``power_save_controller`` options are for power-saving
  828. mode. See powersave.rst for details.
  829. Note 2: If you get click noises on output, try the module option
  830. ``position_fix=1`` or ``2``. ``position_fix=1`` will use the SD_LPIB
  831. register value without FIFO size correction as the current
  832. DMA pointer. ``position_fix=2`` will make the driver to use
  833. the position buffer instead of reading SD_LPIB register.
  834. (Usually SD_LPIB register is more accurate than the
  835. position buffer.)
  836. ``position_fix=3`` is specific to VIA devices. The position
  837. of the capture stream is checked from both LPIB and POSBUF
  838. values. ``position_fix=4`` is a combination mode, using LPIB
  839. for playback and POSBUF for capture.
  840. NB: If you get many ``azx_get_response timeout`` messages at
  841. loading, it's likely a problem of interrupts (e.g. ACPI irq
  842. routing). Try to boot with options like ``pci=noacpi``. Also, you
  843. can try ``single_cmd=1`` module option. This will switch the
  844. communication method between HDA controller and codecs to the
  845. single immediate commands instead of CORB/RIRB. Basically, the
  846. single command mode is provided only for BIOS, and you won't get
  847. unsolicited events, too. But, at least, this works independently
  848. from the irq. Remember this is a last resort, and should be
  849. avoided as much as possible...
  850. MORE NOTES ON ``azx_get_response timeout`` PROBLEMS:
  851. On some hardware, you may need to add a proper probe_mask option
  852. to avoid the ``azx_get_response timeout`` problem above, instead.
  853. This occurs when the access to non-existing or non-working codec slot
  854. (likely a modem one) causes a stall of the communication via HD-audio
  855. bus. You can see which codec slots are probed by enabling
  856. ``CONFIG_SND_DEBUG_VERBOSE``, or simply from the file name of the codec
  857. proc files. Then limit the slots to probe by probe_mask option.
  858. For example, ``probe_mask=1`` means to probe only the first slot, and
  859. ``probe_mask=4`` means only the third slot.
  860. The power-management is supported.
  861. Module snd-hdsp
  862. ---------------
  863. Module for RME Hammerfall DSP audio interface(s)
  864. This module supports multiple cards.
  865. Note: The firmware data can be automatically loaded via hotplug
  866. when ``CONFIG_FW_LOADER`` is set. Otherwise, you need to load
  867. the firmware via hdsploader utility included in alsa-tools
  868. package.
  869. The firmware data is found in alsa-firmware package.
  870. Note: snd-page-alloc module does the job which snd-hammerfall-mem
  871. module did formerly. It will allocate the buffers in advance
  872. when any HDSP cards are found. To make the buffer
  873. allocation sure, load snd-page-alloc module in the early
  874. stage of boot sequence. See `Early Buffer Allocation`_
  875. section.
  876. Module snd-hdspm
  877. ----------------
  878. Module for RME HDSP MADI board.
  879. precise_ptr
  880. Enable precise pointer, or disable.
  881. line_outs_monitor
  882. Send playback streams to analog outs by default.
  883. enable_monitor
  884. Enable Analog Out on Channel 63/64 by default.
  885. See hdspm.rst for details.
  886. Module snd-ice1712
  887. ------------------
  888. Module for Envy24 (ICE1712) based PCI sound cards.
  889. * MidiMan M Audio Delta 1010
  890. * MidiMan M Audio Delta 1010LT
  891. * MidiMan M Audio Delta DiO 2496
  892. * MidiMan M Audio Delta 66
  893. * MidiMan M Audio Delta 44
  894. * MidiMan M Audio Delta 410
  895. * MidiMan M Audio Audiophile 2496
  896. * TerraTec EWS 88MT
  897. * TerraTec EWS 88D
  898. * TerraTec EWX 24/96
  899. * TerraTec DMX 6Fire
  900. * TerraTec Phase 88
  901. * Hoontech SoundTrack DSP 24
  902. * Hoontech SoundTrack DSP 24 Value
  903. * Hoontech SoundTrack DSP 24 Media 7.1
  904. * Event Electronics, EZ8
  905. * Digigram VX442
  906. * Lionstracs, Mediastaton
  907. * Terrasoniq TS 88
  908. model
  909. Use the given board model, one of the following:
  910. delta1010, dio2496, delta66, delta44, audiophile, delta410,
  911. delta1010lt, vx442, ewx2496, ews88mt, ews88mt_new, ews88d,
  912. dmx6fire, dsp24, dsp24_value, dsp24_71, ez8,
  913. phase88, mediastation
  914. omni
  915. Omni I/O support for MidiMan M-Audio Delta44/66
  916. cs8427_timeout
  917. reset timeout for the CS8427 chip (S/PDIF transceiver) in msec
  918. resolution, default value is 500 (0.5 sec)
  919. This module supports multiple cards and autoprobe.
  920. Note: The consumer part is not used with all Envy24 based cards (for
  921. example in the MidiMan Delta siree).
  922. Note: The supported board is detected by reading EEPROM or PCI
  923. SSID (if EEPROM isn't available). You can override the
  924. model by passing ``model`` module option in case that the
  925. driver isn't configured properly or you want to try another
  926. type for testing.
  927. Module snd-ice1724
  928. ------------------
  929. Module for Envy24HT (VT/ICE1724), Envy24PT (VT1720) based PCI sound cards.
  930. * MidiMan M Audio Revolution 5.1
  931. * MidiMan M Audio Revolution 7.1
  932. * MidiMan M Audio Audiophile 192
  933. * AMP Ltd AUDIO2000
  934. * TerraTec Aureon 5.1 Sky
  935. * TerraTec Aureon 7.1 Space
  936. * TerraTec Aureon 7.1 Universe
  937. * TerraTec Phase 22
  938. * TerraTec Phase 28
  939. * AudioTrak Prodigy 7.1
  940. * AudioTrak Prodigy 7.1 LT
  941. * AudioTrak Prodigy 7.1 XT
  942. * AudioTrak Prodigy 7.1 HIFI
  943. * AudioTrak Prodigy 7.1 HD2
  944. * AudioTrak Prodigy 192
  945. * Pontis MS300
  946. * Albatron K8X800 Pro II
  947. * Chaintech ZNF3-150
  948. * Chaintech ZNF3-250
  949. * Chaintech 9CJS
  950. * Chaintech AV-710
  951. * Shuttle SN25P
  952. * Onkyo SE-90PCI
  953. * Onkyo SE-200PCI
  954. * ESI Juli@
  955. * ESI Maya44
  956. * Hercules Fortissimo IV
  957. * EGO-SYS WaveTerminal 192M
  958. model
  959. Use the given board model, one of the following:
  960. revo51, revo71, amp2000, prodigy71, prodigy71lt,
  961. prodigy71xt, prodigy71hifi, prodigyhd2, prodigy192,
  962. juli, aureon51, aureon71, universe, ap192, k8x800,
  963. phase22, phase28, ms300, av710, se200pci, se90pci,
  964. fortissimo4, sn25p, WT192M, maya44
  965. This module supports multiple cards and autoprobe.
  966. Note: The supported board is detected by reading EEPROM or PCI
  967. SSID (if EEPROM isn't available). You can override the
  968. model by passing ``model`` module option in case that the
  969. driver isn't configured properly or you want to try another
  970. type for testing.
  971. Module snd-indigo
  972. -----------------
  973. Module for Echoaudio Indigo
  974. This module supports multiple cards.
  975. The driver requires the firmware loader support on kernel.
  976. Module snd-indigodj
  977. -------------------
  978. Module for Echoaudio Indigo DJ
  979. This module supports multiple cards.
  980. The driver requires the firmware loader support on kernel.
  981. Module snd-indigoio
  982. -------------------
  983. Module for Echoaudio Indigo IO
  984. This module supports multiple cards.
  985. The driver requires the firmware loader support on kernel.
  986. Module snd-intel8x0
  987. -------------------
  988. Module for AC'97 motherboards from Intel and compatibles.
  989. * Intel i810/810E, i815, i820, i830, i84x, MX440 ICH5, ICH6, ICH7,
  990. 6300ESB, ESB2
  991. * SiS 7012 (SiS 735)
  992. * NVidia NForce, NForce2, NForce3, MCP04, CK804 CK8, CK8S, MCP501
  993. * AMD AMD768, AMD8111
  994. * ALi m5455
  995. ac97_clock
  996. AC'97 codec clock base (0 = auto-detect)
  997. ac97_quirk
  998. AC'97 workaround for strange hardware;
  999. See `AC97 Quirk Option`_ section below.
  1000. buggy_irq
  1001. Enable workaround for buggy interrupts on some motherboards
  1002. (default yes on nForce chips, otherwise off)
  1003. buggy_semaphore
  1004. Enable workaround for hardware with buggy semaphores (e.g. on some
  1005. ASUS laptops) (default off)
  1006. spdif_aclink
  1007. Use S/PDIF over AC-link instead of direct connection from the
  1008. controller chip (0 = off, 1 = on, -1 = default)
  1009. This module supports one chip and autoprobe.
  1010. Note: the latest driver supports auto-detection of chip clock.
  1011. if you still encounter too fast playback, specify the clock
  1012. explicitly via the module option ``ac97_clock=41194``.
  1013. Joystick/MIDI ports are not supported by this driver. If your
  1014. motherboard has these devices, use the ns558 or snd-mpu401
  1015. modules, respectively.
  1016. The power-management is supported.
  1017. Module snd-intel8x0m
  1018. --------------------
  1019. Module for Intel ICH (i8x0) chipset MC97 modems.
  1020. * Intel i810/810E, i815, i820, i830, i84x, MX440 ICH5, ICH6, ICH7
  1021. * SiS 7013 (SiS 735)
  1022. * NVidia NForce, NForce2, NForce2s, NForce3
  1023. * AMD AMD8111
  1024. * ALi m5455
  1025. ac97_clock
  1026. AC'97 codec clock base (0 = auto-detect)
  1027. This module supports one card and autoprobe.
  1028. Note: The default index value of this module is -2, i.e. the first
  1029. slot is excluded.
  1030. The power-management is supported.
  1031. Module snd-interwave
  1032. --------------------
  1033. Module for Gravis UltraSound PnP, Dynasonic 3-D/Pro, STB Sound Rage 32
  1034. and other sound cards based on AMD InterWave (tm) chip.
  1035. joystick_dac
  1036. 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
  1037. midi
  1038. 1 = MIDI UART enable, 0 = MIDI UART disable (default)
  1039. pcm_voices
  1040. reserved PCM voices for the synthesizer (default 2)
  1041. effect
  1042. 1 = InterWave effects enable (default 0); requires 8 voices
  1043. isapnp
  1044. ISA PnP detection - 0 = disable, 1 = enable (default)
  1045. with ``isapnp=0``, the following options are available:
  1046. port
  1047. port # for InterWave chip (0x210,0x220,0x230,0x240,0x250,0x260)
  1048. irq
  1049. IRQ # for InterWave chip (3,5,9,11,12,15)
  1050. dma1
  1051. DMA # for InterWave chip (0,1,3,5,6,7)
  1052. dma2
  1053. DMA # for InterWave chip (0,1,3,5,6,7,-1=disable)
  1054. This module supports multiple cards, autoprobe and ISA PnP.
  1055. Module snd-interwave-stb
  1056. ------------------------
  1057. Module for UltraSound 32-Pro (sound card from STB used by Compaq)
  1058. and other sound cards based on AMD InterWave (tm) chip with TEA6330T
  1059. circuit for extended control of bass, treble and master volume.
  1060. joystick_dac
  1061. 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
  1062. midi
  1063. 1 = MIDI UART enable, 0 = MIDI UART disable (default)
  1064. pcm_voices
  1065. reserved PCM voices for the synthesizer (default 2)
  1066. effect
  1067. 1 = InterWave effects enable (default 0); requires 8 voices
  1068. isapnp
  1069. ISA PnP detection - 0 = disable, 1 = enable (default)
  1070. with ``isapnp=0``, the following options are available:
  1071. port
  1072. port # for InterWave chip (0x210,0x220,0x230,0x240,0x250,0x260)
  1073. port_tc
  1074. tone control (i2c bus) port # for TEA6330T chip (0x350,0x360,0x370,0x380)
  1075. irq
  1076. IRQ # for InterWave chip (3,5,9,11,12,15)
  1077. dma1
  1078. DMA # for InterWave chip (0,1,3,5,6,7)
  1079. dma2
  1080. DMA # for InterWave chip (0,1,3,5,6,7,-1=disable)
  1081. This module supports multiple cards, autoprobe and ISA PnP.
  1082. Module snd-jazz16
  1083. -------------------
  1084. Module for Media Vision Jazz16 chipset. The chipset consists of 3 chips:
  1085. MVD1216 + MVA416 + MVA514.
  1086. port
  1087. port # for SB DSP chip (0x210,0x220,0x230,0x240,0x250,0x260)
  1088. irq
  1089. IRQ # for SB DSP chip (3,5,7,9,10,15)
  1090. dma8
  1091. DMA # for SB DSP chip (1,3)
  1092. dma16
  1093. DMA # for SB DSP chip (5,7)
  1094. mpu_port
  1095. MPU-401 port # (0x300,0x310,0x320,0x330)
  1096. mpu_irq
  1097. MPU-401 irq # (2,3,5,7)
  1098. This module supports multiple cards.
  1099. Module snd-korg1212
  1100. -------------------
  1101. Module for Korg 1212 IO PCI card
  1102. This module supports multiple cards.
  1103. Module snd-layla20
  1104. ------------------
  1105. Module for Echoaudio Layla20
  1106. This module supports multiple cards.
  1107. The driver requires the firmware loader support on kernel.
  1108. Module snd-layla24
  1109. ------------------
  1110. Module for Echoaudio Layla24
  1111. This module supports multiple cards.
  1112. The driver requires the firmware loader support on kernel.
  1113. Module snd-lola
  1114. ---------------
  1115. Module for Digigram Lola PCI-e boards
  1116. This module supports multiple cards.
  1117. Module snd-lx6464es
  1118. -------------------
  1119. Module for Digigram LX6464ES boards
  1120. This module supports multiple cards.
  1121. Module snd-maestro3
  1122. -------------------
  1123. Module for Allegro/Maestro3 chips
  1124. external_amp
  1125. enable external amp (enabled by default)
  1126. amp_gpio
  1127. GPIO pin number for external amp (0-15) or -1 for default pin (8
  1128. for allegro, 1 for others)
  1129. This module supports autoprobe and multiple chips.
  1130. Note: the binding of amplifier is dependent on hardware.
  1131. If there is no sound even though all channels are unmuted, try to
  1132. specify other gpio connection via amp_gpio option.
  1133. For example, a Panasonic notebook might need ``amp_gpio=0x0d``
  1134. option.
  1135. The power-management is supported.
  1136. Module snd-mia
  1137. ---------------
  1138. Module for Echoaudio Mia
  1139. This module supports multiple cards.
  1140. The driver requires the firmware loader support on kernel.
  1141. Module snd-miro
  1142. ---------------
  1143. Module for Miro soundcards: miroSOUND PCM 1 pro, miroSOUND PCM 12,
  1144. miroSOUND PCM 20 Radio.
  1145. port
  1146. Port # (0x530,0x604,0xe80,0xf40)
  1147. irq
  1148. IRQ # (5,7,9,10,11)
  1149. dma1
  1150. 1st dma # (0,1,3)
  1151. dma2
  1152. 2nd dma # (0,1)
  1153. mpu_port
  1154. MPU-401 port # (0x300,0x310,0x320,0x330)
  1155. mpu_irq
  1156. MPU-401 irq # (5,7,9,10)
  1157. fm_port
  1158. FM Port # (0x388)
  1159. wss
  1160. enable WSS mode
  1161. ide
  1162. enable onboard ide support
  1163. Module snd-mixart
  1164. -----------------
  1165. Module for Digigram miXart8 sound cards.
  1166. This module supports multiple cards.
  1167. Note: One miXart8 board will be represented as 4 alsa cards.
  1168. See Documentation/sound/cards/mixart.rst for details.
  1169. When the driver is compiled as a module and the hotplug firmware
  1170. is supported, the firmware data is loaded via hotplug automatically.
  1171. Install the necessary firmware files in alsa-firmware package.
  1172. When no hotplug fw loader is available, you need to load the
  1173. firmware via mixartloader utility in alsa-tools package.
  1174. Module snd-mona
  1175. ---------------
  1176. Module for Echoaudio Mona
  1177. This module supports multiple cards.
  1178. The driver requires the firmware loader support on kernel.
  1179. Module snd-mpu401
  1180. -----------------
  1181. Module for MPU-401 UART devices.
  1182. port
  1183. port number or -1 (disable)
  1184. irq
  1185. IRQ number or -1 (disable)
  1186. pnp
  1187. PnP detection - 0 = disable, 1 = enable (default)
  1188. This module supports multiple devices and PnP.
  1189. Module snd-msnd-classic
  1190. -----------------------
  1191. Module for Turtle Beach MultiSound Classic, Tahiti or Monterey
  1192. soundcards.
  1193. io
  1194. Port # for msnd-classic card
  1195. irq
  1196. IRQ # for msnd-classic card
  1197. mem
  1198. Memory address (0xb0000, 0xc8000, 0xd0000, 0xd8000, 0xe0000 or 0xe8000)
  1199. write_ndelay
  1200. enable write ndelay (default = 1)
  1201. calibrate_signal
  1202. calibrate signal (default = 0)
  1203. isapnp
  1204. ISA PnP detection - 0 = disable, 1 = enable (default)
  1205. digital
  1206. Digital daughterboard present (default = 0)
  1207. cfg
  1208. Config port (0x250, 0x260 or 0x270) default = PnP
  1209. reset
  1210. Reset all devices
  1211. mpu_io
  1212. MPU401 I/O port
  1213. mpu_irq
  1214. MPU401 irq#
  1215. ide_io0
  1216. IDE port #0
  1217. ide_io1
  1218. IDE port #1
  1219. ide_irq
  1220. IDE irq#
  1221. joystick_io
  1222. Joystick I/O port
  1223. The driver requires firmware files ``turtlebeach/msndinit.bin`` and
  1224. ``turtlebeach/msndperm.bin`` in the proper firmware directory.
  1225. See Documentation/sound/cards/multisound.sh for important information
  1226. about this driver. Note that it has been discontinued, but the
  1227. Voyetra Turtle Beach knowledge base entry for it is still available
  1228. at
  1229. https://www.turtlebeach.com
  1230. Module snd-msnd-pinnacle
  1231. ------------------------
  1232. Module for Turtle Beach MultiSound Pinnacle/Fiji soundcards.
  1233. io
  1234. Port # for pinnacle/fiji card
  1235. irq
  1236. IRQ # for pinnalce/fiji card
  1237. mem
  1238. Memory address (0xb0000, 0xc8000, 0xd0000, 0xd8000, 0xe0000 or 0xe8000)
  1239. write_ndelay
  1240. enable write ndelay (default = 1)
  1241. calibrate_signal
  1242. calibrate signal (default = 0)
  1243. isapnp
  1244. ISA PnP detection - 0 = disable, 1 = enable (default)
  1245. The driver requires firmware files ``turtlebeach/pndspini.bin`` and
  1246. ``turtlebeach/pndsperm.bin`` in the proper firmware directory.
  1247. Module snd-mtpav
  1248. ----------------
  1249. Module for MOTU MidiTimePiece AV multiport MIDI (on the parallel
  1250. port).
  1251. port
  1252. I/O port # for MTPAV (0x378,0x278, default=0x378)
  1253. irq
  1254. IRQ # for MTPAV (7,5, default=7)
  1255. hwports
  1256. number of supported hardware ports, default=8.
  1257. Module supports only 1 card. This module has no enable option.
  1258. Module snd-mts64
  1259. ----------------
  1260. Module for Ego Systems (ESI) Miditerminal 4140
  1261. This module supports multiple devices.
  1262. Requires parport (``CONFIG_PARPORT``).
  1263. Module snd-nm256
  1264. ----------------
  1265. Module for NeoMagic NM256AV/ZX chips
  1266. playback_bufsize
  1267. max playback frame size in kB (4-128kB)
  1268. capture_bufsize
  1269. max capture frame size in kB (4-128kB)
  1270. force_ac97
  1271. 0 or 1 (disabled by default)
  1272. buffer_top
  1273. specify buffer top address
  1274. use_cache
  1275. 0 or 1 (disabled by default)
  1276. vaio_hack
  1277. alias buffer_top=0x25a800
  1278. reset_workaround
  1279. enable AC97 RESET workaround for some laptops
  1280. reset_workaround2
  1281. enable extended AC97 RESET workaround for some other laptops
  1282. This module supports one chip and autoprobe.
  1283. The power-management is supported.
  1284. Note: on some notebooks the buffer address cannot be detected
  1285. automatically, or causes hang-up during initialization.
  1286. In such a case, specify the buffer top address explicitly via
  1287. the buffer_top option.
  1288. For example,
  1289. Sony F250: buffer_top=0x25a800
  1290. Sony F270: buffer_top=0x272800
  1291. The driver supports only ac97 codec. It's possible to force
  1292. to initialize/use ac97 although it's not detected. In such a
  1293. case, use ``force_ac97=1`` option - but *NO* guarantee whether it
  1294. works!
  1295. Note: The NM256 chip can be linked internally with non-AC97
  1296. codecs. This driver supports only the AC97 codec, and won't work
  1297. with machines with other (most likely CS423x or OPL3SAx) chips,
  1298. even though the device is detected in lspci. In such a case, try
  1299. other drivers, e.g. snd-cs4232 or snd-opl3sa2. Some has ISA-PnP
  1300. but some doesn't have ISA PnP. You'll need to specify ``isapnp=0``
  1301. and proper hardware parameters in the case without ISA PnP.
  1302. Note: some laptops need a workaround for AC97 RESET. For the
  1303. known hardware like Dell Latitude LS and Sony PCG-F305, this
  1304. workaround is enabled automatically. For other laptops with a
  1305. hard freeze, you can try ``reset_workaround=1`` option.
  1306. Note: Dell Latitude CSx laptops have another problem regarding
  1307. AC97 RESET. On these laptops, reset_workaround2 option is
  1308. turned on as default. This option is worth to try if the
  1309. previous reset_workaround option doesn't help.
  1310. Note: This driver is really crappy. It's a porting from the
  1311. OSS driver, which is a result of black-magic reverse engineering.
  1312. The detection of codec will fail if the driver is loaded *after*
  1313. X-server as described above. You might be able to force to load
  1314. the module, but it may result in hang-up. Hence, make sure that
  1315. you load this module *before* X if you encounter this kind of
  1316. problem.
  1317. Module snd-opl3sa2
  1318. ------------------
  1319. Module for Yamaha OPL3-SA2/SA3 sound cards.
  1320. isapnp
  1321. ISA PnP detection - 0 = disable, 1 = enable (default)
  1322. with ``isapnp=0``, the following options are available:
  1323. port
  1324. control port # for OPL3-SA chip (0x370)
  1325. sb_port
  1326. SB port # for OPL3-SA chip (0x220,0x240)
  1327. wss_port
  1328. WSS port # for OPL3-SA chip (0x530,0xe80,0xf40,0x604)
  1329. midi_port
  1330. port # for MPU-401 UART (0x300,0x330), -1 = disable
  1331. fm_port
  1332. FM port # for OPL3-SA chip (0x388), -1 = disable
  1333. irq
  1334. IRQ # for OPL3-SA chip (5,7,9,10)
  1335. dma1
  1336. first DMA # for Yamaha OPL3-SA chip (0,1,3)
  1337. dma2
  1338. second DMA # for Yamaha OPL3-SA chip (0,1,3), -1 = disable
  1339. This module supports multiple cards and ISA PnP. It does not support
  1340. autoprobe (if ISA PnP is not used) thus all ports must be specified!!!
  1341. The power-management is supported.
  1342. Module snd-opti92x-ad1848
  1343. -------------------------
  1344. Module for sound cards based on OPTi 82c92x and Analog Devices AD1848 chips.
  1345. Module works with OAK Mozart cards as well.
  1346. isapnp
  1347. ISA PnP detection - 0 = disable, 1 = enable (default)
  1348. with ``isapnp=0``, the following options are available:
  1349. port
  1350. port # for WSS chip (0x530,0xe80,0xf40,0x604)
  1351. mpu_port
  1352. port # for MPU-401 UART (0x300,0x310,0x320,0x330)
  1353. fm_port
  1354. port # for OPL3 device (0x388)
  1355. irq
  1356. IRQ # for WSS chip (5,7,9,10,11)
  1357. mpu_irq
  1358. IRQ # for MPU-401 UART (5,7,9,10)
  1359. dma1
  1360. first DMA # for WSS chip (0,1,3)
  1361. This module supports only one card, autoprobe and PnP.
  1362. Module snd-opti92x-cs4231
  1363. -------------------------
  1364. Module for sound cards based on OPTi 82c92x and Crystal CS4231 chips.
  1365. isapnp
  1366. ISA PnP detection - 0 = disable, 1 = enable (default)
  1367. with ``isapnp=0``, the following options are available:
  1368. port
  1369. port # for WSS chip (0x530,0xe80,0xf40,0x604)
  1370. mpu_port
  1371. port # for MPU-401 UART (0x300,0x310,0x320,0x330)
  1372. fm_port
  1373. port # for OPL3 device (0x388)
  1374. irq
  1375. IRQ # for WSS chip (5,7,9,10,11)
  1376. mpu_irq
  1377. IRQ # for MPU-401 UART (5,7,9,10)
  1378. dma1
  1379. first DMA # for WSS chip (0,1,3)
  1380. dma2
  1381. second DMA # for WSS chip (0,1,3)
  1382. This module supports only one card, autoprobe and PnP.
  1383. Module snd-opti93x
  1384. ------------------
  1385. Module for sound cards based on OPTi 82c93x chips.
  1386. isapnp
  1387. ISA PnP detection - 0 = disable, 1 = enable (default)
  1388. with ``isapnp=0``, the following options are available:
  1389. port
  1390. port # for WSS chip (0x530,0xe80,0xf40,0x604)
  1391. mpu_port
  1392. port # for MPU-401 UART (0x300,0x310,0x320,0x330)
  1393. fm_port
  1394. port # for OPL3 device (0x388)
  1395. irq
  1396. IRQ # for WSS chip (5,7,9,10,11)
  1397. mpu_irq
  1398. IRQ # for MPU-401 UART (5,7,9,10)
  1399. dma1
  1400. first DMA # for WSS chip (0,1,3)
  1401. dma2
  1402. second DMA # for WSS chip (0,1,3)
  1403. This module supports only one card, autoprobe and PnP.
  1404. Module snd-oxygen
  1405. -----------------
  1406. Module for sound cards based on the C-Media CMI8786/8787/8788 chip:
  1407. * Asound A-8788
  1408. * Asus Xonar DG/DGX
  1409. * AuzenTech X-Meridian
  1410. * AuzenTech X-Meridian 2G
  1411. * Bgears b-Enspirer
  1412. * Club3D Theatron DTS
  1413. * HT-Omega Claro (plus)
  1414. * HT-Omega Claro halo (XT)
  1415. * Kuroutoshikou CMI8787-HG2PCI
  1416. * Razer Barracuda AC-1
  1417. * Sondigo Inferno
  1418. * TempoTec HiFier Fantasia
  1419. * TempoTec HiFier Serenade
  1420. This module supports autoprobe and multiple cards.
  1421. Module snd-pcsp
  1422. ---------------
  1423. Module for internal PC-Speaker.
  1424. nopcm
  1425. Disable PC-Speaker PCM sound. Only beeps remain.
  1426. nforce_wa
  1427. enable NForce chipset workaround. Expect bad sound.
  1428. This module supports system beeps, some kind of PCM playback and
  1429. even a few mixer controls.
  1430. Module snd-pcxhr
  1431. ----------------
  1432. Module for Digigram PCXHR boards
  1433. This module supports multiple cards.
  1434. Module snd-portman2x4
  1435. ---------------------
  1436. Module for Midiman Portman 2x4 parallel port MIDI interface
  1437. This module supports multiple cards.
  1438. Module snd-powermac (on ppc only)
  1439. ---------------------------------
  1440. Module for PowerMac, iMac and iBook on-board soundchips
  1441. enable_beep
  1442. enable beep using PCM (enabled as default)
  1443. Module supports autoprobe a chip.
  1444. Note: the driver may have problems regarding endianness.
  1445. The power-management is supported.
  1446. Module snd-pxa2xx-ac97 (on arm only)
  1447. ------------------------------------
  1448. Module for AC97 driver for the Intel PXA2xx chip
  1449. For ARM architecture only.
  1450. The power-management is supported.
  1451. Module snd-riptide
  1452. ------------------
  1453. Module for Conexant Riptide chip
  1454. joystick_port
  1455. Joystick port # (default: 0x200)
  1456. mpu_port
  1457. MPU401 port # (default: 0x330)
  1458. opl3_port
  1459. OPL3 port # (default: 0x388)
  1460. This module supports multiple cards.
  1461. The driver requires the firmware loader support on kernel.
  1462. You need to install the firmware file ``riptide.hex`` to the standard
  1463. firmware path (e.g. /lib/firmware).
  1464. Module snd-rme32
  1465. ----------------
  1466. Module for RME Digi32, Digi32 Pro and Digi32/8 (Sek'd Prodif32,
  1467. Prodif96 and Prodif Gold) sound cards.
  1468. This module supports multiple cards.
  1469. Module snd-rme96
  1470. ----------------
  1471. Module for RME Digi96, Digi96/8 and Digi96/8 PRO/PAD/PST sound cards.
  1472. This module supports multiple cards.
  1473. Module snd-rme9652
  1474. ------------------
  1475. Module for RME Digi9652 (Hammerfall, Hammerfall-Light) sound cards.
  1476. precise_ptr
  1477. Enable precise pointer (doesn't work reliably). (default = 0)
  1478. This module supports multiple cards.
  1479. Note: snd-page-alloc module does the job which snd-hammerfall-mem
  1480. module did formerly. It will allocate the buffers in advance
  1481. when any RME9652 cards are found. To make the buffer
  1482. allocation sure, load snd-page-alloc module in the early
  1483. stage of boot sequence. See `Early Buffer Allocation`_
  1484. section.
  1485. Module snd-sa11xx-uda1341 (on arm only)
  1486. ---------------------------------------
  1487. Module for Philips UDA1341TS on Compaq iPAQ H3600 sound card.
  1488. Module supports only one card.
  1489. Module has no enable and index options.
  1490. The power-management is supported.
  1491. Module snd-sb8
  1492. --------------
  1493. Module for 8-bit SoundBlaster cards: SoundBlaster 1.0, SoundBlaster 2.0,
  1494. SoundBlaster Pro
  1495. port
  1496. port # for SB DSP chip (0x220,0x240,0x260)
  1497. irq
  1498. IRQ # for SB DSP chip (5,7,9,10)
  1499. dma8
  1500. DMA # for SB DSP chip (1,3)
  1501. This module supports multiple cards and autoprobe.
  1502. The power-management is supported.
  1503. Module snd-sb16 and snd-sbawe
  1504. -----------------------------
  1505. Module for 16-bit SoundBlaster cards: SoundBlaster 16 (PnP),
  1506. SoundBlaster AWE 32 (PnP), SoundBlaster AWE 64 PnP
  1507. mic_agc
  1508. Mic Auto-Gain-Control - 0 = disable, 1 = enable (default)
  1509. csp
  1510. ASP/CSP chip support - 0 = disable (default), 1 = enable
  1511. isapnp
  1512. ISA PnP detection - 0 = disable, 1 = enable (default)
  1513. with isapnp=0, the following options are available:
  1514. port
  1515. port # for SB DSP 4.x chip (0x220,0x240,0x260)
  1516. mpu_port
  1517. port # for MPU-401 UART (0x300,0x330), -1 = disable
  1518. awe_port
  1519. base port # for EMU8000 synthesizer (0x620,0x640,0x660) (snd-sbawe
  1520. module only)
  1521. irq
  1522. IRQ # for SB DSP 4.x chip (5,7,9,10)
  1523. dma8
  1524. 8-bit DMA # for SB DSP 4.x chip (0,1,3)
  1525. dma16
  1526. 16-bit DMA # for SB DSP 4.x chip (5,6,7)
  1527. This module supports multiple cards, autoprobe and ISA PnP.
  1528. Note: To use Vibra16X cards in 16-bit half duplex mode, you must
  1529. disable 16bit DMA with dma16 = -1 module parameter.
  1530. Also, all Sound Blaster 16 type cards can operate in 16-bit
  1531. half duplex mode through 8-bit DMA channel by disabling their
  1532. 16-bit DMA channel.
  1533. The power-management is supported.
  1534. Module snd-sc6000
  1535. -----------------
  1536. Module for Gallant SC-6000 soundcard and later models: SC-6600 and
  1537. SC-7000.
  1538. port
  1539. Port # (0x220 or 0x240)
  1540. mss_port
  1541. MSS Port # (0x530 or 0xe80)
  1542. irq
  1543. IRQ # (5,7,9,10,11)
  1544. mpu_irq
  1545. MPU-401 IRQ # (5,7,9,10) ,0 - no MPU-401 irq
  1546. dma
  1547. DMA # (1,3,0)
  1548. joystick
  1549. Enable gameport - 0 = disable (default), 1 = enable
  1550. This module supports multiple cards.
  1551. This card is also known as Audio Excel DSP 16 or Zoltrix AV302.
  1552. Module snd-sscape
  1553. -----------------
  1554. Module for ENSONIQ SoundScape cards.
  1555. port
  1556. Port # (PnP setup)
  1557. wss_port
  1558. WSS Port # (PnP setup)
  1559. irq
  1560. IRQ # (PnP setup)
  1561. mpu_irq
  1562. MPU-401 IRQ # (PnP setup)
  1563. dma
  1564. DMA # (PnP setup)
  1565. dma2
  1566. 2nd DMA # (PnP setup, -1 to disable)
  1567. joystick
  1568. Enable gameport - 0 = disable (default), 1 = enable
  1569. This module supports multiple cards.
  1570. The driver requires the firmware loader support on kernel.
  1571. Module snd-sun-amd7930 (on sparc only)
  1572. --------------------------------------
  1573. Module for AMD7930 sound chips found on Sparcs.
  1574. This module supports multiple cards.
  1575. Module snd-sun-cs4231 (on sparc only)
  1576. -------------------------------------
  1577. Module for CS4231 sound chips found on Sparcs.
  1578. This module supports multiple cards.
  1579. Module snd-sun-dbri (on sparc only)
  1580. -----------------------------------
  1581. Module for DBRI sound chips found on Sparcs.
  1582. This module supports multiple cards.
  1583. Module snd-wavefront
  1584. --------------------
  1585. Module for Turtle Beach Maui, Tropez and Tropez+ sound cards.
  1586. use_cs4232_midi
  1587. Use CS4232 MPU-401 interface
  1588. (inaccessibly located inside your computer)
  1589. isapnp
  1590. ISA PnP detection - 0 = disable, 1 = enable (default)
  1591. with isapnp=0, the following options are available:
  1592. cs4232_pcm_port
  1593. Port # for CS4232 PCM interface.
  1594. cs4232_pcm_irq
  1595. IRQ # for CS4232 PCM interface (5,7,9,11,12,15).
  1596. cs4232_mpu_port
  1597. Port # for CS4232 MPU-401 interface.
  1598. cs4232_mpu_irq
  1599. IRQ # for CS4232 MPU-401 interface (9,11,12,15).
  1600. ics2115_port
  1601. Port # for ICS2115
  1602. ics2115_irq
  1603. IRQ # for ICS2115
  1604. fm_port
  1605. FM OPL-3 Port #
  1606. dma1
  1607. DMA1 # for CS4232 PCM interface.
  1608. dma2
  1609. DMA2 # for CS4232 PCM interface.
  1610. The below are options for wavefront_synth features:
  1611. wf_raw
  1612. Assume that we need to boot the OS (default:no);
  1613. If yes, then during driver loading, the state of the board is
  1614. ignored, and we reset the board and load the firmware anyway.
  1615. fx_raw
  1616. Assume that the FX process needs help (default:yes);
  1617. If false, we'll leave the FX processor in whatever state it is
  1618. when the driver is loaded. The default is to download the
  1619. microprogram and associated coefficients to set it up for
  1620. "default" operation, whatever that means.
  1621. debug_default
  1622. Debug parameters for card initialization
  1623. wait_usecs
  1624. How long to wait without sleeping, usecs (default:150);
  1625. This magic number seems to give pretty optimal throughput
  1626. based on my limited experimentation.
  1627. If you want to play around with it and find a better value, be
  1628. my guest. Remember, the idea is to get a number that causes us
  1629. to just busy wait for as many WaveFront commands as possible,
  1630. without coming up with a number so large that we hog the whole
  1631. CPU.
  1632. Specifically, with this number, out of about 134,000 status
  1633. waits, only about 250 result in a sleep.
  1634. sleep_interval
  1635. How long to sleep when waiting for reply (default: 100)
  1636. sleep_tries
  1637. How many times to try sleeping during a wait (default: 50)
  1638. ospath
  1639. Pathname to processed ICS2115 OS firmware (default:wavefront.os);
  1640. The path name of the ISC2115 OS firmware. In the recent
  1641. version, it's handled via firmware loader framework, so it
  1642. must be installed in the proper path, typically,
  1643. /lib/firmware.
  1644. reset_time
  1645. How long to wait for a reset to take effect (default:2)
  1646. ramcheck_time
  1647. How many seconds to wait for the RAM test (default:20)
  1648. osrun_time
  1649. How many seconds to wait for the ICS2115 OS (default:10)
  1650. This module supports multiple cards and ISA PnP.
  1651. Note: the firmware file ``wavefront.os`` was located in the earlier
  1652. version in /etc. Now it's loaded via firmware loader, and
  1653. must be in the proper firmware path, such as /lib/firmware.
  1654. Copy (or symlink) the file appropriately if you get an error
  1655. regarding firmware downloading after upgrading the kernel.
  1656. Module snd-sonicvibes
  1657. ---------------------
  1658. Module for S3 SonicVibes PCI sound cards.
  1659. * PINE Schubert 32 PCI
  1660. reverb
  1661. Reverb Enable - 1 = enable, 0 = disable (default);
  1662. SoundCard must have onboard SRAM for this.
  1663. mge
  1664. Mic Gain Enable - 1 = enable, 0 = disable (default)
  1665. This module supports multiple cards and autoprobe.
  1666. Module snd-serial-u16550
  1667. ------------------------
  1668. Module for UART16550A serial MIDI ports.
  1669. port
  1670. port # for UART16550A chip
  1671. irq
  1672. IRQ # for UART16550A chip, -1 = poll mode
  1673. speed
  1674. speed in bauds (9600,19200,38400,57600,115200)
  1675. 38400 = default
  1676. base
  1677. base for divisor in bauds (57600,115200,230400,460800)
  1678. 115200 = default
  1679. outs
  1680. number of MIDI ports in a serial port (1-4)
  1681. 1 = default
  1682. adaptor
  1683. Type of adaptor.
  1684. 0 = Soundcanvas, 1 = MS-124T, 2 = MS-124W S/A,
  1685. 3 = MS-124W M/B, 4 = Generic
  1686. This module supports multiple cards. This module does not support autoprobe
  1687. thus the main port must be specified!!! Other options are optional.
  1688. Module snd-trident
  1689. ------------------
  1690. Module for Trident 4DWave DX/NX sound cards.
  1691. * Best Union Miss Melody 4DWave PCI
  1692. * HIS 4DWave PCI
  1693. * Warpspeed ONSpeed 4DWave PCI
  1694. * AzTech PCI 64-Q3D
  1695. * Addonics SV 750
  1696. * CHIC True Sound 4Dwave
  1697. * Shark Predator4D-PCI
  1698. * Jaton SonicWave 4D
  1699. * SiS SI7018 PCI Audio
  1700. * Hoontech SoundTrack Digital 4DWave NX
  1701. pcm_channels
  1702. max channels (voices) reserved for PCM
  1703. wavetable_size
  1704. max wavetable size in kB (4-?kb)
  1705. This module supports multiple cards and autoprobe.
  1706. The power-management is supported.
  1707. Module snd-ua101
  1708. ----------------
  1709. Module for the Edirol UA-101/UA-1000 audio/MIDI interfaces.
  1710. This module supports multiple devices, autoprobe and hotplugging.
  1711. Module snd-usb-audio
  1712. --------------------
  1713. Module for USB audio and USB MIDI devices.
  1714. vid
  1715. Vendor ID for the device (optional)
  1716. pid
  1717. Product ID for the device (optional)
  1718. nrpacks
  1719. Max. number of packets per URB (default: 8)
  1720. device_setup
  1721. Device specific magic number (optional);
  1722. Influence depends on the device
  1723. Default: 0x0000
  1724. ignore_ctl_error
  1725. Ignore any USB-controller regarding mixer interface (default: no)
  1726. autoclock
  1727. Enable auto-clock selection for UAC2 devices (default: yes)
  1728. quirk_alias
  1729. Quirk alias list, pass strings like ``0123abcd:5678beef``, which
  1730. applies the existing quirk for the device 5678:beef to a new
  1731. device 0123:abcd.
  1732. implicit_fb
  1733. Apply the generic implicit feedback sync mode. When this is set
  1734. and the playback stream sync mode is ASYNC, the driver tries to
  1735. tie an adjacent ASYNC capture stream as the implicit feedback
  1736. source. This is equivalent with quirk_flags bit 17.
  1737. use_vmalloc
  1738. Use vmalloc() for allocations of the PCM buffers (default: yes).
  1739. For architectures with non-coherent memory like ARM or MIPS, the
  1740. mmap access may give inconsistent results with vmalloc'ed
  1741. buffers. If mmap is used on such architectures, turn off this
  1742. option, so that the DMA-coherent buffers are allocated and used
  1743. instead.
  1744. delayed_register
  1745. The option is needed for devices that have multiple streams
  1746. defined in multiple USB interfaces. The driver may invoke
  1747. registrations multiple times (once per interface) and this may
  1748. lead to the insufficient device enumeration.
  1749. This option receives an array of strings, and you can pass
  1750. ID:INTERFACE like ``0123abcd:4`` for performing the delayed
  1751. registration to the given device. In this example, when a USB
  1752. device 0123:abcd is probed, the driver waits the registration
  1753. until the USB interface 4 gets probed.
  1754. The driver prints a message like "Found post-registration device
  1755. assignment: 1234abcd:04" for such a device, so that user can
  1756. notice the need.
  1757. quirk_flags
  1758. Contains the bit flags for various device specific workarounds.
  1759. Applied to the corresponding card index.
  1760. * bit 0: Skip reading sample rate for devices
  1761. * bit 1: Create Media Controller API entries
  1762. * bit 2: Allow alignment on audio sub-slot at transfer
  1763. * bit 3: Add length specifier to transfers
  1764. * bit 4: Start playback stream at first in implement feedback mode
  1765. * bit 5: Skip clock selector setup
  1766. * bit 6: Ignore errors from clock source search
  1767. * bit 7: Indicates ITF-USB DSD based DACs
  1768. * bit 8: Add a delay of 20ms at each control message handling
  1769. * bit 9: Add a delay of 1-2ms at each control message handling
  1770. * bit 10: Add a delay of 5-6ms at each control message handling
  1771. * bit 11: Add a delay of 50ms at each interface setup
  1772. * bit 12: Perform sample rate validations at probe
  1773. * bit 13: Disable runtime PM autosuspend
  1774. * bit 14: Ignore errors for mixer access
  1775. * bit 15: Support generic DSD raw U32_BE format
  1776. * bit 16: Set up the interface at first like UAC1
  1777. * bit 17: Apply the generic implicit feedback sync mode
  1778. * bit 18: Don't apply implicit feedback sync mode
  1779. This module supports multiple devices, autoprobe and hotplugging.
  1780. NB: ``nrpacks`` parameter can be modified dynamically via sysfs.
  1781. Don't put the value over 20. Changing via sysfs has no sanity
  1782. check.
  1783. NB: ``ignore_ctl_error=1`` may help when you get an error at accessing
  1784. the mixer element such as URB error -22. This happens on some
  1785. buggy USB device or the controller. This workaround corresponds to
  1786. the ``quirk_flags`` bit 14, too.
  1787. NB: ``quirk_alias`` option is provided only for testing / development.
  1788. If you want to have a proper support, contact to upstream for
  1789. adding the matching quirk in the driver code statically.
  1790. Ditto for ``quirk_flags``. If a device is known to require specific
  1791. workarounds, please report to the upstream.
  1792. Module snd-usb-caiaq
  1793. --------------------
  1794. Module for caiaq UB audio interfaces,
  1795. * Native Instruments RigKontrol2
  1796. * Native Instruments Kore Controller
  1797. * Native Instruments Audio Kontrol 1
  1798. * Native Instruments Audio 8 DJ
  1799. This module supports multiple devices, autoprobe and hotplugging.
  1800. Module snd-usb-usx2y
  1801. --------------------
  1802. Module for Tascam USB US-122, US-224 and US-428 devices.
  1803. This module supports multiple devices, autoprobe and hotplugging.
  1804. Note: you need to load the firmware via ``usx2yloader`` utility included
  1805. in alsa-tools and alsa-firmware packages.
  1806. Module snd-via82xx
  1807. ------------------
  1808. Module for AC'97 motherboards based on VIA 82C686A/686B, 8233, 8233A,
  1809. 8233C, 8235, 8237 (south) bridge.
  1810. mpu_port
  1811. 0x300,0x310,0x320,0x330, otherwise obtain BIOS setup
  1812. [VIA686A/686B only]
  1813. joystick
  1814. Enable joystick (default off) [VIA686A/686B only]
  1815. ac97_clock
  1816. AC'97 codec clock base (default 48000Hz)
  1817. dxs_support
  1818. support DXS channels, 0 = auto (default), 1 = enable, 2 = disable,
  1819. 3 = 48k only, 4 = no VRA, 5 = enable any sample rate and different
  1820. sample rates on different channels [VIA8233/C, 8235, 8237 only]
  1821. ac97_quirk
  1822. AC'97 workaround for strange hardware;
  1823. See `AC97 Quirk Option`_ section below.
  1824. This module supports one chip and autoprobe.
  1825. Note: on some SMP motherboards like MSI 694D the interrupts might
  1826. not be generated properly. In such a case, please try to
  1827. set the SMP (or MPS) version on BIOS to 1.1 instead of
  1828. default value 1.4. Then the interrupt number will be
  1829. assigned under 15. You might also upgrade your BIOS.
  1830. Note: VIA8233/5/7 (not VIA8233A) can support DXS (direct sound)
  1831. channels as the first PCM. On these channels, up to 4
  1832. streams can be played at the same time, and the controller
  1833. can perform sample rate conversion with separate rates for
  1834. each channel.
  1835. As default (``dxs_support = 0``), 48k fixed rate is chosen
  1836. except for the known devices since the output is often
  1837. noisy except for 48k on some mother boards due to the
  1838. bug of BIOS.
  1839. Please try once ``dxs_support=5`` and if it works on other
  1840. sample rates (e.g. 44.1kHz of mp3 playback), please let us
  1841. know the PCI subsystem vendor/device id's (output of
  1842. ``lspci -nv``).
  1843. If ``dxs_support=5`` does not work, try ``dxs_support=4``; if it
  1844. doesn't work too, try dxs_support=1. (dxs_support=1 is
  1845. usually for old motherboards. The correct implemented
  1846. board should work with 4 or 5.) If it still doesn't
  1847. work and the default setting is ok, ``dxs_support=3`` is the
  1848. right choice. If the default setting doesn't work at all,
  1849. try ``dxs_support=2`` to disable the DXS channels.
  1850. In any cases, please let us know the result and the
  1851. subsystem vendor/device ids. See `Links and Addresses`_
  1852. below.
  1853. Note: for the MPU401 on VIA823x, use snd-mpu401 driver
  1854. additionally. The mpu_port option is for VIA686 chips only.
  1855. The power-management is supported.
  1856. Module snd-via82xx-modem
  1857. ------------------------
  1858. Module for VIA82xx AC97 modem
  1859. ac97_clock
  1860. AC'97 codec clock base (default 48000Hz)
  1861. This module supports one card and autoprobe.
  1862. Note: The default index value of this module is -2, i.e. the first
  1863. slot is excluded.
  1864. The power-management is supported.
  1865. Module snd-virmidi
  1866. ------------------
  1867. Module for virtual rawmidi devices.
  1868. This module creates virtual rawmidi devices which communicate
  1869. to the corresponding ALSA sequencer ports.
  1870. midi_devs
  1871. MIDI devices # (1-4, default=4)
  1872. This module supports multiple cards.
  1873. Module snd-virtuoso
  1874. -------------------
  1875. Module for sound cards based on the Asus AV66/AV100/AV200 chips,
  1876. i.e., Xonar D1, DX, D2, D2X, DS, DSX, Essence ST (Deluxe),
  1877. Essence STX (II), HDAV1.3 (Deluxe), and HDAV1.3 Slim.
  1878. This module supports autoprobe and multiple cards.
  1879. Module snd-vx222
  1880. ----------------
  1881. Module for Digigram VX-Pocket VX222, V222 v2 and Mic cards.
  1882. mic
  1883. Enable Microphone on V222 Mic (NYI)
  1884. ibl
  1885. Capture IBL size. (default = 0, minimum size)
  1886. This module supports multiple cards.
  1887. When the driver is compiled as a module and the hotplug firmware
  1888. is supported, the firmware data is loaded via hotplug automatically.
  1889. Install the necessary firmware files in alsa-firmware package.
  1890. When no hotplug fw loader is available, you need to load the
  1891. firmware via vxloader utility in alsa-tools package. To invoke
  1892. vxloader automatically, add the following to /etc/modprobe.d/alsa.conf
  1893. ::
  1894. install snd-vx222 /sbin/modprobe --first-time -i snd-vx222\
  1895. && /usr/bin/vxloader
  1896. (for 2.2/2.4 kernels, add ``post-install /usr/bin/vxloader`` to
  1897. /etc/modules.conf, instead.)
  1898. IBL size defines the interrupts period for PCM. The smaller size
  1899. gives smaller latency but leads to more CPU consumption, too.
  1900. The size is usually aligned to 126. As default (=0), the smallest
  1901. size is chosen. The possible IBL values can be found in
  1902. /proc/asound/cardX/vx-status proc file.
  1903. The power-management is supported.
  1904. Module snd-vxpocket
  1905. -------------------
  1906. Module for Digigram VX-Pocket VX2 and 440 PCMCIA cards.
  1907. ibl
  1908. Capture IBL size. (default = 0, minimum size)
  1909. This module supports multiple cards. The module is compiled only when
  1910. PCMCIA is supported on kernel.
  1911. With the older 2.6.x kernel, to activate the driver via the card
  1912. manager, you'll need to set up /etc/pcmcia/vxpocket.conf. See the
  1913. sound/pcmcia/vx/vxpocket.c. 2.6.13 or later kernel requires no
  1914. longer require a config file.
  1915. When the driver is compiled as a module and the hotplug firmware
  1916. is supported, the firmware data is loaded via hotplug automatically.
  1917. Install the necessary firmware files in alsa-firmware package.
  1918. When no hotplug fw loader is available, you need to load the
  1919. firmware via vxloader utility in alsa-tools package.
  1920. About capture IBL, see the description of snd-vx222 module.
  1921. Note: snd-vxp440 driver is merged to snd-vxpocket driver since
  1922. ALSA 1.0.10.
  1923. The power-management is supported.
  1924. Module snd-ymfpci
  1925. -----------------
  1926. Module for Yamaha PCI chips (YMF72x, YMF74x & YMF75x).
  1927. mpu_port
  1928. 0x300,0x330,0x332,0x334, 0 (disable) by default,
  1929. 1 (auto-detect for YMF744/754 only)
  1930. fm_port
  1931. 0x388,0x398,0x3a0,0x3a8, 0 (disable) by default
  1932. 1 (auto-detect for YMF744/754 only)
  1933. joystick_port
  1934. 0x201,0x202,0x204,0x205, 0 (disable) by default,
  1935. 1 (auto-detect)
  1936. rear_switch
  1937. enable shared rear/line-in switch (bool)
  1938. This module supports autoprobe and multiple chips.
  1939. The power-management is supported.
  1940. Module snd-pdaudiocf
  1941. --------------------
  1942. Module for Sound Core PDAudioCF sound card.
  1943. The power-management is supported.
  1944. AC97 Quirk Option
  1945. =================
  1946. The ac97_quirk option is used to enable/override the workaround for
  1947. specific devices on drivers for on-board AC'97 controllers like
  1948. snd-intel8x0. Some hardware have swapped output pins between Master
  1949. and Headphone, or Surround (thanks to confusion of AC'97
  1950. specifications from version to version :-)
  1951. The driver provides the auto-detection of known problematic devices,
  1952. but some might be unknown or wrongly detected. In such a case, pass
  1953. the proper value with this option.
  1954. The following strings are accepted:
  1955. default
  1956. Don't override the default setting
  1957. none
  1958. Disable the quirk
  1959. hp_only
  1960. Bind Master and Headphone controls as a single control
  1961. swap_hp
  1962. Swap headphone and master controls
  1963. swap_surround
  1964. Swap master and surround controls
  1965. ad_sharing
  1966. For AD1985, turn on OMS bit and use headphone
  1967. alc_jack
  1968. For ALC65x, turn on the jack sense mode
  1969. inv_eapd
  1970. Inverted EAPD implementation
  1971. mute_led
  1972. Bind EAPD bit for turning on/off mute LED
  1973. For backward compatibility, the corresponding integer value -1, 0, ...
  1974. are accepted, too.
  1975. For example, if ``Master`` volume control has no effect on your device
  1976. but only ``Headphone`` does, pass ac97_quirk=hp_only module option.
  1977. Configuring Non-ISAPNP Cards
  1978. ============================
  1979. When the kernel is configured with ISA-PnP support, the modules
  1980. supporting the isapnp cards will have module options ``isapnp``.
  1981. If this option is set, *only* the ISA-PnP devices will be probed.
  1982. For probing the non ISA-PnP cards, you have to pass ``isapnp=0`` option
  1983. together with the proper i/o and irq configuration.
  1984. When the kernel is configured without ISA-PnP support, isapnp option
  1985. will be not built in.
  1986. Module Autoloading Support
  1987. ==========================
  1988. The ALSA drivers can be loaded automatically on demand by defining
  1989. module aliases. The string ``snd-card-%1`` is requested for ALSA native
  1990. devices where ``%i`` is sound card number from zero to seven.
  1991. To auto-load an ALSA driver for OSS services, define the string
  1992. ``sound-slot-%i`` where ``%i`` means the slot number for OSS, which
  1993. corresponds to the card index of ALSA. Usually, define this
  1994. as the same card module.
  1995. An example configuration for a single emu10k1 card is like below:
  1996. ::
  1997. ----- /etc/modprobe.d/alsa.conf
  1998. alias snd-card-0 snd-emu10k1
  1999. alias sound-slot-0 snd-emu10k1
  2000. ----- /etc/modprobe.d/alsa.conf
  2001. The available number of auto-loaded sound cards depends on the module
  2002. option ``cards_limit`` of snd module. As default it's set to 1.
  2003. To enable the auto-loading of multiple cards, specify the number of
  2004. sound cards in that option.
  2005. When multiple cards are available, it'd better to specify the index
  2006. number for each card via module option, too, so that the order of
  2007. cards is kept consistent.
  2008. An example configuration for two sound cards is like below:
  2009. ::
  2010. ----- /etc/modprobe.d/alsa.conf
  2011. # ALSA portion
  2012. options snd cards_limit=2
  2013. alias snd-card-0 snd-interwave
  2014. alias snd-card-1 snd-ens1371
  2015. options snd-interwave index=0
  2016. options snd-ens1371 index=1
  2017. # OSS/Free portion
  2018. alias sound-slot-0 snd-interwave
  2019. alias sound-slot-1 snd-ens1371
  2020. ----- /etc/modprobe.d/alsa.conf
  2021. In this example, the interwave card is always loaded as the first card
  2022. (index 0) and ens1371 as the second (index 1).
  2023. Alternative (and new) way to fixate the slot assignment is to use
  2024. ``slots`` option of snd module. In the case above, specify like the
  2025. following:
  2026. ::
  2027. options snd slots=snd-interwave,snd-ens1371
  2028. Then, the first slot (#0) is reserved for snd-interwave driver, and
  2029. the second (#1) for snd-ens1371. You can omit index option in each
  2030. driver if slots option is used (although you can still have them at
  2031. the same time as long as they don't conflict).
  2032. The slots option is especially useful for avoiding the possible
  2033. hot-plugging and the resultant slot conflict. For example, in the
  2034. case above again, the first two slots are already reserved. If any
  2035. other driver (e.g. snd-usb-audio) is loaded before snd-interwave or
  2036. snd-ens1371, it will be assigned to the third or later slot.
  2037. When a module name is given with '!', the slot will be given for any
  2038. modules but that name. For example, ``slots=!snd-pcsp`` will reserve
  2039. the first slot for any modules but snd-pcsp.
  2040. ALSA PCM devices to OSS devices mapping
  2041. =======================================
  2042. ::
  2043. /dev/snd/pcmC0D0[c|p] -> /dev/audio0 (/dev/audio) -> minor 4
  2044. /dev/snd/pcmC0D0[c|p] -> /dev/dsp0 (/dev/dsp) -> minor 3
  2045. /dev/snd/pcmC0D1[c|p] -> /dev/adsp0 (/dev/adsp) -> minor 12
  2046. /dev/snd/pcmC1D0[c|p] -> /dev/audio1 -> minor 4+16 = 20
  2047. /dev/snd/pcmC1D0[c|p] -> /dev/dsp1 -> minor 3+16 = 19
  2048. /dev/snd/pcmC1D1[c|p] -> /dev/adsp1 -> minor 12+16 = 28
  2049. /dev/snd/pcmC2D0[c|p] -> /dev/audio2 -> minor 4+32 = 36
  2050. /dev/snd/pcmC2D0[c|p] -> /dev/dsp2 -> minor 3+32 = 39
  2051. /dev/snd/pcmC2D1[c|p] -> /dev/adsp2 -> minor 12+32 = 44
  2052. The first number from ``/dev/snd/pcmC{X}D{Y}[c|p]`` expression means
  2053. sound card number and second means device number. The ALSA devices
  2054. have either ``c`` or ``p`` suffix indicating the direction, capture and
  2055. playback, respectively.
  2056. Please note that the device mapping above may be varied via the module
  2057. options of snd-pcm-oss module.
  2058. Proc interfaces (/proc/asound)
  2059. ==============================
  2060. /proc/asound/card#/pcm#[cp]/oss
  2061. -------------------------------
  2062. erase
  2063. erase all additional information about OSS applications
  2064. <app_name> <fragments> <fragment_size> [<options>]
  2065. <app_name>
  2066. name of application with (higher priority) or without path
  2067. <fragments>
  2068. number of fragments or zero if auto
  2069. <fragment_size>
  2070. size of fragment in bytes or zero if auto
  2071. <options>
  2072. optional parameters
  2073. disable
  2074. the application tries to open a pcm device for
  2075. this channel but does not want to use it.
  2076. (Cause a bug or mmap needs)
  2077. It's good for Quake etc...
  2078. direct
  2079. don't use plugins
  2080. block
  2081. force block mode (rvplayer)
  2082. non-block
  2083. force non-block mode
  2084. whole-frag
  2085. write only whole fragments (optimization affecting
  2086. playback only)
  2087. no-silence
  2088. do not fill silence ahead to avoid clicks
  2089. buggy-ptr
  2090. Returns the whitespace blocks in GETOPTR ioctl
  2091. instead of filled blocks
  2092. Example:
  2093. ::
  2094. echo "x11amp 128 16384" > /proc/asound/card0/pcm0p/oss
  2095. echo "squake 0 0 disable" > /proc/asound/card0/pcm0c/oss
  2096. echo "rvplayer 0 0 block" > /proc/asound/card0/pcm0p/oss
  2097. Early Buffer Allocation
  2098. =======================
  2099. Some drivers (e.g. hdsp) require the large contiguous buffers, and
  2100. sometimes it's too late to find such spaces when the driver module is
  2101. actually loaded due to memory fragmentation. You can pre-allocate the
  2102. PCM buffers by loading snd-page-alloc module and write commands to its
  2103. proc file in prior, for example, in the early boot stage like
  2104. ``/etc/init.d/*.local`` scripts.
  2105. Reading the proc file /proc/drivers/snd-page-alloc shows the current
  2106. usage of page allocation. In writing, you can send the following
  2107. commands to the snd-page-alloc driver:
  2108. * add VENDOR DEVICE MASK SIZE BUFFERS
  2109. VENDOR and DEVICE are PCI vendor and device IDs. They take
  2110. integer numbers (0x prefix is needed for the hex).
  2111. MASK is the PCI DMA mask. Pass 0 if not restricted.
  2112. SIZE is the size of each buffer to allocate. You can pass
  2113. k and m suffix for KB and MB. The max number is 16MB.
  2114. BUFFERS is the number of buffers to allocate. It must be greater
  2115. than 0. The max number is 4.
  2116. * erase
  2117. This will erase the all pre-allocated buffers which are not in
  2118. use.
  2119. Links and Addresses
  2120. ===================
  2121. ALSA project homepage
  2122. http://www.alsa-project.org
  2123. Kernel Bugzilla
  2124. http://bugzilla.kernel.org/
  2125. ALSA Developers ML
  2126. mailto:alsa-devel@alsa-project.org
  2127. alsa-info.sh script
  2128. https://www.alsa-project.org/alsa-info.sh