]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blob - Documentation/sound/oss/MAD16
Linux-2.6.12-rc2
[mirror_ubuntu-kernels.git] / Documentation / sound / oss / MAD16
1 (This recipe has been edited to update the configuration symbols,
2 and change over to modprobe.conf for 2.6)
3
4 From: Shaw Carruthers <shaw@shawc.demon.co.uk>
5
6 I have been using mad16 sound for some time now with no problems, current
7 kernel 2.1.89
8
9 lsmod shows:
10
11 mad16 5176 0
12 sb 22044 0 [mad16]
13 uart401 5576 0 [mad16 sb]
14 ad1848 14176 1 [mad16]
15 sound 61928 0 [mad16 sb uart401 ad1848]
16
17 .config has:
18
19 CONFIG_SOUND=m
20 CONFIG_SOUND_ADLIB=m
21 CONFIG_SOUND_MAD16=m
22 CONFIG_SOUND_YM3812=m
23
24 modprobe.conf has:
25
26 alias char-major-14-* mad16
27 options sb mad16=1
28 options mad16 io=0x530 irq=7 dma=0 dma16=1 && /usr/local/bin/aumix -w 15 -p 20 -m 0 -1 0 -2 0 -3 0 -i 0
29
30
31 To get the built in mixer to work this needs to be:
32
33 options adlib_card io=0x388 # FM synthesizer
34 options sb mad16=1
35 options mad16 io=0x530 irq=7 dma=0 dma16=1 mpu_io=816 mpu_irq=5 && /usr/local/bin/aumix -w 15 -p 20 -m 0 -1 0 -2 0 -3 0 -i 0
36
37 The addition of the "mpu_io=816 mpu_irq=5" to the mad16 options line is
38
39 ------------------------------------------------------------------------
40 The mad16 module in addition supports the following options:
41
42 option: meaning: default:
43 joystick=0,1 disabled, enabled disabled
44 cdtype=0x00,0x02,0x04, disabled, Sony CDU31A, disabled
45 0x06,0x08,0x0a Mitsumi, Panasonic,
46 Secondary IDE, Primary IDE
47 cdport=0x340,0x320, 0x340
48 0x330,0x360
49 cdirq=0,3,5,7,9,10,11 disabled, IRQ3, ... disabled
50 cddma=0,5,6,7 disabled, DMA5, ... DMA5 for Mitsumi or IDE
51 cddma=0,1,2,3 disabled, DMA1, ... DMA3 for Sony or Panasonic
52 opl4=0,1 OPL3, OPL4 OPL3
53
54 for more details see linux/drivers/sound/mad16.c
55
56 Rui Sousa