ALSA-Configuration.txt 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596
  1. Advanced Linux Sound Architecture - Driver
  2. ==========================================
  3. Configuration guide
  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 OSS,
  8. you don't have to choose any of the OSS modules.
  9. Enable "OSS API emulation" (CONFIG_SND_OSSEMUL) and both OSS mixer and
  10. 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. Creating ALSA devices
  21. =====================
  22. This depends on your distribution, but normally you use the /dev/MAKEDEV
  23. script to create the necessary device nodes. On some systems you use a
  24. script named 'snddevices'.
  25. Module parameters
  26. =================
  27. The user can load modules with options. If the module supports more than
  28. one card and you have more than one card of the same type then you can
  29. specify multiple values for the option separated by commas.
  30. Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
  31. Module snd
  32. ----------
  33. The core ALSA module. It is used by all ALSA card drivers.
  34. It takes the following options which have global effects.
  35. major - major number for sound driver
  36. - Default: 116
  37. cards_limit
  38. - limiting card index for auto-loading (1-8)
  39. - Default: 1
  40. - For auto-loading more than one card, specify this
  41. option together with snd-card-X aliases.
  42. device_mode
  43. - permission mask for dynamic sound device filesystem
  44. - This is available only when DEVFS is enabled
  45. - Default: 0666
  46. - E.g.: device_mode=0660
  47. Module snd-pcm-oss
  48. ------------------
  49. The PCM OSS emulation module.
  50. This module takes options which change the mapping of devices.
  51. dsp_map - PCM device number maps assigned to the 1st OSS device.
  52. - Default: 0
  53. adsp_map - PCM device number maps assigned to the 2st OSS device.
  54. - Default: 1
  55. nonblock_open
  56. - Don't block opening busy PCM devices.
  57. For example, when dsp_map=2, /dev/dsp will be mapped to PCM #2 of
  58. the card #0. Similarly, when adsp_map=0, /dev/adsp will be mapped
  59. to PCM #0 of the card #0.
  60. For changing the second or later card, specify the option with
  61. commas, such like "dsp_map=0,1".
  62. nonblock_open option is used to change the behavior of the PCM
  63. regarding opening the device. When this option is non-zero,
  64. opening a busy OSS PCM device won't be blocked but return
  65. immediately with EAGAIN (just like O_NONBLOCK flag).
  66. Module snd-rawmidi
  67. ------------------
  68. This module takes options which change the mapping of devices.
  69. similar to those of the snd-pcm-oss module.
  70. midi_map - MIDI device number maps assigned to the 1st OSS device.
  71. - Default: 0
  72. amidi_map - MIDI device number maps assigned to the 2st OSS device.
  73. - Default: 1
  74. Common parameters for top sound card modules
  75. --------------------------------------------
  76. Each of top level sound card module takes the following options.
  77. index - index (slot #) of sound card
  78. - Values: 0 through 7 or negative
  79. - If nonnegative, assign that index number
  80. - if negative, interpret as a bitmask of permissible
  81. indices; the first free permitted index is assigned
  82. - Default: -1
  83. id - card ID (identifier or name)
  84. - Can be up to 15 characters long
  85. - Default: the card type
  86. - A directory by this name is created under /proc/asound/
  87. containing information about the card
  88. - This ID can be used instead of the index number in
  89. identifying the card
  90. enable - enable card
  91. - Default: enabled, for PCI and ISA PnP cards
  92. Module snd-ad1816a
  93. ------------------
  94. Module for sound cards based on Analog Devices AD1816A/AD1815 ISA chips.
  95. port - port # for AD1816A chip (PnP setup)
  96. mpu_port - port # for MPU-401 UART (PnP setup)
  97. fm_port - port # for OPL3 (PnP setup)
  98. irq - IRQ # for AD1816A chip (PnP setup)
  99. mpu_irq - IRQ # for MPU-401 UART (PnP setup)
  100. dma1 - first DMA # for AD1816A chip (PnP setup)
  101. dma2 - second DMA # for AD1816A chip (PnP setup)
  102. Module supports up to 8 cards, autoprobe and PnP.
  103. Module snd-ad1848
  104. -----------------
  105. Module for sound cards based on AD1848/AD1847/CS4248 ISA chips.
  106. port - port # for AD1848 chip
  107. irq - IRQ # for AD1848 chip
  108. dma1 - DMA # for AD1848 chip (0,1,3)
  109. Module supports up to 8 cards. This module does not support autoprobe
  110. thus main port must be specified!!! Other ports are optional.
  111. Module snd-ali5451
  112. ------------------
  113. Module for ALi M5451 PCI chip.
  114. pcm_channels - Number of hardware channels assigned for PCM
  115. spdif - Support SPDIF I/O
  116. - Default: disabled
  117. Module supports autoprobe and multiple chips (max 8).
  118. The power-management is supported.
  119. Module snd-als100
  120. -----------------
  121. Module for sound cards based on Avance Logic ALS100/ALS120 ISA chips.
  122. port - port # for ALS100 (SB16) chip (PnP setup)
  123. irq - IRQ # for ALS100 (SB16) chip (PnP setup)
  124. dma8 - 8-bit DMA # for ALS100 (SB16) chip (PnP setup)
  125. dma16 - 16-bit DMA # for ALS100 (SB16) chip (PnP setup)
  126. mpu_port - port # for MPU-401 UART (PnP setup)
  127. mpu_irq - IRQ # for MPU-401 (PnP setup)
  128. fm_port - port # for OPL3 FM (PnP setup)
  129. Module supports up to 8 cards, autoprobe and PnP.
  130. Module snd-als4000
  131. ------------------
  132. Module for sound cards based on Avance Logic ALS4000 PCI chip.
  133. joystick_port - port # for legacy joystick support.
  134. 0 = disabled (default), 1 = auto-detect
  135. Module supports up to 8 cards, autoprobe and PnP.
  136. Module snd-atiixp
  137. -----------------
  138. Module for ATI IXP 150/200/250 AC97 controllers.
  139. ac97_clock - AC'97 clock (defalut = 48000)
  140. ac97_quirk - AC'97 workaround for strange hardware
  141. See the description of intel8x0 module for details.
  142. spdif_aclink - S/PDIF transfer over AC-link (default = 1)
  143. This module supports up to 8 cards and autoprobe.
  144. Module snd-atiixp-modem
  145. -----------------------
  146. Module for ATI IXP 150/200/250 AC97 modem controllers.
  147. Module supports up to 8 cards.
  148. Note: The default index value of this module is -2, i.e. the first
  149. slot is excluded.
  150. Module snd-au8810, snd-au8820, snd-au8830
  151. -----------------------------------------
  152. Module for Aureal Vortex, Vortex2 and Advantage device.
  153. pcifix - Control PCI workarounds
  154. 0 = Disable all workarounds
  155. 1 = Force the PCI latency of the Aureal card to 0xff
  156. 2 = Force the Extend PCI#2 Internal Master for Efficient
  157. Handling of Dummy Requests on the VIA KT133 AGP Bridge
  158. 3 = Force both settings
  159. 255 = Autodetect what is required (default)
  160. This module supports all ADB PCM channels, ac97 mixer, SPDIF, hardware
  161. EQ, mpu401, gameport. A3D and wavetable support are still in development.
  162. Development and reverse engineering work is being coordinated at
  163. http://savannah.nongnu.org/projects/openvortex/
  164. SPDIF output has a copy of the AC97 codec output, unless you use the
  165. "spdif" pcm device, which allows raw data passthru.
  166. The hardware EQ hardware and SPDIF is only present in the Vortex2 and
  167. Advantage.
  168. Note: Some ALSA mixer applicactions don't handle the SPDIF samplerate
  169. control correctly. If you have problems regarding this, try
  170. another ALSA compliant mixer (alsamixer works).
  171. Module snd-azt2320
  172. ------------------
  173. Module for sound cards based on Aztech System AZT2320 ISA chip (PnP only).
  174. port - port # for AZT2320 chip (PnP setup)
  175. wss_port - port # for WSS (PnP setup)
  176. mpu_port - port # for MPU-401 UART (PnP setup)
  177. fm_port - FM port # for AZT2320 chip (PnP setup)
  178. irq - IRQ # for AZT2320 (WSS) chip (PnP setup)
  179. mpu_irq - IRQ # for MPU-401 UART (PnP setup)
  180. dma1 - 1st DMA # for AZT2320 (WSS) chip (PnP setup)
  181. dma2 - 2nd DMA # for AZT2320 (WSS) chip (PnP setup)
  182. Module supports up to 8 cards, PnP and autoprobe.
  183. Module snd-azt3328
  184. ------------------
  185. Module for sound cards based on Aztech AZF3328 PCI chip.
  186. joystick - Enable joystick (default off)
  187. Module supports up to 8 cards.
  188. Module snd-bt87x
  189. ----------------
  190. Module for video cards based on Bt87x chips.
  191. digital_rate - Override the default digital rate (Hz)
  192. load_all - Load the driver even if the card model isn't known
  193. Module supports up to 8 cards.
  194. Note: The default index value of this module is -2, i.e. the first
  195. slot is excluded.
  196. Module snd-ca0106
  197. -----------------
  198. Module for Creative Audigy LS and SB Live 24bit
  199. Module supports up to 8 cards.
  200. Module snd-cmi8330
  201. ------------------
  202. Module for sound cards based on C-Media CMI8330 ISA chips.
  203. wssport - port # for CMI8330 chip (WSS)
  204. wssirq - IRQ # for CMI8330 chip (WSS)
  205. wssdma - first DMA # for CMI8330 chip (WSS)
  206. sbport - port # for CMI8330 chip (SB16)
  207. sbirq - IRQ # for CMI8330 chip (SB16)
  208. sbdma8 - 8bit DMA # for CMI8330 chip (SB16)
  209. sbdma16 - 16bit DMA # for CMI8330 chip (SB16)
  210. Module supports up to 8 cards and autoprobe.
  211. Module snd-cmipci
  212. -----------------
  213. Module for C-Media CMI8338 and 8738 PCI sound cards.
  214. mpu_port - 0x300,0x310,0x320,0x330, 0 = disable (default)
  215. fm_port - 0x388 (default), 0 = disable (default)
  216. soft_ac3 - Sofware-conversion of raw SPDIF packets (model 033 only)
  217. (default = 1)
  218. joystick_port - Joystick port address (0 = disable, 1 = auto-detect)
  219. Module supports autoprobe and multiple chips (max 8).
  220. Module snd-cs4231
  221. -----------------
  222. Module for sound cards based on CS4231 ISA chips.
  223. port - port # for CS4231 chip
  224. mpu_port - port # for MPU-401 UART (optional), -1 = disable
  225. irq - IRQ # for CS4231 chip
  226. mpu_irq - IRQ # for MPU-401 UART
  227. dma1 - first DMA # for CS4231 chip
  228. dma2 - second DMA # for CS4231 chip
  229. Module supports up to 8 cards. This module does not support autoprobe
  230. thus main port must be specified!!! Other ports are optional.
  231. The power-management is supported.
  232. Module snd-cs4232
  233. -----------------
  234. Module for sound cards based on CS4232/CS4232A ISA chips.
  235. port - port # for CS4232 chip (PnP setup - 0x534)
  236. cport - control port # for CS4232 chip (PnP setup - 0x120,0x210,0xf00)
  237. mpu_port - port # for MPU-401 UART (PnP setup - 0x300), -1 = disable
  238. fm_port - FM port # for CS4232 chip (PnP setup - 0x388), -1 = disable
  239. irq - IRQ # for CS4232 chip (5,7,9,11,12,15)
  240. mpu_irq - IRQ # for MPU-401 UART (9,11,12,15)
  241. dma1 - first DMA # for CS4232 chip (0,1,3)
  242. dma2 - second DMA # for Yamaha CS4232 chip (0,1,3), -1 = disable
  243. isapnp - ISA PnP detection - 0 = disable, 1 = enable (default)
  244. Module supports up to 8 cards. This module does not support autoprobe
  245. thus main port must be specified!!! Other ports are optional.
  246. The power-management is supported.
  247. Module snd-cs4236
  248. -----------------
  249. Module for sound cards based on CS4235/CS4236/CS4236B/CS4237B/
  250. CS4238B/CS4239 ISA chips.
  251. port - port # for CS4236 chip (PnP setup - 0x534)
  252. cport - control port # for CS4236 chip (PnP setup - 0x120,0x210,0xf00)
  253. mpu_port - port # for MPU-401 UART (PnP setup - 0x300), -1 = disable
  254. fm_port - FM port # for CS4236 chip (PnP setup - 0x388), -1 = disable
  255. irq - IRQ # for CS4236 chip (5,7,9,11,12,15)
  256. mpu_irq - IRQ # for MPU-401 UART (9,11,12,15)
  257. dma1 - first DMA # for CS4236 chip (0,1,3)
  258. dma2 - second DMA # for CS4236 chip (0,1,3), -1 = disable
  259. isapnp - ISA PnP detection - 0 = disable, 1 = enable (default)
  260. Module supports up to 8 cards. This module does not support autoprobe
  261. (if ISA PnP is not used) thus main port and control port must be
  262. specified!!! Other ports are optional.
  263. The power-management is supported.
  264. Module snd-cs4281
  265. -----------------
  266. Module for Cirrus Logic CS4281 soundchip.
  267. dual_codec - Secondary codec ID (0 = disable, default)
  268. Module supports up to 8 cards.
  269. The power-management is supported.
  270. Module snd-cs46xx
  271. -----------------
  272. Module for PCI sound cards based on CS4610/CS4612/CS4614/CS4615/CS4622/
  273. CS4624/CS4630/CS4280 PCI chips.
  274. external_amp - Force to enable external amplifer.
  275. thinkpad - Force to enable Thinkpad's CLKRUN control.
  276. mmap_valid - Support OSS mmap mode (default = 0).
  277. Module supports up to 8 cards and autoprobe.
  278. Usually external amp and CLKRUN controls are detected automatically
  279. from PCI sub vendor/device ids. If they don't work, give the options
  280. above explicitly.
  281. The power-management is supported.
  282. Module snd-dt019x
  283. -----------------
  284. Module for Diamond Technologies DT-019X / Avance Logic ALS-007 (PnP
  285. only)
  286. port - Port # (PnP setup)
  287. mpu_port - Port # for MPU-401 (PnP setup)
  288. fm_port - Port # for FM OPL-3 (PnP setup)
  289. irq - IRQ # (PnP setup)
  290. mpu_irq - IRQ # for MPU-401 (PnP setup)
  291. dma8 - DMA # (PnP setup)
  292. Module supports up to 8 cards. This module is enabled only with
  293. ISA PnP support.
  294. Module snd-dummy
  295. ----------------
  296. Module for the dummy sound card. This "card" doesn't do any output
  297. or input, but you may use this module for any application which
  298. requires a sound card (like RealPlayer).
  299. Module snd-emu10k1
  300. ------------------
  301. Module for EMU10K1/EMU10k2 based PCI sound cards.
  302. * Sound Blaster Live!
  303. * Sound Blaster PCI 512
  304. * Emu APS (partially supported)
  305. * Sound Blaster Audigy
  306. extin - bitmap of available external inputs for FX8010 (see bellow)
  307. extout - bitmap of available external outputs for FX8010 (see bellow)
  308. seq_ports - allocated sequencer ports (4 by default)
  309. max_synth_voices - limit of voices used for wavetable (64 by default)
  310. max_buffer_size - specifies the maximum size of wavetable/pcm buffers
  311. given in MB unit. Default value is 128.
  312. enable_ir - enable IR
  313. Module supports up to 8 cards and autoprobe.
  314. Input & Output configurations [extin/extout]
  315. * Creative Card wo/Digital out [0x0003/0x1f03]
  316. * Creative Card w/Digital out [0x0003/0x1f0f]
  317. * Creative Card w/Digital CD in [0x000f/0x1f0f]
  318. * Creative Card wo/Digital out + LiveDrive [0x3fc3/0x1fc3]
  319. * Creative Card w/Digital out + LiveDrive [0x3fc3/0x1fcf]
  320. * Creative Card w/Digital CD in + LiveDrive [0x3fcf/0x1fcf]
  321. * Creative Card wo/Digital out + Digital I/O 2 [0x0fc3/0x1f0f]
  322. * Creative Card w/Digital out + Digital I/O 2 [0x0fc3/0x1f0f]
  323. * Creative Card w/Digital CD in + Digital I/O 2 [0x0fcf/0x1f0f]
  324. * Creative Card 5.1/w Digital out + LiveDrive [0x3fc3/0x1fff]
  325. * Creative Card 5.1 (c) 2003 [0x3fc3/0x7cff]
  326. * Creative Card all ins and outs [0x3fff/0x7fff]
  327. Module snd-emu10k1x
  328. -------------------
  329. Module for Creative Emu10k1X (SB Live Dell OEM version)
  330. Module supports up to 8 cards.
  331. Module snd-ens1370
  332. ------------------
  333. Module for Ensoniq AudioPCI ES1370 PCI sound cards.
  334. * SoundBlaster PCI 64
  335. * SoundBlaster PCI 128
  336. joystick - Enable joystick (default off)
  337. Module supports up to 8 cards and autoprobe.
  338. Module snd-ens1371
  339. ------------------
  340. Module for Ensoniq AudioPCI ES1371 PCI sound cards.
  341. * SoundBlaster PCI 64
  342. * SoundBlaster PCI 128
  343. * SoundBlaster Vibra PCI
  344. joystick_port - port # for joystick (0x200,0x208,0x210,0x218),
  345. 0 = disable (default), 1 = auto-detect
  346. Module supports up to 8 cards and autoprobe.
  347. Module snd-es968
  348. ----------------
  349. Module for sound cards based on ESS ES968 chip (PnP only).
  350. port - port # for ES968 (SB8) chip (PnP setup)
  351. irq - IRQ # for ES968 (SB8) chip (PnP setup)
  352. dma1 - DMA # for ES968 (SB8) chip (PnP setup)
  353. Module supports up to 8 cards, PnP and autoprobe.
  354. Module snd-es1688
  355. -----------------
  356. Module for ESS AudioDrive ES-1688 and ES-688 sound cards.
  357. port - port # for ES-1688 chip (0x220,0x240,0x260)
  358. mpu_port - port # for MPU-401 port (0x300,0x310,0x320,0x330), -1 = disable (default)
  359. irq - IRQ # for ES-1688 chip (5,7,9,10)
  360. mpu_irq - IRQ # for MPU-401 port (5,7,9,10)
  361. dma8 - DMA # for ES-1688 chip (0,1,3)
  362. Module supports up to 8 cards and autoprobe (without MPU-401 port).
  363. Module snd-es18xx
  364. -----------------
  365. Module for ESS AudioDrive ES-18xx sound cards.
  366. port - port # for ES-18xx chip (0x220,0x240,0x260)
  367. mpu_port - port # for MPU-401 port (0x300,0x310,0x320,0x330), -1 = disable (default)
  368. fm_port - port # for FM (optional, not used)
  369. irq - IRQ # for ES-18xx chip (5,7,9,10)
  370. dma1 - first DMA # for ES-18xx chip (0,1,3)
  371. dma2 - first DMA # for ES-18xx chip (0,1,3)
  372. isapnp - ISA PnP detection - 0 = disable, 1 = enable (default)
  373. Module supports up to 8 cards ISA PnP and autoprobe (without MPU-401 port
  374. if native ISA PnP routines are not used).
  375. When dma2 is equal with dma1, the driver works as half-duplex.
  376. The power-management is supported.
  377. Module snd-es1938
  378. -----------------
  379. Module for sound cards based on ESS Solo-1 (ES1938,ES1946) chips.
  380. Module supports up to 8 cards and autoprobe.
  381. Module snd-es1968
  382. -----------------
  383. Module for sound cards based on ESS Maestro-1/2/2E (ES1968/ES1978) chips.
  384. total_bufsize - total buffer size in kB (1-4096kB)
  385. pcm_substreams_p - playback channels (1-8, default=2)
  386. pcm_substreams_c - capture channels (1-8, default=0)
  387. clock - clock (0 = auto-detection)
  388. use_pm - support the power-management (0 = off, 1 = on,
  389. 2 = auto (default))
  390. enable_mpu - enable MPU401 (0 = off, 1 = on, 2 = auto (default))
  391. joystick - enable joystick (default off)
  392. Module supports up to 8 cards and autoprobe.
  393. The power-management is supported.
  394. Module snd-fm801
  395. ----------------
  396. Module for ForteMedia FM801 based PCI sound cards.
  397. tea575x_tuner - Enable TEA575x tuner
  398. - 1 = MediaForte 256-PCS
  399. - 2 = MediaForte 256-PCPR
  400. - 3 = MediaForte 64-PCR
  401. - High 16-bits are video (radio) device number + 1
  402. - example: 0x10002 (MediaForte 256-PCPR, device 1)
  403. Module supports up to 8 cards and autoprobe.
  404. Module snd-gusclassic
  405. ---------------------
  406. Module for Gravis UltraSound Classic sound card.
  407. port - port # for GF1 chip (0x220,0x230,0x240,0x250,0x260)
  408. irq - IRQ # for GF1 chip (3,5,9,11,12,15)
  409. dma1 - DMA # for GF1 chip (1,3,5,6,7)
  410. dma2 - DMA # for GF1 chip (1,3,5,6,7,-1=disable)
  411. joystick_dac - 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
  412. voices - GF1 voices limit (14-32)
  413. pcm_voices - reserved PCM voices
  414. Module supports up to 8 cards and autoprobe.
  415. Module snd-gusextreme
  416. ---------------------
  417. Module for Gravis UltraSound Extreme (Synergy ViperMax) sound card.
  418. port - port # for ES-1688 chip (0x220,0x230,0x240,0x250,0x260)
  419. gf1_port - port # for GF1 chip (0x210,0x220,0x230,0x240,0x250,0x260,0x270)
  420. mpu_port - port # for MPU-401 port (0x300,0x310,0x320,0x330), -1 = disable
  421. irq - IRQ # for ES-1688 chip (5,7,9,10)
  422. gf1_irq - IRQ # for GF1 chip (3,5,9,11,12,15)
  423. mpu_irq - IRQ # for MPU-401 port (5,7,9,10)
  424. dma8 - DMA # for ES-1688 chip (0,1,3)
  425. dma1 - DMA # for GF1 chip (1,3,5,6,7)
  426. joystick_dac - 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
  427. voices - GF1 voices limit (14-32)
  428. pcm_voices - reserved PCM voices
  429. Module supports up to 8 cards and autoprobe (without MPU-401 port).
  430. Module snd-gusmax
  431. -----------------
  432. Module for Gravis UltraSound MAX sound card.
  433. port - port # for GF1 chip (0x220,0x230,0x240,0x250,0x260)
  434. irq - IRQ # for GF1 chip (3,5,9,11,12,15)
  435. dma1 - DMA # for GF1 chip (1,3,5,6,7)
  436. dma2 - DMA # for GF1 chip (1,3,5,6,7,-1=disable)
  437. joystick_dac - 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
  438. voices - GF1 voices limit (14-32)
  439. pcm_voices - reserved PCM voices
  440. Module supports up to 8 cards and autoprobe.
  441. Module snd-hda-intel
  442. --------------------
  443. Module for Intel HD Audio (ICH6, ICH6M, ICH7), ATI SB450,
  444. VIA VT8251/VT8237A
  445. model - force the model name
  446. position_fix - Fix DMA pointer (0 = FIFO size, 1 = none, 2 = POSBUF)
  447. Module supports up to 8 cards.
  448. Each codec may have a model table for different configurations.
  449. If your machine isn't listed there, the default (usually minimal)
  450. configuration is set up. You can pass "model=<name>" option to
  451. specify a certain model in such a case. There are different
  452. models depending on the codec chip.
  453. Model name Description
  454. ---------- -----------
  455. ALC880
  456. 3stack 3-jack in back and a headphone out
  457. 3stack-digout 3-jack in back, a HP out and a SPDIF out
  458. 5stack 5-jack in back, 2-jack in front
  459. 5stack-digout 5-jack in back, 2-jack in front, a SPDIF out
  460. 6stack 6-jack in back, 2-jack in front
  461. 6stack-digout 6-jack with a SPDIF out
  462. w810 3-jack
  463. z71v 3-jack (HP shared SPDIF)
  464. asus 3-jack
  465. uniwill 3-jack
  466. F1734 2-jack
  467. test for testing/debugging purpose, almost all controls can be
  468. adjusted. Appearing only when compiled with
  469. $CONFIG_SND_DEBUG=y
  470. CMI9880
  471. minimal 3-jack in back
  472. min_fp 3-jack in back, 2-jack in front
  473. full 6-jack in back, 2-jack in front
  474. full_dig 6-jack in back, 2-jack in front, SPDIF I/O
  475. allout 5-jack in back, 2-jack in front, SPDIF out
  476. auto auto-config reading BIOS (default)
  477. Note 2: If you get click noises on output, try the module option
  478. position_fix=1 or 2. position_fix=1 will use the SD_LPIB
  479. register value without FIFO size correction as the current
  480. DMA pointer. position_fix=2 will make the driver to use
  481. the position buffer instead of reading SD_LPIB register.
  482. (Usually SD_LPLIB register is more accurate than the
  483. position buffer.)
  484. Module snd-hdsp
  485. ---------------
  486. Module for RME Hammerfall DSP audio interface(s)
  487. Module supports up to 8 cards.
  488. Note: The firmware data can be automatically loaded via hotplug
  489. when CONFIG_FW_LOADER is set. Otherwise, you need to load
  490. the firmware via hdsploader utility included in alsa-tools
  491. package.
  492. The firmware data is found in alsa-firmware package.
  493. Note: snd-page-alloc module does the job which snd-hammerfall-mem
  494. module did formerly. It will allocate the buffers in advance
  495. when any HDSP cards are found. To make the buffer
  496. allocation sure, load snd-page-alloc module in the early
  497. stage of boot sequence. See "Early Buffer Allocation"
  498. section.
  499. Module snd-hdspm
  500. ----------------
  501. Module for RME HDSP MADI board.
  502. precise_ptr - Enable precise pointer, or disable.
  503. line_outs_monitor - Send playback streams to analog outs by default.
  504. enable_monitor - Enable Analog Out on Channel 63/64 by default.
  505. See hdspm.txt for details.
  506. Module snd-ice1712
  507. ------------------
  508. Module for Envy24 (ICE1712) based PCI sound cards.
  509. * MidiMan M Audio Delta 1010
  510. * MidiMan M Audio Delta 1010LT
  511. * MidiMan M Audio Delta DiO 2496
  512. * MidiMan M Audio Delta 66
  513. * MidiMan M Audio Delta 44
  514. * MidiMan M Audio Delta 410
  515. * MidiMan M Audio Audiophile 2496
  516. * TerraTec EWS 88MT
  517. * TerraTec EWS 88D
  518. * TerraTec EWX 24/96
  519. * TerraTec DMX 6Fire
  520. * TerraTec Phase 88
  521. * Hoontech SoundTrack DSP 24
  522. * Hoontech SoundTrack DSP 24 Value
  523. * Hoontech SoundTrack DSP 24 Media 7.1
  524. * Event Electronics, EZ8
  525. * Digigram VX442
  526. * Lionstracs, Mediastaton
  527. model - Use the given board model, one of the following:
  528. delta1010, dio2496, delta66, delta44, audiophile, delta410,
  529. delta1010lt, vx442, ewx2496, ews88mt, ews88mt_new, ews88d,
  530. dmx6fire, dsp24, dsp24_value, dsp24_71, ez8,
  531. phase88, mediastation
  532. omni - Omni I/O support for MidiMan M-Audio Delta44/66
  533. cs8427_timeout - reset timeout for the CS8427 chip (S/PDIF transciever)
  534. in msec resolution, default value is 500 (0.5 sec)
  535. Module supports up to 8 cards and autoprobe. Note: The consumer part
  536. is not used with all Envy24 based cards (for example in the MidiMan Delta
  537. serie).
  538. Note: The supported board is detected by reading EEPROM or PCI
  539. SSID (if EEPROM isn't available). You can override the
  540. model by passing "model" module option in case that the
  541. driver isn't configured properly or you want to try another
  542. type for testing.
  543. Module snd-ice1724
  544. ------------------
  545. Module for Envy24HT (VT/ICE1724), Envy24PT (VT1720) based PCI sound cards.
  546. * MidiMan M Audio Revolution 7.1
  547. * AMP Ltd AUDIO2000
  548. * TerraTec Aureon 5.1 Sky
  549. * TerraTec Aureon 7.1 Space
  550. * TerraTec Aureon 7.1 Universe
  551. * TerraTec Phase 22
  552. * TerraTec Phase 28
  553. * AudioTrak Prodigy 7.1
  554. * AudioTrak Prodigy 192
  555. * Pontis MS300
  556. * Albatron K8X800 Pro II
  557. * Chaintech ZNF3-150
  558. * Chaintech ZNF3-250
  559. * Chaintech 9CJS
  560. * Chaintech AV-710
  561. * Shuttle SN25P
  562. model - Use the given board model, one of the following:
  563. revo71, amp2000, prodigy71, prodigy192, aureon51,
  564. aureon71, universe, k8x800, phase22, phase28, ms300,
  565. av710
  566. Module supports up to 8 cards and autoprobe.
  567. Note: The supported board is detected by reading EEPROM or PCI
  568. SSID (if EEPROM isn't available). You can override the
  569. model by passing "model" module option in case that the
  570. driver isn't configured properly or you want to try another
  571. type for testing.
  572. Module snd-intel8x0
  573. -------------------
  574. Module for AC'97 motherboards from Intel and compatibles.
  575. * Intel i810/810E, i815, i820, i830, i84x, MX440
  576. * SiS 7012 (SiS 735)
  577. * NVidia NForce, NForce2
  578. * AMD AMD768, AMD8111
  579. * ALi m5455
  580. ac97_clock - AC'97 codec clock base (0 = auto-detect)
  581. ac97_quirk - AC'97 workaround for strange hardware
  582. The following strings are accepted:
  583. default = don't override the default setting
  584. disable = disable the quirk
  585. hp_only = use headphone control as master
  586. swap_hp = swap headphone and master controls
  587. swap_surround = swap master and surround controls
  588. ad_sharing = for AD1985, turn on OMS bit and use headphone
  589. alc_jack = for ALC65x, turn on the jack sense mode
  590. inv_eapd = inverted EAPD implementation
  591. mute_led = bind EAPD bit for turning on/off mute LED
  592. For backward compatibility, the corresponding integer
  593. value -1, 0, ... are accepted, too.
  594. buggy_irq - Enable workaround for buggy interrupts on some
  595. motherboards (default off)
  596. Module supports autoprobe and multiple bus-master chips (max 8).
  597. Note: the latest driver supports auto-detection of chip clock.
  598. if you still encounter too fast playback, specify the clock
  599. explicitly via the module option "ac97_clock=41194".
  600. Joystick/MIDI ports are not supported by this driver. If your
  601. motherboard has these devices, use the ns558 or snd-mpu401
  602. modules, respectively.
  603. The ac97_quirk option is used to enable/override the workaround
  604. for specific devices. Some hardware have swapped output pins
  605. between Master and Headphone, or Surround. The driver provides
  606. the auto-detection of known problematic devices, but some might
  607. be unknown or wrongly detected. In such a case, pass the proper
  608. value with this option.
  609. The power-management is supported.
  610. Module snd-intel8x0m
  611. --------------------
  612. Module for Intel ICH (i8x0) chipset MC97 modems.
  613. ac97_clock - AC'97 codec clock base (0 = auto-detect)
  614. This module supports up to 8 cards and autoprobe.
  615. Note: The default index value of this module is -2, i.e. the first
  616. slot is excluded.
  617. Module snd-interwave
  618. --------------------
  619. Module for Gravis UltraSound PnP, Dynasonic 3-D/Pro, STB Sound Rage 32
  620. and other sound cards based on AMD InterWave (tm) chip.
  621. port - port # for InterWave chip (0x210,0x220,0x230,0x240,0x250,0x260)
  622. irq - IRQ # for InterWave chip (3,5,9,11,12,15)
  623. dma1 - DMA # for InterWave chip (0,1,3,5,6,7)
  624. dma2 - DMA # for InterWave chip (0,1,3,5,6,7,-1=disable)
  625. joystick_dac - 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
  626. midi - 1 = MIDI UART enable, 0 = MIDI UART disable (default)
  627. pcm_voices - reserved PCM voices for the synthesizer (default 2)
  628. effect - 1 = InterWave effects enable (default 0);
  629. requires 8 voices
  630. Module supports up to 8 cards, autoprobe and ISA PnP.
  631. Module snd-interwave-stb
  632. ------------------------
  633. Module for UltraSound 32-Pro (sound card from STB used by Compaq)
  634. and other sound cards based on AMD InterWave (tm) chip with TEA6330T
  635. circuit for extended control of bass, treble and master volume.
  636. port - port # for InterWave chip (0x210,0x220,0x230,0x240,0x250,0x260)
  637. port_tc - tone control (i2c bus) port # for TEA6330T chip (0x350,0x360,0x370,0x380)
  638. irq - IRQ # for InterWave chip (3,5,9,11,12,15)
  639. dma1 - DMA # for InterWave chip (0,1,3,5,6,7)
  640. dma2 - DMA # for InterWave chip (0,1,3,5,6,7,-1=disable)
  641. joystick_dac - 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
  642. midi - 1 = MIDI UART enable, 0 = MIDI UART disable (default)
  643. pcm_voices - reserved PCM voices for the synthesizer (default 2)
  644. effect - 1 = InterWave effects enable (default 0);
  645. requires 8 voices
  646. Module supports up to 8 cards, autoprobe and ISA PnP.
  647. Module snd-korg1212
  648. -------------------
  649. Module for Korg 1212 IO PCI card
  650. Module supports up to 8 cards.
  651. Module snd-maestro3
  652. -------------------
  653. Module for Allegro/Maestro3 chips
  654. external_amp - enable external amp (enabled by default)
  655. amp_gpio - GPIO pin number for external amp (0-15) or
  656. -1 for default pin (8 for allegro, 1 for
  657. others)
  658. Module supports autoprobe and multiple chips (max 8).
  659. Note: the binding of amplifier is dependent on hardware.
  660. If there is no sound even though all channels are unmuted, try to
  661. specify other gpio connection via amp_gpio option.
  662. For example, a Panasonic notebook might need "amp_gpio=0x0d"
  663. option.
  664. The power-management is supported.
  665. Module snd-mixart
  666. -----------------
  667. Module for Digigram miXart8 sound cards.
  668. Module supports multiple cards.
  669. Note: One miXart8 board will be represented as 4 alsa cards.
  670. See MIXART.txt for details.
  671. When the driver is compiled as a module and the hotplug firmware
  672. is supported, the firmware data is loaded via hotplug automatically.
  673. Install the necessary firmware files in alsa-firmware package.
  674. When no hotplug fw loader is available, you need to load the
  675. firmware via mixartloader utility in alsa-tools package.
  676. Module snd-mpu401
  677. -----------------
  678. Module for MPU-401 UART devices.
  679. port - port number or -1 (disable)
  680. irq - IRQ number or -1 (disable)
  681. pnp - PnP detection - 0 = disable, 1 = enable (default)
  682. Module supports multiple devices (max 8) and PnP.
  683. Module snd-mtpav
  684. ----------------
  685. Module for MOTU MidiTimePiece AV multiport MIDI (on the parallel
  686. port).
  687. port - I/O port # for MTPAV (0x378,0x278, default=0x378)
  688. irq - IRQ # for MTPAV (7,5, default=7)
  689. hwports - number of supported hardware ports, default=8.
  690. Module supports only 1 card. This module has no enable option.
  691. Module snd-nm256
  692. ----------------
  693. Module for NeoMagic NM256AV/ZX chips
  694. playback_bufsize - max playback frame size in kB (4-128kB)
  695. capture_bufsize - max capture frame size in kB (4-128kB)
  696. force_ac97 - 0 or 1 (disabled by default)
  697. buffer_top - specify buffer top address
  698. use_cache - 0 or 1 (disabled by default)
  699. vaio_hack - alias buffer_top=0x25a800
  700. reset_workaround - enable AC97 RESET workaround for some laptops
  701. Module supports autoprobe and multiple chips (max 8).
  702. The power-management is supported.
  703. Note: on some notebooks the buffer address cannot be detected
  704. automatically, or causes hang-up during initialization.
  705. In such a case, specify the buffer top address explicity via
  706. buffer_top option.
  707. For example,
  708. Sony F250: buffer_top=0x25a800
  709. Sony F270: buffer_top=0x272800
  710. The driver supports only ac97 codec. It's possible to force
  711. to initialize/use ac97 although it's not detected. In such a
  712. case, use force_ac97=1 option - but *NO* guarantee whether it
  713. works!
  714. Note: The NM256 chip can be linked internally with non-AC97
  715. codecs. This driver supports only the AC97 codec, and won't work
  716. with machines with other (most likely CS423x or OPL3SAx) chips,
  717. even though the device is detected in lspci. In such a case, try
  718. other drivers, e.g. snd-cs4232 or snd-opl3sa2. Some has ISA-PnP
  719. but some doesn't have ISA PnP. You'll need to speicfy isapnp=0
  720. and proper hardware parameters in the case without ISA PnP.
  721. Note: some laptops need a workaround for AC97 RESET. For the
  722. known hardware like Dell Latitude LS and Sony PCG-F305, this
  723. workaround is enabled automatically. For other laptops with a
  724. hard freeze, you can try reset_workaround=1 option.
  725. Note: This driver is really crappy. It's a porting from the
  726. OSS driver, which is a result of black-magic reverse engineering.
  727. The detection of codec will fail if the driver is loaded *after*
  728. X-server as described above. You might be able to force to load
  729. the module, but it may result in hang-up. Hence, make sure that
  730. you load this module *before* X if you encounter this kind of
  731. problem.
  732. Module snd-opl3sa2
  733. ------------------
  734. Module for Yamaha OPL3-SA2/SA3 sound cards.
  735. port - control port # for OPL3-SA chip (0x370)
  736. sb_port - SB port # for OPL3-SA chip (0x220,0x240)
  737. wss_port - WSS port # for OPL3-SA chip (0x530,0xe80,0xf40,0x604)
  738. midi_port - port # for MPU-401 UART (0x300,0x330), -1 = disable
  739. fm_port - FM port # for OPL3-SA chip (0x388), -1 = disable
  740. irq - IRQ # for OPL3-SA chip (5,7,9,10)
  741. dma1 - first DMA # for Yamaha OPL3-SA chip (0,1,3)
  742. dma2 - second DMA # for Yamaha OPL3-SA chip (0,1,3), -1 = disable
  743. isapnp - ISA PnP detection - 0 = disable, 1 = enable (default)
  744. Module supports up to 8 cards and ISA PnP. This module does not support
  745. autoprobe (if ISA PnP is not used) thus all ports must be specified!!!
  746. The power-management is supported.
  747. Module snd-opti92x-ad1848
  748. -------------------------
  749. Module for sound cards based on OPTi 82c92x and Analog Devices AD1848 chips.
  750. Module works with OAK Mozart cards as well.
  751. port - port # for WSS chip (0x530,0xe80,0xf40,0x604)
  752. mpu_port - port # for MPU-401 UART (0x300,0x310,0x320,0x330)
  753. fm_port - port # for OPL3 device (0x388)
  754. irq - IRQ # for WSS chip (5,7,9,10,11)
  755. mpu_irq - IRQ # for MPU-401 UART (5,7,9,10)
  756. dma1 - first DMA # for WSS chip (0,1,3)
  757. This module supports only one card, autoprobe and PnP.
  758. Module snd-opti92x-cs4231
  759. -------------------------
  760. Module for sound cards based on OPTi 82c92x and Crystal CS4231 chips.
  761. port - port # for WSS chip (0x530,0xe80,0xf40,0x604)
  762. mpu_port - port # for MPU-401 UART (0x300,0x310,0x320,0x330)
  763. fm_port - port # for OPL3 device (0x388)
  764. irq - IRQ # for WSS chip (5,7,9,10,11)
  765. mpu_irq - IRQ # for MPU-401 UART (5,7,9,10)
  766. dma1 - first DMA # for WSS chip (0,1,3)
  767. dma2 - second DMA # for WSS chip (0,1,3)
  768. This module supports only one card, autoprobe and PnP.
  769. Module snd-opti93x
  770. ------------------
  771. Module for sound cards based on OPTi 82c93x chips.
  772. port - port # for WSS chip (0x530,0xe80,0xf40,0x604)
  773. mpu_port - port # for MPU-401 UART (0x300,0x310,0x320,0x330)
  774. fm_port - port # for OPL3 device (0x388)
  775. irq - IRQ # for WSS chip (5,7,9,10,11)
  776. mpu_irq - IRQ # for MPU-401 UART (5,7,9,10)
  777. dma1 - first DMA # for WSS chip (0,1,3)
  778. dma2 - second DMA # for WSS chip (0,1,3)
  779. This module supports only one card, autoprobe and PnP.
  780. Module snd-powermac (on ppc only)
  781. ---------------------------------
  782. Module for PowerMac, iMac and iBook on-board soundchips
  783. enable_beep - enable beep using PCM (enabled as default)
  784. Module supports autoprobe a chip.
  785. Note: the driver may have problems regarding endianess.
  786. The power-management is supported.
  787. Module snd-pxa2xx-ac97 (on arm only)
  788. ------------------------------------
  789. Module for AC97 driver for the Intel PXA2xx chip
  790. For ARM architecture only.
  791. Module snd-rme32
  792. ----------------
  793. Module for RME Digi32, Digi32 Pro and Digi32/8 (Sek'd Prodif32,
  794. Prodif96 and Prodif Gold) sound cards.
  795. Module supports up to 8 cards.
  796. Module snd-rme96
  797. ----------------
  798. Module for RME Digi96, Digi96/8 and Digi96/8 PRO/PAD/PST sound cards.
  799. Module supports up to 8 cards.
  800. Module snd-rme9652
  801. ------------------
  802. Module for RME Digi9652 (Hammerfall, Hammerfall-Light) sound cards.
  803. precise_ptr - Enable precise pointer (doesn't work reliably).
  804. (default = 0)
  805. Module supports up to 8 cards.
  806. Note: snd-page-alloc module does the job which snd-hammerfall-mem
  807. module did formerly. It will allocate the buffers in advance
  808. when any RME9652 cards are found. To make the buffer
  809. allocation sure, load snd-page-alloc module in the early
  810. stage of boot sequence. See "Early Buffer Allocation"
  811. section.
  812. Module snd-sa11xx-uda1341 (on arm only)
  813. ---------------------------------------
  814. Module for Philips UDA1341TS on Compaq iPAQ H3600 sound card.
  815. Module supports only one card.
  816. Module has no enable and index options.
  817. Module snd-sb8
  818. --------------
  819. Module for 8-bit SoundBlaster cards: SoundBlaster 1.0,
  820. SoundBlaster 2.0,
  821. SoundBlaster Pro
  822. port - port # for SB DSP chip (0x220,0x240,0x260)
  823. irq - IRQ # for SB DSP chip (5,7,9,10)
  824. dma8 - DMA # for SB DSP chip (1,3)
  825. Module supports up to 8 cards and autoprobe.
  826. Module snd-sb16 and snd-sbawe
  827. -----------------------------
  828. Module for 16-bit SoundBlaster cards: SoundBlaster 16 (PnP),
  829. SoundBlaster AWE 32 (PnP),
  830. SoundBlaster AWE 64 PnP
  831. port - port # for SB DSP 4.x chip (0x220,0x240,0x260)
  832. mpu_port - port # for MPU-401 UART (0x300,0x330), -1 = disable
  833. awe_port - base port # for EMU8000 synthesizer (0x620,0x640,0x660)
  834. (snd-sbawe module only)
  835. irq - IRQ # for SB DSP 4.x chip (5,7,9,10)
  836. dma8 - 8-bit DMA # for SB DSP 4.x chip (0,1,3)
  837. dma16 - 16-bit DMA # for SB DSP 4.x chip (5,6,7)
  838. mic_agc - Mic Auto-Gain-Control - 0 = disable, 1 = enable (default)
  839. csp - ASP/CSP chip support - 0 = disable (default), 1 = enable
  840. isapnp - ISA PnP detection - 0 = disable, 1 = enable (default)
  841. Module supports up to 8 cards, autoprobe and ISA PnP.
  842. Note: To use Vibra16X cards in 16-bit half duplex mode, you must
  843. disable 16bit DMA with dma16 = -1 module parameter.
  844. Also, all Sound Blaster 16 type cards can operate in 16-bit
  845. half duplex mode through 8-bit DMA channel by disabling their
  846. 16-bit DMA channel.
  847. Module snd-sgalaxy
  848. ------------------
  849. Module for Aztech Sound Galaxy sound card.
  850. sbport - Port # for SB16 interface (0x220,0x240)
  851. wssport - Port # for WSS interface (0x530,0xe80,0xf40,0x604)
  852. irq - IRQ # (7,9,10,11)
  853. dma1 - DMA #
  854. Module supports up to 8 cards.
  855. Module snd-sscape
  856. -----------------
  857. Module for ENSONIQ SoundScape PnP cards.
  858. port - Port # (PnP setup)
  859. irq - IRQ # (PnP setup)
  860. mpu_irq - MPU-401 IRQ # (PnP setup)
  861. dma - DMA # (PnP setup)
  862. Module supports up to 8 cards. ISA PnP must be enabled.
  863. You need sscape_ctl tool in alsa-tools package for loading
  864. the microcode.
  865. Module snd-sun-amd7930 (on sparc only)
  866. --------------------------------------
  867. Module for AMD7930 sound chips found on Sparcs.
  868. Module supports up to 8 cards.
  869. Module snd-sun-cs4231 (on sparc only)
  870. -------------------------------------
  871. Module for CS4231 sound chips found on Sparcs.
  872. Module supports up to 8 cards.
  873. Module snd-sun-dbri (on sparc only)
  874. -----------------------------------
  875. Module for DBRI sound chips found on Sparcs.
  876. Module supports up to 8 cards.
  877. Module snd-wavefront
  878. --------------------
  879. Module for Turtle Beach Maui, Tropez and Tropez+ sound cards.
  880. cs4232_pcm_port - Port # for CS4232 PCM interface.
  881. cs4232_pcm_irq - IRQ # for CS4232 PCM interface (5,7,9,11,12,15).
  882. cs4232_mpu_port - Port # for CS4232 MPU-401 interface.
  883. cs4232_mpu_irq - IRQ # for CS4232 MPU-401 interface (9,11,12,15).
  884. use_cs4232_midi - Use CS4232 MPU-401 interface
  885. (inaccessibly located inside your computer)
  886. ics2115_port - Port # for ICS2115
  887. ics2115_irq - IRQ # for ICS2115
  888. fm_port - FM OPL-3 Port #
  889. dma1 - DMA1 # for CS4232 PCM interface.
  890. dma2 - DMA2 # for CS4232 PCM interface.
  891. isapnp - ISA PnP detection - 0 = disable, 1 = enable (default)
  892. Module supports up to 8 cards and ISA PnP.
  893. Module snd-sonicvibes
  894. ---------------------
  895. Module for S3 SonicVibes PCI sound cards.
  896. * PINE Schubert 32 PCI
  897. reverb - Reverb Enable - 1 = enable, 0 = disable (default)
  898. - SoundCard must have onboard SRAM for this.
  899. mge - Mic Gain Enable - 1 = enable, 0 = disable (default)
  900. Module supports up to 8 cards and autoprobe.
  901. Module snd-serial-u16550
  902. ------------------------
  903. Module for UART16550A serial MIDI ports.
  904. port - port # for UART16550A chip
  905. irq - IRQ # for UART16550A chip, -1 = poll mode
  906. speed - speed in bauds (9600,19200,38400,57600,115200)
  907. 38400 = default
  908. base - base for divisor in bauds (57600,115200,230400,460800)
  909. 115200 = default
  910. outs - number of MIDI ports in a serial port (1-4)
  911. 1 = default
  912. adaptor - Type of adaptor.
  913. 0 = Soundcanvas, 1 = MS-124T, 2 = MS-124W S/A,
  914. 3 = MS-124W M/B, 4 = Generic
  915. Module supports up to 8 cards. This module does not support autoprobe
  916. thus the main port must be specified!!! Other options are optional.
  917. Module snd-trident
  918. ------------------
  919. Module for Trident 4DWave DX/NX sound cards.
  920. * Best Union Miss Melody 4DWave PCI
  921. * HIS 4DWave PCI
  922. * Warpspeed ONSpeed 4DWave PCI
  923. * AzTech PCI 64-Q3D
  924. * Addonics SV 750
  925. * CHIC True Sound 4Dwave
  926. * Shark Predator4D-PCI
  927. * Jaton SonicWave 4D
  928. pcm_channels - max channels (voices) reserved for PCM
  929. wavetable_size - max wavetable size in kB (4-?kb)
  930. Module supports up to 8 cards and autoprobe.
  931. The power-management is supported.
  932. Module snd-usb-audio
  933. --------------------
  934. Module for USB audio and USB MIDI devices.
  935. vid - Vendor ID for the device (optional)
  936. pid - Product ID for the device (optional)
  937. This module supports up to 8 cards, autoprobe and hotplugging.
  938. Module snd-usb-usx2y
  939. --------------------
  940. Module for Tascam USB US-122, US-224 and US-428 devices.
  941. This module supports up to 8 cards, autoprobe and hotplugging.
  942. Note: you need to load the firmware via usx2yloader utility included
  943. in alsa-tools and alsa-firmware packages.
  944. Module snd-via82xx
  945. ------------------
  946. Module for AC'97 motherboards based on VIA 82C686A/686B, 8233,
  947. 8233A, 8233C, 8235, 8237 (south) bridge.
  948. mpu_port - 0x300,0x310,0x320,0x330, otherwise obtain BIOS setup
  949. [VIA686A/686B only]
  950. joystick - Enable joystick (default off) [VIA686A/686B only]
  951. ac97_clock - AC'97 codec clock base (default 48000Hz)
  952. dxs_support - support DXS channels,
  953. 0 = auto (default), 1 = enable, 2 = disable,
  954. 3 = 48k only, 4 = no VRA, 5 = enable any sample
  955. rate and different sample rates on different
  956. channels
  957. [VIA8233/C, 8235, 8237 only]
  958. ac97_quirk - AC'97 workaround for strange hardware
  959. See the description of intel8x0 module for details.
  960. Module supports autoprobe and multiple bus-master chips (max 8).
  961. Note: on some SMP motherboards like MSI 694D the interrupts might
  962. not be generated properly. In such a case, please try to
  963. set the SMP (or MPS) version on BIOS to 1.1 instead of
  964. default value 1.4. Then the interrupt number will be
  965. assigned under 15. You might also upgrade your BIOS.
  966. Note: VIA8233/5/7 (not VIA8233A) can support DXS (direct sound)
  967. channels as the first PCM. On these channels, up to 4
  968. streams can be played at the same time, and the controller
  969. can perform sample rate conversion with separate rates for
  970. each channel.
  971. As default (dxs_support = 0), 48k fixed rate is chosen
  972. except for the known devices since the output is often
  973. noisy except for 48k on some mother boards due to the
  974. bug of BIOS.
  975. Please try once dxs_support=5 and if it works on other
  976. sample rates (e.g. 44.1kHz of mp3 playback), please let us
  977. know the PCI subsystem vendor/device id's (output of
  978. "lspci -nv").
  979. If dxs_support=5 does not work, try dxs_support=4; if it
  980. doesn't work too, try dxs_support=1. (dxs_support=1 is
  981. usually for old motherboards. The correct implementated
  982. board should work with 4 or 5.) If it still doesn't
  983. work and the default setting is ok, dxs_support=3 is the
  984. right choice. If the default setting doesn't work at all,
  985. try dxs_support=2 to disable the DXS channels.
  986. In any cases, please let us know the result and the
  987. subsystem vendor/device ids.
  988. Note: for the MPU401 on VIA823x, use snd-mpu401 driver
  989. additonally. The mpu_port option is for VIA686 chips only.
  990. Module snd-via82xx-modem
  991. ------------------------
  992. Module for VIA82xx AC97 modem
  993. ac97_clock - AC'97 codec clock base (default 48000Hz)
  994. Module supports up to 8 cards.
  995. Note: The default index value of this module is -2, i.e. the first
  996. slot is excluded.
  997. Module snd-virmidi
  998. ------------------
  999. Module for virtual rawmidi devices.
  1000. This module creates virtual rawmidi devices which communicate
  1001. to the corresponding ALSA sequencer ports.
  1002. midi_devs - MIDI devices # (1-8, default=4)
  1003. Module supports up to 8 cards.
  1004. Module snd-vx222
  1005. ----------------
  1006. Module for Digigram VX-Pocket VX222, V222 v2 and Mic cards.
  1007. mic - Enable Microphone on V222 Mic (NYI)
  1008. ibl - Capture IBL size. (default = 0, minimum size)
  1009. Module supports up to 8 cards.
  1010. When the driver is compiled as a module and the hotplug firmware
  1011. is supported, the firmware data is loaded via hotplug automatically.
  1012. Install the necessary firmware files in alsa-firmware package.
  1013. When no hotplug fw loader is available, you need to load the
  1014. firmware via vxloader utility in alsa-tools package. To invoke
  1015. vxloader automatically, add the following to /etc/modprobe.conf
  1016. install snd-vx222 /sbin/modprobe --first-time -i snd-vx222 && /usr/bin/vxloader
  1017. (for 2.2/2.4 kernels, add "post-install /usr/bin/vxloader" to
  1018. /etc/modules.conf, instead.)
  1019. IBL size defines the interrupts period for PCM. The smaller size
  1020. gives smaller latency but leads to more CPU consumption, too.
  1021. The size is usually aligned to 126. As default (=0), the smallest
  1022. size is chosen. The possible IBL values can be found in
  1023. /proc/asound/cardX/vx-status proc file.
  1024. Module snd-vxpocket
  1025. -------------------
  1026. Module for Digigram VX-Pocket VX2 and 440 PCMCIA cards.
  1027. ibl - Capture IBL size. (default = 0, minimum size)
  1028. Module supports up to 8 cards. The module is compiled only when
  1029. PCMCIA is supported on kernel.
  1030. To activate the driver via the card manager, you'll need to set
  1031. up /etc/pcmcia/vxpocket.conf. See the sound/pcmcia/vx/vxpocket.c.
  1032. When the driver is compiled as a module and the hotplug firmware
  1033. is supported, the firmware data is loaded via hotplug automatically.
  1034. Install the necessary firmware files in alsa-firmware package.
  1035. When no hotplug fw loader is available, you need to load the
  1036. firmware via vxloader utility in alsa-tools package.
  1037. About capture IBL, see the description of snd-vx222 module.
  1038. Note: the driver is build only when CONFIG_ISA is set.
  1039. Module snd-ymfpci
  1040. -----------------
  1041. Module for Yamaha PCI chips (YMF72x, YMF74x & YMF75x).
  1042. mpu_port - 0x300,0x330,0x332,0x334, 0 (disable) by default,
  1043. 1 (auto-detect for YMF744/754 only)
  1044. fm_port - 0x388,0x398,0x3a0,0x3a8, 0 (disable) by default
  1045. 1 (auto-detect for YMF744/754 only)
  1046. joystick_port - 0x201,0x202,0x204,0x205, 0 (disable) by default,
  1047. 1 (auto-detect)
  1048. rear_switch - enable shared rear/line-in switch (bool)
  1049. Module supports autoprobe and multiple chips (max 8).
  1050. The power-management is supported.
  1051. Module snd-pdaudiocf
  1052. --------------------
  1053. Module for Sound Core PDAudioCF sound card.
  1054. Note: the driver is build only when CONFIG_ISA is set.
  1055. Configuring Non-ISAPNP Cards
  1056. ============================
  1057. When the kernel is configured with ISA-PnP support, the modules
  1058. supporting the isapnp cards will have module options "isapnp".
  1059. If this option is set, *only* the ISA-PnP devices will be probed.
  1060. For probing the non ISA-PnP cards, you have to pass "isapnp=0" option
  1061. together with the proper i/o and irq configuration.
  1062. When the kernel is configured without ISA-PnP support, isapnp option
  1063. will be not built in.
  1064. Module Autoloading Support
  1065. ==========================
  1066. The ALSA drivers can be loaded automatically on demand by defining
  1067. module aliases. The string 'snd-card-%1' is requested for ALSA native
  1068. devices where %i is sound card number from zero to seven.
  1069. To auto-load an ALSA driver for OSS services, define the string
  1070. 'sound-slot-%i' where %i means the slot number for OSS, which
  1071. corresponds to the card index of ALSA. Usually, define this
  1072. as the the same card module.
  1073. An example configuration for a single emu10k1 card is like below:
  1074. ----- /etc/modprobe.conf
  1075. alias snd-card-0 snd-emu10k1
  1076. alias sound-slot-0 snd-emu10k1
  1077. ----- /etc/modprobe.conf
  1078. The available number of auto-loaded sound cards depends on the module
  1079. option "cards_limit" of snd module. As default it's set to 1.
  1080. To enable the auto-loading of multiple cards, specify the number of
  1081. sound cards in that option.
  1082. When multiple cards are available, it'd better to specify the index
  1083. number for each card via module option, too, so that the order of
  1084. cards is kept consistent.
  1085. An example configuration for two sound cards is like below:
  1086. ----- /etc/modprobe.conf
  1087. # ALSA portion
  1088. options snd cards_limit=2
  1089. alias snd-card-0 snd-interwave
  1090. alias snd-card-1 snd-ens1371
  1091. options snd-interwave index=0
  1092. options snd-ens1371 index=1
  1093. # OSS/Free portion
  1094. alias sound-slot-0 snd-interwave
  1095. alias sound-slot-1 snd-ens1371
  1096. ----- /etc/moprobe.conf
  1097. In this example, the interwave card is always loaded as the first card
  1098. (index 0) and ens1371 as the second (index 1).
  1099. ALSA PCM devices to OSS devices mapping
  1100. =======================================
  1101. /dev/snd/pcmC0D0[c|p] -> /dev/audio0 (/dev/audio) -> minor 4
  1102. /dev/snd/pcmC0D0[c|p] -> /dev/dsp0 (/dev/dsp) -> minor 3
  1103. /dev/snd/pcmC0D1[c|p] -> /dev/adsp0 (/dev/adsp) -> minor 12
  1104. /dev/snd/pcmC1D0[c|p] -> /dev/audio1 -> minor 4+16 = 20
  1105. /dev/snd/pcmC1D0[c|p] -> /dev/dsp1 -> minor 3+16 = 19
  1106. /dev/snd/pcmC1D1[c|p] -> /dev/adsp1 -> minor 12+16 = 28
  1107. /dev/snd/pcmC2D0[c|p] -> /dev/audio2 -> minor 4+32 = 36
  1108. /dev/snd/pcmC2D0[c|p] -> /dev/dsp2 -> minor 3+32 = 39
  1109. /dev/snd/pcmC2D1[c|p] -> /dev/adsp2 -> minor 12+32 = 44
  1110. The first number from /dev/snd/pcmC{X}D{Y}[c|p] expression means
  1111. sound card number and second means device number. The ALSA devices
  1112. have either 'c' or 'p' suffix indicating the direction, capture and
  1113. playback, respectively.
  1114. Please note that the device mapping above may be varied via the module
  1115. options of snd-pcm-oss module.
  1116. DEVFS support
  1117. =============
  1118. The ALSA driver fully supports the devfs extension.
  1119. You should add lines below to your devfsd.conf file:
  1120. LOOKUP snd MODLOAD ACTION snd
  1121. REGISTER ^sound/.* PERMISSIONS root.audio 660
  1122. REGISTER ^snd/.* PERMISSIONS root.audio 660
  1123. Warning: These lines assume that you have the audio group in your system.
  1124. Otherwise replace audio word with another group name (root for
  1125. example).
  1126. Proc interfaces (/proc/asound)
  1127. ==============================
  1128. /proc/asound/card#/pcm#[cp]/oss
  1129. -------------------------------
  1130. String "erase" - erase all additional informations about OSS applications
  1131. String "<app_name> <fragments> <fragment_size> [<options>]"
  1132. <app_name> - name of application with (higher priority) or without path
  1133. <fragments> - number of fragments or zero if auto
  1134. <fragment_size> - size of fragment in bytes or zero if auto
  1135. <options> - optional parameters
  1136. - disable the application tries to open a pcm device for
  1137. this channel but does not want to use it.
  1138. (Cause a bug or mmap needs)
  1139. It's good for Quake etc...
  1140. - direct don't use plugins
  1141. - block force block mode (rvplayer)
  1142. - non-block force non-block mode
  1143. - whole-frag write only whole fragments (optimization affecting
  1144. playback only)
  1145. - no-silence do not fill silence ahead to avoid clicks
  1146. Example: echo "x11amp 128 16384" > /proc/asound/card0/pcm0p/oss
  1147. echo "squake 0 0 disable" > /proc/asound/card0/pcm0c/oss
  1148. echo "rvplayer 0 0 block" > /proc/asound/card0/pcm0p/oss
  1149. Early Buffer Allocation
  1150. =======================
  1151. Some drivers (e.g. hdsp) require the large contiguous buffers, and
  1152. sometimes it's too late to find such spaces when the driver module is
  1153. actually loaded due to memory fragmentation. You can pre-allocate the
  1154. PCM buffers by loading snd-page-alloc module and write commands to its
  1155. proc file in prior, for example, in the early boot stage like
  1156. /etc/init.d/*.local scripts.
  1157. Reading the proc file /proc/drivers/snd-page-alloc shows the current
  1158. usage of page allocation. In writing, you can send the following
  1159. commands to the snd-page-alloc driver:
  1160. - add VENDOR DEVICE MASK SIZE BUFFERS
  1161. VENDOR and DEVICE are PCI vendor and device IDs. They take
  1162. integer numbers (0x prefix is needed for the hex).
  1163. MASK is the PCI DMA mask. Pass 0 if not restricted.
  1164. SIZE is the size of each buffer to allocate. You can pass
  1165. k and m suffix for KB and MB. The max number is 16MB.
  1166. BUFFERS is the number of buffers to allocate. It must be greater
  1167. than 0. The max number is 4.
  1168. - erase
  1169. This will erase the all pre-allocated buffers which are not in
  1170. use.
  1171. Links
  1172. =====
  1173. ALSA project homepage
  1174. http://www.alsa-project.org