All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wes Janzen <superchkn@sbcglobal.net>
To: Kurt Roeckx <Q@ping.be>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Sb16 kernel parameters.
Date: Thu, 17 Jul 2003 18:27:05 -0500	[thread overview]
Message-ID: <3F1730C9.4020300@sbcglobal.net> (raw)
In-Reply-To: <20030717220915.GA5046@ping.be>

You'll need to use the kernel parameter 
(Documentation/kernel-parameters.txt) snd-sb16 .

Looking at the docs in the Documentation/sound/alsa directory:

  Module snd-sb16 and snd-sbawe
  -----------------------------

    Module for 16-bit SoundBlaster cards: SoundBlaster 16 (PnP),
                                          SoundBlaster AWE 32 (PnP),
                                          SoundBlaster AWE 64 PnP

    port        - port # for SB DSP 4.x chip (0x220,0x240,0x260)
    mpu_port    - port # for MPU-401 UART (0x300,0x330), -1 = disable
    awe_port    - base port # for EMU8000 synthesizer (0x620,0x640,0x660)
                   (snd-sbawe module only)
    irq         - IRQ # for SB DSP 4.x chip (5,7,9,10)
    dma8        - 8-bit DMA # for SB DSP 4.x chip (0,1,3)
    dma16       - 16-bit DMA # for SB DSP 4.x chip (5,6,7)
    mic_agc     - Mic Auto-Gain-Control - 0 = disable, 1 = enable (default)
    csp         - ASP/CSP chip support - 0 = disable (default), 1 = enable
    isapnp      - ISA PnP detection - 0 = disable, 1 = enable (default)
   
    Module supports up to 8 cards, autoprobe and ISA PnP.

    Note: To use Vibra16X cards in 16-bit half duplex mode, you must
          disable 16bit DMA with dma16 = -1 module parameter.
          Also, all Sound Blaster 16 type cards can operate in 16-bit
          half duplex mode through 8-bit DMA channel by disabling their
          16-bit DMA channel.

And at the end of the sb16.c file I found:

#ifndef MODULE

/* format is: snd-sb16=enable,index,id,isapnp,
                       port,mpu_port,fm_port,
                       irq,dma8,dma16,
                       mic_agc,csp,
                       [awe_port,seq_ports]

Which is probably what format you'll need to use but I don't know much 
about drivers...;-)
I don't know what "id" stands for either...

Good luck!


Kurt Roeckx wrote:

>I have an sound blaster 16, but I'm unable to get it working with
>2.6.
>
>During boot I get:
>Advanced Linux Sound Architecture Driver Version 0.9.4 (Mon Jun
>09 12:01:18 2003 UTC).
>ALSA device list:
>  #0: Sound Blaster 16 at 0x220, irq 5, dma 1&5
>
>Normally I'm using irq 7, and that has always worked for me, but
>for some reason it's selecting it.
>
>I'm still using my kernel parameter line from 2.4:
>sb=0x220,7,1,5
>
>And I tried some other things, but I'm unable to get it to work.
>
>
>How am I supposed to get the IRQ of the SB16 that's compiled in
>the kernel?
>
>
>Kurt
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>
>  
>


  reply	other threads:[~2003-07-17 23:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-17 22:09 Sb16 kernel parameters Kurt Roeckx
2003-07-17 23:27 ` Wes Janzen [this message]
2003-07-18  9:53   ` Takashi Iwai
2003-07-18 19:11     ` jw schultz
2003-07-18 19:00   ` Kurt Roeckx
2003-07-20 12:35     ` Kurt Roeckx

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F1730C9.4020300@sbcglobal.net \
    --to=superchkn@sbcglobal.net \
    --cc=Q@ping.be \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.