[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Couple of questions from a recent convert



* JD Kitch <adahma@gmx.net> [181100 14:17]:
> Does the default install support an SB AWE32 for sound without
> recompiling the kernel?  

No the default install does not support SB AWE32.  You need to 
patch the kernel and recompile.  If your SB AWE32 is a pnp card,
you will need to configure it using the isapnp tools.

References:  Sound HOWTO
             Soundblaster AWE HOWTO

These are the instructions I wrote for myself for configuring my own
SB AWE32 sound card.  Ignore the references to the USR modem. :)
Hope they are helpful.

Kernel Configuration Notes:

Make sure the following kernel modules are selected when you "make menuconfig"
Prior to configuring the kernel be sure to patch it with the awe-drv package:

   apt-get install awe-drv
   cd /usr/src/awedrv
   ./install.sh

   Sound
	<m> Sound Card Support
	<m> OSS Sound Modules
	<m> 100% Soundblaster Compatibles
	<m> FM Synthesizer (YM3812/OPL-3) Support
	Additional Low-Level Sound Drivers -->
	    <m> AWE32 Synth


## ============================================================================
##   Sound Notes
## ============================================================================

   Note 1:  The Kernel must be compiled with the appropriate sound modules
	    selected.  Prior to compiling the kernel, be sure to "patch" it
            with the "awedrv" source code.

	    Following compilation, the following modules should be available
            in the "misc" category when executing "modconf":

	       adlib_card
	       awe_wave
	       opl3
	       sb
	       sound
	       soundcore
	       soundlow
	       uart401
	
	    Configuring (i.e. starting) the "sb" module will start "sound", 
            "soundcore", "soundlow", and "uart401" (see Step 5). 

            Configuring the "adlib_card" module will start "opl3" (see Step 5).
       
   Note 2:  Save yourself a lot of headaches and create (pnpdump) and modify
            /etc/isapnp.conf once.  That is, modify it for all your ISA PNP
            devices at the same time.  Right now, that means your USR modem, if
            it is installed.   

   1. Become Root
   2. mv /etc/isapnp.conf /etc/isapnp.conf.old  (see Note 2)
   3. pnpdump > /etc/isapnp.conf (see Note 2)
   4. modify /etc/isapnp.conf sound card entries to read (see Note 2):

      #SB AWE64 16-Bit Audio Configuration
      (CONFIGURE CTL00c5/18864389 (LD 0
        (INT 0 (IRQ 9 (MODE +E)))
        (DMA 0 (CHANNEL 0))
	(DMA 1 (CHANNEL 7))
        (IO 0 (SIZE 16) (BASE 0x0280))
        (IO 1 (SIZE 2) (BASE 0x0300))
	(IO 2 (SIZE 4) (BASE 0x0388))
	(NAME "CTL00c5/18864389[0]{AUDIO      }")
        (ACT Y)
      ))

      #SB AWE64 Gameport Configuration
      (CONFIGURE CTL00c5/18864389 (LD 1
        (IO 0 (SIZE 8) (BASE 0x0200))
	(NAME "CTL00c5/18864389[1]{GAME      }")
	(ACT Y)
      ))

      #SB AWE64 Wavetable Configuration
      (CONFIGURE CTL00c5/18864389 (LD 2
        (IO 0 (SIZE 4) (BASE 0x0620))
	(IO 1 (SIZE 4) (BASE 0x0A20))
	(IO 2 (SIZE 4) (BASE 0x0E20))
	(NAME "CTL00c5/18864389[2]{WAVETABLE     }")
	(ACT Y)
      ))
   
   5. Configure the sound modules for use with the kernel:

      a.  modconf
      b.  Configure "awe_wave" from the "misc" category with no parameters.
      c.  Configure "sb" from the "misc" category and provide
          the following parameters:

	  io=0x280 irq=9 dma=0 dma16=7 mpu_io=0x300
      
	  When "sb" is loaded, it will call "sound", "soundlow", 
          "soundcore" and "uart401"

      d.  select "adlib_card" from the "misc" category and provide
          the following parameters:

	  io=0x388

	  When "adlib_card" is loaded, it will call "opl3"
      
   6. Add users to the "audio" group

	adduser <username> audio

   7. Reboot


rob jacobs <r.a.jacobs@home.com>
~no witty sig required~



Reply to: