Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 15:22:02 -0500 (CDT)
From:      John Utz <john@utzweb.net>
To:        jmdupoux@lineone.net
Cc:        questions@FreeBSD.ORG, <freebsd-multimedia@FreeBSD.ORG>, <andy@CRWdog.demon.co.uk>
Subject:   Re: Kernel config parameters for soundcard - 4.4 release 
Message-ID:  <Pine.LNX.4.44.0204191510380.20287-100000@jupiter.linuxengine.net>
In-Reply-To: <3CC07D21.19502.4D69A0@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi;

On Fri, 19 Apr 2002 jmdupoux@lineone.net wrote:

> ok, when I looked at man and the handbook the impression was that sbc
> was typically suited for some specific compatible chipsets, while sb or
> csa for example targeted others.

not quite. the man page is a tad out of date. so you shouldnt take it to 
be a full list. sbc is a bridge driver for things that know how to act 
like an SB16.

> But anyhow, now I've tried a build with sbc there still seems to be one
> or two problems
> 
> it still looks like no mixer is being created, only one device created
> pcm0: <SB dsp 3.01> at io 0x220 irq 5 drq 1 (1p, 1w, 1v channels)

only gonna be one device. you have succeeded. so far :-)
recall that the other things midi, opl, etc dont work yet.

> and the response from trying to play  a file is not a sound output:
> 
> sb_dspwr(0x40) timed out.
> sb_dspwr(0x40) timed out.
> sb_dspwr(0x40) timed out.
> sb_dspwr(0x40) timed out.
> 
> before returing to the prompt, in complete silence

oh. that's looking broken. :-(

and upon reflection, the device string isnt looking good either. i'll ssh 
into my box at home later, but i think that the SB dsp 3.01 isnt what i 
would expect to see for the string, i'd expect a manufacturer's name.

did you try just using pcm *without* sbc? we may be working too hard...pcm 
may already know how to attach to your hardware already.

> entering mixer by itself at the prompt gives me a list of current
> settings, all at zero, but any attempt to run for example mixer vol 10
> returns mixer: MIXER_WRITE: Device not configured

did you do a MAKEDEV?

su to root, cd /dev and do an

sh MAKEDEV snd0

and go back to being a normal user

then do a 

cat /dev/sndstat 

and see what you get. then try mixer and see what you get.

> still stumped

were making progress tho.....

> jmdupoux_@_lineone.net
> 
> 
> On 19 Apr 2002 at 10:43, John Utz wrote:
> 
> > yup.
> > 
> > jean, you need to add a c.
> > 
> > you want sbc, not sb
> > 
> > the sbc device is the pcm bridge driver for soundblaster compats.
> > 
> > sb is the old voxware driver for sounblaster compats.
> > 
> > subtle, but crucial :-)
> > 
> > On Fri, 19 Apr 2002, Andy Sparrow wrote:
> > 
> > > > Ok, here's the file - I havnt  changed much from generic yet since the
> > > > soundcard was pretty much the only sticking point
> > > 
> > > > # Multimedia support
> > > > # Sound card - aztech audio galaxy pro II cs4231
> > > > 
> > > > device pcm
> > >   ^^^^^^^^^^
> > > 
> > > Non-VOXWARE
> > > 
> > > > device sb0 at isa? port  0x220 irq 5  drq 0 flags 0x11
> > >   ^^^^^^^^^^
> > > 
> > > VOXWARE. Incompatible with above (requires 'device snd').
> > > 
> > > > 
> > > > 
> > > > # commented  trash ....
> > > > # device snd0
> > > > # device sbmidi0 at isa? port 0x330 irq 9 
> > > > # device mss0 at isa? port 0x530 irq 7 drq 5
> > > > # flags 0x11
> > > > # device sbmidi0 at isa? port 0x330 irq 9
> > > > # device opl0 at isa? port 0x388
> > > > # device joy0 at isa? port 0x200
> > > > # options CONFIG_SBPRO
> > > > # options __SGNXPRO__
> > > 
> > > 
> > 
> > -- 
> > 
> > John L. Utz III
> > john@utzweb.net
> > 
> > Idiocy is the Impulse Function in the Convolution of Life
> > 
> 
> 

-- 

John L. Utz III
john@utzweb.net

Idiocy is the Impulse Function in the Convolution of Life


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0204191510380.20287-100000>