From owner-freebsd-questions Wed May 3 9:35:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 090CA37BD1E for ; Wed, 3 May 2000 09:34:57 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (unverified [208.26.241.204]) by corinth.bossig.com (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Wed, 3 May 2000 09:39:28 -0700 Message-ID: <39105514.18417CEC@3-cities.com> Date: Wed, 03 May 2000 09:34:28 -0700 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Brennan W Stehling Cc: Travis Leuthauser , freebsd-questions@freebsd.org Subject: Re: sound blaster and snd0 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brennan W Stehling wrote: > > I am still at 3.4STABLE as I am waiting for issues with 4.0 to be worked > out. I attempted an upgrade a couple of times but had troubles getting > the ide drives to work, so I decided to wait till I can get a 4.1 cd and > build it cleanly. > > How do I get my sb16 working with 3.4 STABLE? You had to do a "./MAKDEV snd1" to use it in 3.4. This makes it link up with pcm1 that you are seeing in your boot. You may have to use "device pcm0" in your kernel. I was trying to find the sound card reference on http://www.freebsddiary.org/chronological.php3 but can't see it right now. What I saw was http://www.freebsddiary.org/sbvibra16.html, which worked for Dan. Kent > > Brennan Stehling - web developer and sys admin > projects: www.greasydaemon.com | www.onmilwaukee.com | www.sncalumni.com > > fortune: > Steele's Plagiarism of Somebody's Philosophy: > Everybody should believe in something -- I believe I'll have > another drink. > > On Wed, 3 May 2000, Kent Stewart wrote: > > > > > > > Brennan W Stehling wrote: > > > > > > I was able to compile with just... > > > > > > device pcm0 > > > > Just "device pcm" for 4.0. Then you will see > > > > sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b > > irq 5 drq > > 1,5 on isa0 > > sbc0: setting card to irq 5, drq 1, 5 > > pcm0: on sbc0 > > > > Which you access with ./MAKEDEV snd0 > > > > Kent > > > > > > > > ...but it does not seem to work fully. Here is the contents of > > > /dev/sndstat. > > > > > > Installed devices: > > > pcm1: at 0x220 irq 5 dma 1:3 > > > sequencer1: at 0x388 (not functional) > > > > > > That does not look right and when I start up X with kde it dies whenever I > > > try to run an application. I just re-install KDE fresh last night to make > > > sure it was not a KDE issue. > > > > > > I ran "sh MAKDEV snd1" and that did not appear to do much. Then I ran "sh > > > MAKDEV snd0" just to see if that work. Neither seemed to correct it. > > > Here is some info from dmesg. > > > > > > pcm1 (SB16pnp sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 flags > > > 0x13 on isa > > > pcm0: unit not configured, perhaps you want pcm1 ? > > > > > > Should I be compiling pcm1? Should I do a "sh MAKEDEV pcm0" to complete > > > this? > > > > > > If you need more info I will gladly provide it. > > > > > > Brennan Stehling - web developer and sys admin > > > projects: www.greasydaemon.com | www.onmilwaukee.com | www.sncalumni.com > > > > > > fortune: > > > Steele's Plagiarism of Somebody's Philosophy: > > > Everybody should believe in something -- I believe I'll have > > > another drink. > > > > > > On Wed, 3 May 2000, Travis Leuthauser wrote: > > > > > > > Use just device pcm0. > > > > > > > > Travis Leuthauser > > > > Network Administrator > > > > DDS Group > > > > > > > > ----- Original Message ----- > > > > From: "Brennan W Stehling" > > > > To: "Kent Stewart" > > > > Cc: > > > > Sent: Wednesday, May 03, 2000 10:01 AM > > > > Subject: Re: sound blaster and snd0 > > > > > > > > > > > > > I tried the following and I cannot even get the kernel to compile. > > > > > > > > > > controller snd1 > > > > > device pcm0 > > > > > > > > > > I can run config and make depend alright, but the make bombs out. What > > > > > could I be doing wrong? > > > > > > > > > > Brennan Stehling - web developer and sys admin > > > > > projects: www.greasydaemon.com | www.onmilwaukee.com | www.sncalumni.com > > > > > > > > > > fortune: > > > > > "By the time they had diminished from 50 to 8, the other dwarves began > > > > > to suspect 'Hungry' ..." > > > > > -- Gary Larson, "The Far Side" > > > > > > > > > > On Tue, 2 May 2000, Kent Stewart wrote: > > > > > > > > > > > > > > > > > > > > > > > Brennan W Stehling wrote: > > > > > > > > > > > > > > I had sound working before and it works so easily that I am confused > > > > as to > > > > > > > why it is not working now. I have a simple Sound Blaster card and my > > > > > > > hardware is plug n play. I think i can use the following kernel > > > > options > > > > > > > to get it to work. > > > > > > > > > > > > > > #controller snd0 > > > > > > > #device sb0 > > > > > > > #device sbxvi0 > > > > > > > #device sbmidi0 > > > > > > > #device awe0 > > > > > > > #device pas0 > > > > > > > > > > > > > > I have turned on the first two lines and the sound did not work. I > > > > turn > > > > > > > on the rest and it does not work. It just does not want to work. > > > > > > > > > > > > > > What I am now thinking is that I am forgetting this final step in the > > > > > > > build for this device... > > > > > > > > > > > > > > cd /dev; sh MAKEDEV snd0 > > > > > > > > > > > > I use "device pcm" in the kernel and did a "./MAKEDEV snd0" to get > > > > > > sound on 4.0. If you are using 3.4, you have to make snd1. Those are > > > > > > the only two things I did to make sound work with KDE. I had to enable > > > > > > system sounds in KDE and set kscd to the proper /dev/acd0c for the > > > > > > cdrom. > > > > > > > > > > > > Kent > > > > > > > > > > > > > > > > > > > > If I do that I am thinking that sound will work once again. Does that > > > > > > > sound right? What kernel options should I use exactly for my > > > > hardware? > > > > > > > > > > > > > > Here is some info from dmesg... > > > > > > > > > > > > > > PCI bus > > > > > > > Probing for PnP devices: > > > > > > > CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff Comp ID: > > > > PNPb02f > > > > > > > [0x2fb0d041] > > > > > > > > > > > > > > I can provide more hardware info if necessary. > > > > > > > > > > > > > > Brennan Stehling - web developer and sys admin > > > > > > > projects: www.greasydaemon.com | www.onmilwaukee.com | > > > > www.sncalumni.com > -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message