MAD16 1.7 KB

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