bretbohlin

Untitled

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