File: INSTALL

package info (click to toggle)
alsadriver 0.4.1i-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,256 kB
  • ctags: 15,024
  • sloc: ansic: 96,846; makefile: 1,232; sh: 1,051; perl: 54
file content (764 lines) | stat: -rw-r--r-- 29,463 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764

		Advanced Linux Sound Architecture - Driver
		==========================================
			    Installation guide


The ALSA driver replaces the OSS/Free driver. The OSS/Free driver is
present in current Linux kernels (2.2).  Since version 0.4.0, ALSA has
supported only 2.2+ kernels. The 2.0 kernels are no longer supported. You
must compile the kernel with sound support (you do not need to select
any of the other sound modules apart from sound support).

Before installing this driver, it will be helpful to read carefully
the documentation for insmod, modprobe, kerneld/kmod and for the isapnp
module if you have an ISA PnP soundcard.


Quick install
=============

1) You must turn on sound support (soundcore module).
2) Run './configure' script.
   If you have ISA Plug & Play soundcard, use --with-isapnp=yes switch.
   If you want sequencer support, use --with-sequencer=yes switch.
   If you do not want OSS/Free emulation, use --with-oss=no switch.
   If you want turn on debug mode use --with-debug=full switch.
   If you want debug soundcard detection try --with-debug=detect switch.
   Example: ./configure --with-isapnp=yes --with-debug=full
3) Run 'make install'.
4) Run the './snddevices' script to create new sound devices in /dev directory.
   Skip this step, if you have a kernel with the DEVFS support.
5) Edit your /etc/conf.modules (see the kerneld/kmod support section below).
6) Run 'modprobe snd-card' where the card is the name of your card.
   Note: If you have a ISA PnP soundcard you need to first run the isapnp
         program from isapnptools package to initialize your
         soundcard. You can also use the native ISA PnP support by
         using the --with-isapnp=yes configuration switch, in which
		 case you do not need the isapnptools package.

You can also look at the utils/alsasound file. This script is designed for
the RedHat distribution, but it can be used with other distributions which
use System V style rc init scripts.

Note: All mixer channels are muted by default. You must use a native
      mixer program to unmute appropriate channels (for example a mixer
      from the alsa-utils package).


Driver cannot be activated?
===========================

1) You can check your soundcard setup again and read this install file
   (module parameters) carefully.
2) If you have got ISA PnP soundcard:
   - native ISA PnP support: is your setup in /proc/isapnp.conf correct?
   - isapnptools: is configuration on isapnp.conf same as for the driver?
3) The driver is not still working: remake driver with:
     ./configure --with-debug=detect; make clean; make
   Reinsert new driver modules to kernel and look to /var/log/messages if
   there are some messages. If these messages do not help you, please
   create a new ticket in our bug reporting system.


Bug reporting system
====================

http://www.alsa-project.org/cgi-bin/bugs


