OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [Documentation/] [sound/] [MAD16] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
(This recipe has been edited to update the configuration symbols.)
2
 
3
From: Shaw Carruthers 
4
 
5
I have been using mad16 sound for some time now with no problems, current
6
kernel 2.1.89
7
 
8
lsmod shows:
9
 
10
mad16                   5176   0
11
sb                     22044   0  [mad16]
12
uart401                 5576   0  [mad16 sb]
13
ad1848                 14176   1  [mad16]
14
sound                  61928   0  [mad16 sb uart401 ad1848]
15
 
16
.config has:
17
 
18
CONFIG_SOUND=m
19
CONFIG_SOUND_ADLIB=m
20
CONFIG_SOUND_MAD16=m
21
CONFIG_SOUND_YM3812=m
22
 
23
modules.conf has:
24
 
25
alias char-major-14 mad16
26
options sb mad16=1
27
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
28
 
29
 
30
To get the built in mixer to work this needs to be:
31
 
32
options adlib_card io=0x388     # FM synthesizer
33
options sb mad16=1
34
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
35
 
36
The addition of the "mpu_io=816 mpu_irq=5" to the mad16 options line is
37
 
38
------------------------------------------------------------------------
39
The mad16 module in addition supports the following options:
40
 
41
option:                 meaning:                        default:
42
joystick=0,1            disabled, enabled               disabled
43
cdtype=0x00,0x02,0x04,  disabled, Sony CDU31A,          disabled
44
       0x06,0x08,0x0a   Mitsumi, Panasonic,
45
                        Secondary IDE, Primary IDE
46
cdport=0x340,0x320,                                     0x340
47
       0x330,0x360
48
cdirq=0,3,5,7,9,10,11   disabled, IRQ3, ...             disabled
49
cddma=0,5,6,7           disabled, DMA5, ...             DMA5 for Mitsumi or IDE
50
cddma=0,1,2,3           disabled, DMA1, ...             DMA3 for Sony or Panasonic
51
opl4=0,1                OPL3, OPL4                      OPL3
52
 
53
for more details see linux/drivers/sound/mad16.c
54
 
55
Rui Sousa

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.