PAS16 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. Pro Audio Spectrum 16 for 2.3.99 and later
  2. =========================================
  3. by Thomas Molina (tmolina@home.com)
  4. last modified 3 Mar 2001
  5. Acknowledgement to Axel Boldt (boldt@math.ucsb.edu) for stuff taken
  6. from Configure.help, Riccardo Facchetti for stuff from README.OSS,
  7. and others whose names I could not find.
  8. This documentation is relevant for the PAS16 driver (pas2_card.c and
  9. friends) under kernel version 2.3.99 and later. If you are
  10. unfamiliar with configuring sound under Linux, please read the
  11. Sound-HOWTO, Documentation/sound/oss/Introduction and other
  12. relevant docs first.
  13. The following information is relevant information from README.OSS
  14. and legacy docs for the Pro Audio Spectrum 16 (PAS16):
  15. ==================================================================
  16. The pas2_card.c driver supports the following cards --
  17. Pro Audio Spectrum 16 (PAS16) and compatibles:
  18. Pro Audio Spectrum 16
  19. Pro Audio Studio 16
  20. Logitech Sound Man 16
  21. NOTE! The original Pro Audio Spectrum as well as the PAS+ are not
  22. and will not be supported by the driver.
  23. The sound driver configuration dialog
  24. -------------------------------------
  25. Sound configuration starts by making some yes/no questions. Be careful
  26. when answering to these questions since answering y to a question may
  27. prevent some later ones from being asked. For example don't answer y to
  28. the question about (PAS16) if you don't really have a PAS16. Sound
  29. configuration may also be made modular by answering m to configuration
  30. options presented.
  31. Note also that all questions may not be asked. The configuration program
  32. may disable some questions depending on the earlier choices. It may also
  33. select some options automatically as well.
  34. "ProAudioSpectrum 16 support",
  35. - Answer 'y'_ONLY_ if you have a Pro Audio Spectrum _16_,
  36. Pro Audio Studio 16 or Logitech SoundMan 16 (be sure that
  37. you read the above list correctly). Don't answer 'y' if you
  38. have some other card made by Media Vision or Logitech since they
  39. are not PAS16 compatible.
  40. NOTE! Since 3.5-beta10 you need to enable SB support (next question)
  41. if you want to use the SB emulation of PAS16. It's also possible to
  42. the emulation if you want to use a true SB card together with PAS16
  43. (there is another question about this that is asked later).
  44. "Generic OPL2/OPL3 FM synthesizer support",
  45. - Answer 'y' if your card has a FM chip made by Yamaha (OPL2/OPL3/OPL4).
  46. The PAS16 has an OPL3-compatible FM chip.
  47. With PAS16 you can use two audio device files at the same time. /dev/dsp (and
  48. /dev/audio) is connected to the 8/16 bit native codec and the /dev/dsp1 (and
  49. /dev/audio1) is connected to the SB emulation (8 bit mono only).
  50. The new stuff for 2.3.99 and later
  51. ============================================================================
  52. The following configuration options are relevant to configuring the PAS16:
  53. Sound card support
  54. CONFIG_SOUND
  55. If you have a sound card in your computer, i.e. if it can say more
  56. than an occasional beep, say Y. Be sure to have all the information
  57. about your sound card and its configuration down (I/O port,
  58. interrupt and DMA channel), because you will be asked for it.
  59. You want to read the Sound-HOWTO, available from
  60. http://www.tldp.org/docs.html#howto . General information
  61. about the modular sound system is contained in the files
  62. Documentation/sound/oss/Introduction. The file
  63. Documentation/sound/oss/README.OSS contains some slightly outdated but
  64. still useful information as well.
  65. OSS sound modules
  66. CONFIG_SOUND_OSS
  67. OSS is the Open Sound System suite of sound card drivers. They make
  68. sound programming easier since they provide a common API. Say Y or M
  69. here (the module will be called sound.o) if you haven't found a
  70. driver for your sound card above, then pick your driver from the
  71. list below.
  72. Persistent DMA buffers
  73. CONFIG_SOUND_DMAP
  74. Linux can often have problems allocating DMA buffers for ISA sound
  75. cards on machines with more than 16MB of RAM. This is because ISA
  76. DMA buffers must exist below the 16MB boundary and it is quite
  77. possible that a large enough free block in this region cannot be
  78. found after the machine has been running for a while. If you say Y
  79. here the DMA buffers (64Kb) will be allocated at boot time and kept
  80. until the shutdown. This option is only useful if you said Y to
  81. "OSS sound modules", above. If you said M to "OSS sound modules"
  82. then you can get the persistent DMA buffer functionality by passing
  83. the command-line argument "dmabuf=1" to the sound.o module.
  84. Say y here for PAS16.
  85. ProAudioSpectrum 16 support
  86. CONFIG_SOUND_PAS
  87. Answer Y only if you have a Pro Audio Spectrum 16, ProAudio Studio
  88. 16 or Logitech SoundMan 16 sound card. Don't answer Y if you have
  89. some other card made by Media Vision or Logitech since they are not
  90. PAS16 compatible. It is not necessary to enable the separate
  91. Sound Blaster support; it is included in the PAS driver.
  92. If you compile the driver into the kernel, you have to add
  93. "pas2=<io>,<irq>,<dma>,<dma2>,<sbio>,<sbirq>,<sbdma>,<sbdma2>
  94. to the kernel command line.
  95. FM Synthesizer (YM3812/OPL-3) support
  96. CONFIG_SOUND_YM3812
  97. Answer Y if your card has a FM chip made by Yamaha (OPL2/OPL3/OPL4).
  98. Answering Y is usually a safe and recommended choice, however some
  99. cards may have software (TSR) FM emulation. Enabling FM support with
  100. these cards may cause trouble (I don't currently know of any such
  101. cards, however).
  102. Please read the file Documentation/sound/oss/OPL3 if your card has an
  103. OPL3 chip.
  104. If you compile the driver into the kernel, you have to add
  105. "opl3=<io>" to the kernel command line.
  106. If you compile your drivers into the kernel, you MUST configure
  107. OPL3 support as a module for PAS16 support to work properly.
  108. You can then get OPL3 functionality by issuing the command:
  109. insmod opl3
  110. In addition, you must either add the following line to
  111. /etc/modprobe.d/*.conf:
  112. options opl3 io=0x388
  113. or else add the following line to /etc/lilo.conf:
  114. opl3=0x388
  115. EXAMPLES
  116. ===================================================================
  117. To use the PAS16 in my computer I have enabled the following sound
  118. configuration options:
  119. CONFIG_SOUND=y
  120. CONFIG_SOUND_OSS=y
  121. CONFIG_SOUND_TRACEINIT=y
  122. CONFIG_SOUND_DMAP=y
  123. CONFIG_SOUND_PAS=y
  124. CONFIG_SOUND_SB=n
  125. CONFIG_SOUND_YM3812=m
  126. I have also included the following append line in /etc/lilo.conf:
  127. append="pas2=0x388,10,3,-1,0x220,5,1,-1 sb=0x220,5,1,-1 opl3=0x388"
  128. The io address of 0x388 is default configuration on the PAS16. The
  129. irq of 10 and dma of 3 may not match your installation. The above
  130. configuration enables PAS16, 8-bit Soundblaster and OPL3
  131. functionality. If Soundblaster functionality is not desired, the
  132. following line would be appropriate:
  133. append="pas2=0x388,10,3,-1,0,-1,-1,-1 opl3=0x388"
  134. If sound is built totally modular, the above options may be
  135. specified in /etc/modprobe.d/*.conf for pas2, sb and opl3
  136. respectively.