Module parameters
=================

  A user can modify or set parameters at the load time of the module. If
  the module supports more cards and you have got more than one card
  of the same type, you may simply specify more values for the parameter,
  delimited by commas.
  
  Module snd.o
  ------------

    snd_major	- major # for sound driver
		- default is 14 - this value is compatible with OSS/Free
    snd_cards_limit
		- specifies card limit # (1-8)
		- good for kerneld/kmod support if you do not want to search
		  for soundcards which are not installed in your system
    snd_device_mode
		- specifies permission mask for dynamic sound device filesystem
		- default value = 0666
		- for example 'snd_device_mode=0660'
    snd_device_gid
		- specifies GID number for dynamic sound device filesystem
		- default value = 0 (root)
    snd_device_uid
		- specifies UID number for dynamic sound device filesystem
		- default value = 0 (root)

  Global parameters for top soundcard modules
  -------------------------------------------

    snd_index	- 1-8 - index for soundcard
                - if not set, first free index is assigned
    snd_id	- user identification for card (up to 15 chars)
		- default expression is 'card<snd_index>' (for example card1)
		- value is used for /proc/asound filesystem
		- this value can be used by applications for identification
		  of card if user does not want identify card with index number

  Module snd-card-dummy.o
  -----------------------

    Module for the dummy soundcard. This soundcard doesn't do any output
    or input, but you may use this module for any application which
    requires a soundcard (like RealPlayer).

  Module snd-card-es1688.o
  ------------------------

    Module for ESS AudioDrive ES-1688 and ES-688 soundcards.

    snd_port	- port # for ES-1688 chip (0x220,0x240,0x260)
    snd_mpu_port - port # for MPU-401 port (0x300,0x310,0x320,0x330), -1 = disable (default)
    snd_irq	- IRQ # for ES-1688 chip (5,7,9,10)
    snd_mpu_irq	- IRQ # for MPU-401 port (5,7,9,10)
    snd_dma8	- DMA # for ES-1688 chip (0,1,3)
    snd_dma8_size - max DMA size in kB (4-64kB)

    Module supports up to 8 cards and autoprobe (without MPU-401 port).

  Module snd-card-es18xx.o
  ------------------------

    Module for ESS AudioDrive ES-18xx soundcards.

    snd_port	- port # for ES-18xx chip (0x220,0x240,0x260)
    snd_mpu_port - port # for MPU-401 port (0x300,0x310,0x320,0x330), -1 = disable (default)
    snd_fm_port - port # for FM (optional, not used)
    snd_irq	- IRQ # for ES-18xx chip (5,7,9,10)
    snd_dma1	- first DMA # for ES-18xx chip (0,1,3)
    snd_dma1_size - max first DMA size in kB (4-64kB)
    snd_dma2	- first DMA # for ES-18xx chip (0,1,3)
    snd_dma2_size - max second DMA size in kB (4-64kB)
    snd_isapnp  - ISA PnP detection - 0 = disable, 1 = enable (default)

    Module supports up to 8 cards ISA PnP and autoprobe (without MPU-401 port
    if native ISA PnP routines are not used).

  Module snd-card-gusclassic.o
  ----------------------------

    Module for Gravis UltraSound Classic soundcard.

    snd_port	- port # for GF1 chip (0x220,0x230,0x240,0x250,0x260)
    snd_irq	- IRQ # for GF1 chip (3,5,9,11,12,15)
    snd_dma1	- DMA # for GF1 chip (1,3,5,6,7)
    snd_dma1_size - max DMA1 size in kB (4-128kB)
    snd_dma2	- DMA # for GF1 chip (1,3,5,6,7,-1=disable)
    snd_dma2_size - max DMA2 size in kB (4-128kB)
    snd_joystick_dac - 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
    snd_voices  - GF1 voices limit (14-32)
    snd_pcm_voices - reserved PCM voices

    Module supports up to 8 cards and autoprobe.

  Module snd-card-gusextreme.o
  ----------------------------

    Module for Gravis UltraSound Extreme soundcard.

    snd_port	- port # for ES-1688 chip (0x220,0x230,0x240,0x250,0x260)
    snd_gf1_port - port # for GF1 chip (0x210,0x220,0x230,0x240,0x250,0x260,0x270)
    snd_mpu_port - port # for MPU-401 port (0x300,0x310,0x320,0x330), -1 = disable
    snd_irq	- IRQ # for ES-1688 chip (5,7,9,10)
    snd_mpu_irq	- IRQ # for MPU-401 port (5,7,9,10)
    snd_irq1	- IRQ # for GF1 chip (3,5,9,11,12,15)
    snd_dma8	- DMA # for ES-1688 chip (0,1,3)
    snd_dma8_size - max DMA8 size in kB (4-64kB)
    snd_dma1	- DMA # for GF1 chip (1,3,5,6,7)
    snd_dma1_size - max DMA1 size in kB (4-128kB)
    snd_joystick_dac - 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
    snd_voices  - GF1 voices limit (14-32)
    snd_pcm_voices - reserved PCM voices

    Module supports up to 8 cards and autoprobe (without MPU-401 port).

  Module snd-card-gusmax.o
  ------------------------

    Module for Gravis UltraSound MAX soundcard.

    snd_port	- port # for GF1 chip (0x220,0x230,0x240,0x250,0x260)
    snd_irq	- IRQ # for GF1 chip (3,5,9,11,12,15)
    snd_dma1	- DMA # for GF1 chip (1,3,5,6,7)
    snd_dma1_size - max DMA1 size in kB (4-128kB)
    snd_dma2	- DMA # for GF1 chip (1,3,5,6,7,-1=disable)
    snd_dma2_size - max DMA2 size in kB (4-128kB)
    snd_joystick_dac - 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
    snd_voices  - GF1 voices limit (14-32)
    snd_pcm_voices - reserved PCM voices

    Module supports up to 8 cards and autoprobe.
    
  Module snd-card-interwave.o
  ---------------------------

    Module for Gravis UltraSound PnP, Dynasonic 3-D/Pro, STB Sound Rage 32
    and other soundcards based on AMD InterWave (tm) chip.
  
    snd_port	- port # for InterWave chip (0x210,0x220,0x230,0x240,0x250,0x260)
    snd_irq	- IRQ # for InterWave chip (3,5,9,11,12,15)
    snd_dma1	- DMA # for InterWave chip (0,1,3,5,6,7)
    snd_dma1_size - max DMA1 size in kB (4-128kB)
    snd_dma2	- DMA # for InterWave chip (0,1,3,5,6,7,-1=disable)
    snd_dma2_size - max DMA2 size in kB (4-128kB)
    snd_joystick_dac - 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
    snd_midi    - 1 = MIDI UART enable, 0 = MIDI UART disable (default)
    snd_pcm_voices - reserved PCM voices for the synthesizer (default 2)
    snd_effect  - 1 = InterWave effects enable (default 0);
                  requires 8 voices

    Module supports up to 8 cards, autoprobe and ISA PnP.

  Module snd-card-interwave-stb.o
  -------------------------------

    Module for UltraSound 32-Pro (soundcard from STB used by Compaq)
    and other soundcards based on AMD InterWave (tm) chip with TEA6330T
    circuit for extended control of bass, treble and master volume.
  
    snd_port	- port # for InterWave chip (0x210,0x220,0x230,0x240,0x250,0x260)
    snd_port_tc - tone control (i2c bus) port # for TEA6330T chip (0x350,0x360,0x370,0x380)
    snd_irq	- IRQ # for InterWave chip (3,5,9,11,12,15)
    snd_dma1	- DMA # for InterWave chip (0,1,3,5,6,7)
    snd_dma1_size - max DMA1 size in kB (4-128kB)
    snd_dma2	- DMA # for InterWave chip (0,1,3,5,6,7,-1=disable)
    snd_dma2_size - max DMA2 size in kB (4-128kB)
    snd_joystick_dac - 0 to 31, (0.59V-4.52V or 0.389V-2.98V)
    snd_midi    - 1 = MIDI UART enable, 0 = MIDI UART disable (default)
    snd_pcm_voices - reserved PCM voices for the synthesizer (default 2)
    snd_effect  - 1 = InterWave effects enable (default 0);
                  requires 8 voices

    Module supports up to 8 cards, autoprobe and ISA PnP.

  Module snd-card-sb8.o
  ---------------------

    Module for 8-bit SoundBlaster cards: SoundBlaster 1.0,
					 SoundBlaster 2.0,
					 SoundBlaster Pro

    snd_port	- port # for SB DSP chip (0x220,0x240,0x260)
    snd_irq	- IRQ # for SB DSP chip (5,7,9,10)
    snd_dma8	- DMA # for SB DSP chip (1,3)
    snd_dma8_size - max DMA size in kB (4-64kB)

    Module supports up to 8 cards and autoprobe.
    
  Module snd-card-sb16.o/snd-card-sbawe.o
  ---------------------------------------

    Module for 16-bit SoundBlaster cards: SoundBlaster 16 (PnP),
					  SoundBlaster AWE 32 (PnP),
					  SoundBlaster AWE 64 PnP

    snd_port	- port # for SB DSP 4.x chip (0x220,0x240,0x260)
    snd_mpu_port - port # for MPU-401 UART (0x300,0x330), -1 = disable
    snd_awe_port - port # for EMU8000 synthesizer (snd-sbawe module only)
    snd_irq	- IRQ # for SB DSP 4.x chip (5,7,9,10)
    snd_dma8	- 8-bit DMA # for SB DSP 4.x chip (0,1,3)
    snd_dma8_size - max 8-bit DMA size in kB (4-64kB)
    snd_dma16	- 16-bit DMA # for SB DSP 4.x chip (5,6,7)
    snd_dma16_size - max 16-bit DMA size in kB (4-128kB)
    snd_mic_agc - Mic Auto-Gain-Control - 1 = enable (default), 0 = disable
    snd_isapnp  - ISA PnP detection - 0 = disable, 1 = enable (default)
    
    Module supports up to 8 cards, autoprobe and ISA PnP.

    Note: This module does not support SoundBlaster VibraX16 soundcard.
          This soundcard uses two 8-bit DMA channels and seems that
          documentation is not available at Creative Labs WWW site.
          If you know where can be get documentation, mail us...
          Otherwise - this soundcard is not supported yet, so do not
          send us any e-mails with "my soundcard is not working"...
    
  Module snd-card-opl3sa2.o
  -------------------------

    Module for Yamaha OPL3-SA2/SA3 soundcards.

    snd_port	- control port # for OPL3-SA chip (0x370)
    snd_wss_port - WSS port # for OPL3-SA chip (0x530,0xe80,0xf40,0x604)
    snd_midi_port - port # for MPU-401 UART (0x300,0x330), -1 = disable
    snd_fm_port - FM port # for OPL3-SA chip (0x388), -1 = disable
    snd_irq	- IRQ # for OPL3-SA chip (5,7,9,10)
    snd_dma1	- first DMA # for Yamaha OPL3-SA chip (0,1,3)
    snd_dma1_size - max first DMA size in kB (4-64kB)
    snd_dma2	- second DMA # for Yamaha OPL3-SA chip (0,1,3), -1 = disable
    snd_dma2_size - max second DMA size in kB (4-64kB)
    snd_isapnp  - ISA PnP detection - 0 = disable, 1 = enable (default)
    
    Module supports up to 8 cards and ISA PnP. This module does not support
    autoprobe (if ISA PnP is not used) thus all ports must be specified!!!
    
  Module snd-card-mozart.o
  ------------------------

    Module for OAK Mozart cards.

    snd_port	- port # for WSS chip (0x530,0xe80,0xf40,0x604)
    snd_irq	- IRQ # for WSS chip (7,9,10,11)
    snd_dma1	- DMA # for WSS chip (0,1,3)
    snd_dma1_size - max DMA size in kB (4-64kB)
    
    Module supports only one card and autoprobe.

  Module snd-card-opti9xx.o
  -------------------------

    Module for soundcards based on OPTi 82C9xx chips.
    
    snd_port      - port # for WSS chip (0x530,0xe80,0xf40,0x604)
    snd_mpu_port  - port # for MPU-401 UART (0x300,0x310,0x320,0x330)
    snd_opl_port  - port # for OPL3 device (PnP setup - 0x388)
    snd_irq       - IRQ # for WSS chip (5,7,9,10,11)
    snd_mpu_irq   - IRQ # for MPU-401 UART (5,7,9,10)
    snd_dma1      - first DMA # for WSS chip (0,1,3)
    snd_dma1_size - max first DMA size in kB (4-64kB)
    snd_dma2      - second DMA # for WSS chip (0,1)
    snd_dma2_size - max second DMA size in kB (4-64kB)
    cd_if         - on-board cdrom drive interface type (disabled,ide1,ide2,
                    mitsumi,panasonic,sony)
    cd_port       - cdrom i/o port (0x320,0x330,0x340,0x360)
    cd_irq        - cdrom IRQ # (5,7,9,10,11)   -1 = disabled
    cd_drq        - cdrom DMA # (0,1,3)   -1 = disabled
    game          - on-board game port enable (enabled,disabled)

    Module supports only one card, autoprobe and PnP.

  Module snd-card-sonicvibes.o
  ----------------------------

    Module for S3 SonicVibes PCI soundcards.
			* PINE Schubert 32 PCI

    snd_dmaa_size - max DDMA-A (playback) size in kB (4-128kB)
    snd_dmac_size - max DDMA-C (record) size in kB (4-128kB)
    snd_reverb    - Reverb Enable - 1 = enable, 0 = disable (default)
                  - SoundCard must have onboard SRAM for this.
    snd_mge       - Mic Gain Enable - 1 = enable, 0 = disable (default)
    
    Module supports up to 8 cards and autoprobe.

  Module snd-card-ens1370.o
  -------------------------

    Module for Ensoniq AudioPCI ES1370 PCI soundcards.
			* SoundBlaster PCI 64
			* SoundBlaster PCI 128

    snd_dac1_frame_size - max dac1 (playback1) frame size in kB (4-128kB)
    snd_dac2_frame_size - max dac2 (playback2) frame size in kB (4-128kB)
    snd_adc_frame_size  - max adc (record) frame size in kB (4-128kB)

    Module supports up to 8 cards and autoprobe.
    
  Module snd-card-ens1371.o
  -------------------------

    Module for Ensoniq AudioPCI ES1371 PCI soundcards.
			* SoundBlaster PCI 64
			* SoundBlaster PCI 128
			* SoundBlaster Vibra PCI

    snd_dac1_frame_size - max dac1 (playback1) frame size in kB (4-128kB)
    snd_dac2_frame_size - max dac2 (playback2) frame size in kB (4-128kB)
    snd_adc_frame_size  - max adc (record) frame size in kB (4-128kB)

    Module supports up to 8 cards and autoprobe.
    
  Module snd-card-ad1848.o
  ------------------------

    Module for soundcards based on AD1848/AD1847/CS4248 chips.

    snd_port	- port # for AD1848 chip
    snd_irq	- IRQ # for AD1848  chip
    snd_dma1	- DMA # for AD1848 chip (0,1,3)
    snd_dma1_size - max DMA size in kB (4-64kB)
    
    Module supports up to 8 cards. This module does not support autoprobe
    thus main port must be specified!!! Other ports are optional.
    
  Module snd-card-azt2320.o
  -------------------------

    Module for soundcards based on Aztech System AZT2320 chip (PnP only).

    snd_port	- port # for AZT2320 (SB8) chip (PnP setup)
    snd_mpu_port - port # for MPU-401 UART (PnP setup)
    snd_fm_port - FM port # for AZT2320 chip (PnP setup)
    snd_irq	- IRQ # for AZT2320 (SB8) chip (PnP setup)
    snd_mpu_irq - IRQ # for MPU-401 UART (PnP setup)
    snd_dma8	- DMA # for AZT2320 (SB8) chip (PnP setup)
    snd_dma8_size - max DMA size in kB (4-64kB)
    
    Module supports up to 8 cards, PnP and autoprobe.
    
  Module snd-card-cs4231.o
  ------------------------

    Module for soundcards based on CS4231 chips.

    snd_port	- port # for CS4231 chip
    snd_mpu_port - port # for MPU-401 UART (optional), -1 = disable
    snd_irq	- IRQ # for CS4231 chip
    snd_mpu_irq - IRQ # for MPU-401 UART
    snd_dma1	- first DMA # for CS4231 chip
    snd_dma1_size - max first tDMA size in kB (4-128kB)
    snd_dma2	- second DMA # for CS4231 chip
    snd_dma2_size - max second DMA size in kB (4-128kB)
    
    Module supports up to 8 cards. This module does not support autoprobe
    thus main port must be specified!!! Other ports are optional.
    
  Module snd-card-cs4232.o
  ------------------------

    Module for soundcards based on CS4232/CS4232A chips.

    snd_port	- port # for CS4232 chip (PnP setup - 0x534)
    snd_cport   - control port # for CS4232 chip (PnP setup - 0x120,0xf00)
    snd_mpu_port - port # for MPU-401 UART (PnP setup - 0x300), -1 = disable
    snd_fm_port - FM port # for CS4232 chip (PnP setup - 0x388), -1 = disable
    snd_irq	- IRQ # for CS4232 chip (5,7,9,11,12,15)
    snd_mpu_irq - IRQ # for MPU-401 UART (9,11,12,15)
    snd_dma1	- first DMA # for CS4232 chip (0,1,3)
    snd_dma1_size - max first DMA size in kB (4-64kB)
    snd_dma2	- second DMA # for Yamaha CS4232 chip (0,1,3), -1 = disable
    snd_dma2_size - max second DMA size in kB (4-64kB)
    snd_isapnp  - ISA PnP detection - 0 = disable, 1 = enable (default)
    
    Module supports up to 8 cards. This module does not support autoprobe
    thus main port must be specified!!! Other ports are optional.
    
  Module snd-card-cs4236.o
  ------------------------

    Module for soundcards based on CS4235/CS4236/CS4236B/CS4237B/
                                   CS4238B/CS4239 chips.

    snd_port	- port # for CS4232 chip (PnP setup - 0x534)
    snd_cport   - control port # for CS4232 chip (PnP setup - 0x120,0xf00)
    snd_mpu_port - port # for MPU-401 UART (PnP setup - 0x300), -1 = disable
    snd_fm_port - FM port # for CS4232 chip (PnP setup - 0x388), -1 = disable
    snd_irq	- IRQ # for CS4232 chip (5,7,9,11,12,15)
    snd_mpu_irq - IRQ # for MPU-401 UART (9,11,12,15)
    snd_dma1	- first DMA # for CS4232 chip (0,1,3)
    snd_dma1_size - max first DMA size in kB (4-64kB)
    snd_dma2	- second DMA # for Yamaha CS4232 chip (0,1,3), -1 = disable
    snd_dma2_size - max second DMA size in kB (4-64kB)
    snd_isapnp  - ISA PnP detection - 0 = disable, 1 = enable (default)
    
    Module supports up to 8 cards. This module does not support autoprobe
    (if ISA PnP is not used) thus main port and control port must be
    specified!!! Other ports are optional.

  Module snd-card-cs461x.o
  ------------------------

    Module for PCI soundcards based on CS4610/CS4612/CS4614/CS4615/CS4280.

    snd_dac_frame_size  - max dac1 (playback) frame size in kB (4-128kB)
    snd_adc_frame_size  - max adc (record) frame size in kB (4-128kB)

    Module supports up to 8 cards and autoprobe.
    
  Module snd-card-trident.o
  -------------------------

    Module for Trident 4DWave DX/NX soundcards.
			* Best Union  Miss Melody 4DWave PCI
			* HIS  4DWave PCI
			* Warpspeed  ONSpeed 4DWave PCI
			* AzTech  PCI 64-Q3D
			* Addonics  SV 750
			* CHIC  True Sound 4Dwave
			* Shark  Predator4D-PCI
			* Jaton  SonicWave 4D

    snd_dac_frame_size_dx - max dac (playback) frame size in kB (4-64kB)
    snd_adc_frame_size_dx - max adc (record) frame size in kB (4-64kB)
    snd_dac_frame_size_nx - max dac (playback) frame size in kB (4-128kB)
    snd_adc_frame_size_nx - max adc (record) frame size in kB (4-64kB)
    snd_pcm_channels	  - max channels (voices) reserved for PCM
    snd_wavetable_size	  - max wavetable size in kB (4-?kb)

    Module supports up to 8 cards and autoprobe.

  Module snd-card-fm801.o
  -----------------------

    Module for ForteMedia FM801 based PCI soundcards.

    snd_dac_frame_size  - max dac1 (playback) frame size in kB (4-128kB)
    snd_adc_frame_size  - max adc (record) frame size in kB (4-128kB)

    Module supports up to 8 cards and autoprobe.
    
  Module snd-card-es968.o
  -----------------------

    Module for soundcards based on ESS ES968 chip (PnP only).

    snd_port	- port # for ES968 (SB8) chip (PnP setup)
    snd_irq	- IRQ # for ES968 (SB8) chip (PnP setup)
    snd_dma1	- DMA # for ES968 (SB8) chip (PnP setup)
    snd_dma1_size - max DMA size in kB (4-64kB)
    
    Module supports up to 8 cards, PnP and autoprobe.
    
  Module snd-card-als100.o
  ------------------------

    Module for soundcards based on Avance Logic ALS100/ALS120 chip.

    snd_port	- port # for ALS100 (SB16) chip (PnP setup)
    snd_irq	- IRQ # for ALS100 (SB16) chip (PnP setup)
    snd_dma8	- 8-bit DMA # for ALS100 (SB16) chip (PnP setup)
    snd_dma8_size - max 8-bit DMA size in kB (4-64kB)
    snd_dma16	- 16-bit DMA # for ALS100 (SB16) chip (PnP setup)
    snd_dma16_size - max 16-bit DMA size in kB (4-128kB)
    snd_mpu_port - port # for MPU-401 UART (PnP setup)
    snd_mpu_irq	- IRQ # for MPU-401 (PnP setup)
    snd_fm_port - port # for OPL3 FM (PnP setup)
    
    Module supports up to 8 cards, autoprobe and PnP.

  Module snd-card-es1938.o
  ------------------------

    Module for soundcards based on ESS Solo-1 (ES1938,ES1946) chips.

  Module snd-card-cmi8330.o
  -------------------------

    Module for soundcards based on C-Media CMI8330 chips.

    snd_wssport	- port # for CMI8330 chip (WSS)
    snd_wssirq	- IRQ # for CMI8330 chip (WSS)
    snd_wssdma	- first DMA # for CMI8330 chip (WSS)
    snd_wssdma_size  - max first DMA size in kB (4-128kB) (ESS)
    snd_sbport  - port # for CMI8330 chip (SB16)
    snd_sbirq   - IRQ # for CMI8330 chip (SB16)
    snd_sbdma8  - 8bit DMA # for CMI8330 chip (SB16)
    snd_sbdma8_size  - max 8bit DMA size in kB (SB16)
    snd_sbdma16 - 16bit DMA # for CMI8330 chip (SB16)
    snd_sbdma16_size - max 16bit DMA size in kB (SB16)

    Module supports up to 8 cards.

