URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [Documentation/] [sound/] [MAD16] - Rev 1765
Compare with Previous | Blame | View Log
(This recipe has been edited to update the configuration symbols.)From: Shaw Carruthers <shaw@shawc.demon.co.uk>I have been using mad16 sound for some time now with no problems, currentkernel 2.1.89lsmod shows:mad16 5176 0sb 22044 0 [mad16]uart401 5576 0 [mad16 sb]ad1848 14176 1 [mad16]sound 61928 0 [mad16 sb uart401 ad1848].config has:CONFIG_SOUND=mCONFIG_SOUND_ADLIB=mCONFIG_SOUND_MAD16=mCONFIG_SOUND_YM3812=mmodules.conf has:alias char-major-14 mad16options sb mad16=1options 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 0To get the built in mixer to work this needs to be:options adlib_card io=0x388 # FM synthesizeroptions sb mad16=1options 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 0The addition of the "mpu_io=816 mpu_irq=5" to the mad16 options line is------------------------------------------------------------------------The mad16 module in addition supports the following options:option: meaning: default:joystick=0,1 disabled, enabled disabledcdtype=0x00,0x02,0x04, disabled, Sony CDU31A, disabled0x06,0x08,0x0a Mitsumi, Panasonic,Secondary IDE, Primary IDEcdport=0x340,0x320, 0x3400x330,0x360cdirq=0,3,5,7,9,10,11 disabled, IRQ3, ... disabledcddma=0,5,6,7 disabled, DMA5, ... DMA5 for Mitsumi or IDEcddma=0,1,2,3 disabled, DMA1, ... DMA3 for Sony or Panasonicopl4=0,1 OPL3, OPL4 OPL3for more details see linux/drivers/sound/mad16.cRui Sousa
