From owner-freebsd-multimedia Fri Apr 19 13:22:25 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 42DD337B405; Fri, 19 Apr 2002 13:22:05 -0700 (PDT) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g3JKM2T27626; Fri, 19 Apr 2002 15:22:02 -0500 Date: Fri, 19 Apr 2002 15:22:02 -0500 (CDT) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: jmdupoux@lineone.net Cc: questions@FreeBSD.ORG, , Subject: Re: Kernel config parameters for soundcard - 4.4 release In-Reply-To: <3CC07D21.19502.4D69A0@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: 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