modprobe/kerneld/kmod support
=============================

The modprobe program must know which modules are used for the
device major numbers.
Native ALSA devices have got default number 116. Thus a line like
'alias char-major-116 snd' must be added to /etc/conf.modules. If you have 
compiled the ALSA driver with the OSS/Free emulation code, then you
will need to add lines as explained below:

The ALSA driver uses soundcore multiplexer for 2.2+ kernels and OSS compatible
devices. You should add line like 'alias char-major-14 soundcore'.

Example for 2.2 kernel (with OSS/Free emulation turned on):

----- /etc/conf.modules

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

----- /etc/conf.modules

After the main multiplexer is loaded, its code requests toplevel soundcard
module. String 'snd-card-%i' is requested for native devices where %i is
soundcard number from zero to seven. String 'sound-slot-%i' is requested
for native devices where %i is slot number (for ALSA owner this means soundcard
number).

----- /etc/conf.modules

# ALSA portion
alias snd-card-0 snd-interwave
alias snd-card-1 snd-card-es1370
# OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1

----- /etc/conf.modules

We are finished at this point with the configuration for ALSA native devices,
but you may also need autoloading for ALSA's add-on OSS/Free emulation
modules. At this time only one module does not depend on any others, thus
must be loaded separately - snd-pcm1-oss.o. String 'sound-service-%i-%i'
is requested for OSS/Free service where first %i means slot number
(e.g. card number) and second %i means service number.

