CMI8330 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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 in
  94. a /etc/modprobe.d/*conf file:
  95. alias sound ad1848
  96. alias synth0 opl3
  97. options ad1848 io=0x530 irq=7 dma=0 soundpro=1
  98. options opl3 io=0x388