PageRenderTime 47ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 0ms

/Documentation/sound/oss/CMI8330

https://bitbucket.org/abioy/linux
#! | 153 lines | 97 code | 56 blank | 0 comment | 0 complexity | 44938a06b9b85580d5f483b18f39d7a0 MD5 | raw file
Possible License(s): CC-BY-SA-3.0, GPL-2.0, LGPL-2.0, AGPL-1.0
  1. Documentation for CMI 8330 (SoundPRO)
  2. -------------------------------------
  3. Alessandro Zummo <azummo@ita.flashnet.it>
  4. ( Be sure to read Documentation/sound/oss/SoundPro too )
  5. This adapter is now directly supported by the sb driver.
  6. The only thing you have to do is to compile the kernel sound
  7. support as a module and to enable kernel ISAPnP support,
  8. as shown below.
  9. CONFIG_SOUND=m
  10. CONFIG_SOUND_SB=m
  11. CONFIG_PNP=y
  12. CONFIG_ISAPNP=y
  13. and optionally:
  14. CONFIG_SOUND_MPU401=m
  15. for MPU401 support.
  16. (I suggest you to use "make menuconfig" or "make xconfig"
  17. for a more comfortable configuration editing)
  18. Then you can do
  19. modprobe sb
  20. and everything will be (hopefully) configured.
  21. You should get something similar in syslog:
  22. sb: CMI8330 detected.
  23. sb: CMI8330 sb base located at 0x220
  24. sb: CMI8330 mpu base located at 0x330
  25. sb: CMI8330 mail reports to Alessandro Zummo <azummo@ita.flashnet.it>
  26. sb: ISAPnP reports CMI 8330 SoundPRO at i/o 0x220, irq 7, dma 1,5
  27. The old documentation file follows for reference
  28. purposes.
  29. How to enable CMI 8330 (SOUNDPRO) soundchip on Linux
  30. ------------------------------------------
  31. Stefan Laudat <Stefan.Laudat@asit.ro>
  32. [Note: The CMI 8338 is unrelated and is supported by cmpci.o]
  33. In order to use CMI8330 under Linux you just have to use a proper isapnp.conf, a good isapnp and a little bit of patience. I use isapnp 1.17, but
  34. you may get a better one I guess at http://www.roestock.demon.co.uk/isapnptools/.
  35. Of course you will have to compile kernel sound support as module, as shown below:
  36. CONFIG_SOUND=m
  37. CONFIG_SOUND_OSS=m
  38. CONFIG_SOUND_SB=m
  39. CONFIG_SOUND_ADLIB=m
  40. CONFIG_SOUND_MPU401=m
  41. # Mikro$chaft sound system (kinda useful here ;))
  42. CONFIG_SOUND_MSS=m
  43. The /etc/isapnp.conf file will be:
  44. <snip below>
  45. (READPORT 0x0203)
  46. (ISOLATE PRESERVE)
  47. (IDENTIFY *)
  48. (VERBOSITY 2)
  49. (CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
  50. (VERIFYLD N)
  51. # WSS
  52. (CONFIGURE CMI0001/16777472 (LD 0
  53. (IO 0 (SIZE 8) (BASE 0x0530))
  54. (IO 1 (SIZE 8) (BASE 0x0388))
  55. (INT 0 (IRQ 7 (MODE +E)))
  56. (DMA 0 (CHANNEL 0))
  57. (NAME "CMI0001/16777472[0]{CMI8330/C3D Audio Adapter}")
  58. (ACT Y)
  59. ))
  60. # MPU
  61. (CONFIGURE CMI0001/16777472 (LD 1
  62. (IO 0 (SIZE 2) (BASE 0x0330))
  63. (INT 0 (IRQ 11 (MODE +E)))
  64. (NAME "CMI0001/16777472[1]{CMI8330/C3D Audio Adapter}")
  65. (ACT Y)
  66. ))
  67. # Joystick
  68. (CONFIGURE CMI0001/16777472 (LD 2
  69. (IO 0 (SIZE 8) (BASE 0x0200))
  70. (NAME "CMI0001/16777472[2]{CMI8330/C3D Audio Adapter}")
  71. (ACT Y)
  72. ))
  73. # SoundBlaster
  74. (CONFIGURE CMI0001/16777472 (LD 3
  75. (IO 0 (SIZE 16) (BASE 0x0220))
  76. (INT 0 (IRQ 5 (MODE +E)))
  77. (DMA 0 (CHANNEL 1))
  78. (DMA 1 (CHANNEL 5))
  79. (NAME "CMI0001/16777472[3]{CMI8330/C3D Audio Adapter}")
  80. (ACT Y)
  81. ))
  82. (WAITFORKEY)
  83. <end of snip>
  84. The module sequence is trivial:
  85. /sbin/insmod soundcore
  86. /sbin/insmod sound
  87. /sbin/insmod uart401
  88. # insert this first
  89. /sbin/insmod ad1848 io=0x530 irq=7 dma=0 soundpro=1
  90. # The sb module is an alternative to the ad1848 (Microsoft Sound System)
  91. # Anyhow, this is full duplex and has MIDI
  92. /sbin/insmod sb io=0x220 dma=1 dma16=5 irq=5 mpu_io=0x330
  93. Alma Chao <elysian@ethereal.torsion.org> suggests the following /etc/modprobe.conf:
  94. alias sound ad1848
  95. alias synth0 opl3
  96. options ad1848 io=0x530 irq=7 dma=0 soundpro=1
  97. options opl3 io=0x388