----- /etc/conf.modules

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss
# OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm1-oss
alias sound-service-1-12 snd-pcm1-oss

----- /etc/conf.modules

A complete example for Gravis UltraSound PnP soundcard:

----- /etc/conf.modules

# ISA PnP support
options isapnp isapnp_reserve_irq=9,10,11,12,13

# ALSA native device support
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
alias snd-card-0 snd-card-interwave
options snd-card-interwave snd_index=1 snd_id="GusPnP"

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss

-----

A complete example if you want to use more soundcards in one machine
(the configuration below is for Sound Blaster 16 and Gravis UltraSound Classic):

----- /etc/conf.modules

# ISA PnP support
options isapnp isapnp_reserve_irq=9,10,11,12,13

# ALSA native device support
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=2
alias snd-card-0 snd-card-gusclassic
alias snd-card-1 snd-card-sb16
options snd-card-gusclassic snd_index=1 snd_id="Gus" \
        snd_port=0x220 snd_irq=5 snd_dma1=6 snd_dma2=7
options snd-card-sb16 snd_index=2 snd_id="SB16"

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm1-oss
alias sound-service-1-12 snd-pcm1-oss

-----

A complete example, two Gravis UltraSound Classic soundcards are installed
in the system:

----- /etc/conf.modules

# ALSA native device support
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=2
alias snd-card-0 snd-card-gusclassic
alias snd-card-1 snd-card-gusclassic
options snd-card-gusclassic snd_index=1,2 snd_id="Gus1","Gus2" \
        snd_port=0x220,0x240 snd_irq=5,7 snd_dma1=1,5 snd_dma2=3,6

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm1-oss
alias sound-service-1-12 snd-pcm1-oss

-----


ALSA PCM devices to OSS devices mapping
=======================================

/dev/snd/pcmC0D0  -> /dev/audio0 (/dev/audio) -> minor 4
/dev/snd/pcmC0D0  -> /dev/dsp0 (/dev/dsp)     -> minor 3
/dev/snd/pcmC0D1  -> /dev/adsp0 (/dev/adsp)   -> minor 12
/dev/snd/pcmC1D0  -> /dev/audio1              -> minor 4+16 = 20
/dev/snd/pcmC1D0  -> /dev/dsp1                -> minor 3+16 = 19
/dev/snd/pcmC1D1  -> /dev/adsp1               -> minor 12+16 = 28
/dev/snd/pcmC2D0  -> /dev/audio2              -> minor 4+32 = 36
/dev/snd/pcmC2D0  -> /dev/dsp2                -> minor 3+32 = 39
/dev/snd/pcmC2D1  -> /dev/adsp2               -> minor 12+32 = 44

The first number from /dev/snd/pcmC{X}D{Y} expression means soundcard number
and second means device number.


DEVFS support
=============

The ALSA driver fully supports the devfs extension. You should add the line
below to your devfsd.conf file to make things work properly:

LOOKUP EXECUTE snd /sbin/modprobe snd


Proc interfaces (/proc/asound)
==============================

/proc/asound/#card#/pcm#o
-------------------------
  String "Playback erase" - erase all additional informations about OSS applications
  String "Playback <app_name> <fragments> <fragment_size> [<options>]"
  String "Capture erase" - erase all additional informations about OSS applications
  String "Capture <app_name> <fragments> <fragment_size> [<options>]"

   <app_name> - name of application with (highter priority) or without path
   <fragments> - number of fragments or zero if auto
   <fragment_size> - size of fragment in bytes or zero if auto
   <options> - optional parameters
	  - WR_ONLY - if application tries open pcm device with O_RDWR
                      driver rewrites this to O_WRONLY (playback) - good
                      for Quake etc...

  Example: echo "Playback x11amp 128 16384" > /proc/asound/0/pcm0o
           echo "Playback squake 0 0 WR_ONLY" > /proc/asound/0/pcm0o

/proc/asound/#card#/sb16
------------------------
  String "Playback 8" -> driver will use always 8-bit DMA channel for playback.
  String "Playback 16" -> driver will use always 16-bit DMA channel for playback.
  String "Playback auto" (default) -> driver will use auto mode (first opened
  direction will use 16-bit DMA channel).
  String "Record 8" -> driver will use always 8-bit DMA channel for record.
  String "Record 16" -> driver will use always 16-bit DMA channel for record.
  String "Record auto" (default) -> driver will use auto mode (first opened
  direction will use 16-bit DMA channel).

  Example: echo "Record 16" > /proc/asound/0/sb16