From owner-freebsd-questions Wed May 3 15:25:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from winconx.com (ns1.winconx.net [208.60.80.2]) by hub.freebsd.org (Postfix) with SMTP id 3387237B922 for ; Wed, 3 May 2000 15:25:28 -0700 (PDT) (envelope-from travis@winconx.com) Received: (qmail 66215 invoked from network); 3 May 2000 22:28:07 -0000 Received: from dhcp01.winconx.net (HELO travis) (208.60.80.32) by ns1.winconx.net with SMTP; 3 May 2000 22:28:07 -0000 Message-ID: <010801bfb54e$76f4e260$20503cd0@travis> From: "Travis Leuthauser" To: "Brennan W Stehling" Cc: References: Subject: Re: sound blaster and snd0 Date: Wed, 3 May 2000 17:25:19 -0500 Organization: DDS Group of Companies MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here's what I've got on my 3.4 box with an ISA PnP Sound Blaster 64 In /boot/kernel.conf pnp 1 0 os enable port0 0x220 port1 0x330 port2 0x388 irq0 5 drq0 1 drq1 5 pnp 1 1 os enable port0 0x200 pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20 q In kernel config controller pnp0 controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 device sbxvi0 at isa? drq5 device sbmidi0 at isa? port 0x330 device awe0 at isa? port 0x620 device joy0 at isa? port "IO_GAME" That works perfectly for me in and out of x with enlightenment. Plays audio cd's, mp3's, and pretty much whatever else you need. Hope that points you a little closer to where you need to be. Travis Leuthauser Network Administrator DDS Group ----- Original Message ----- From: "Brennan W Stehling" To: "Kent Stewart" Cc: "Travis Leuthauser" ; Sent: Wednesday, May 03, 2000 2:07 PM Subject: Re: sound blaster and snd0 > I seem to have it installed, but XFree86 pops when I try to use an > application in X which wants to use the sound drivers. > > Attached I have 3 files. > > sndstat - the contents of sndstat > dmesg.txt - the full log from dmesg > x.txt - recorded output from running x windows and making it crash > > It could be that my devices are severely messed up. I deleted files like > mixer0 and such and did... > > sh MAKEDEV snd1 > sh MAKEDEV all > > This built things various audio devices, but X seems not to like it much. > There is no device at /dev/snd1, but there is... > > audio1 > dsp1 > mixer1 > midi1 > music1 > pcaudio > pcaudioctl > > I do not know if I am missing a device or if I have something screwed up. > I would leave it and go without sound as I have been, but X dies on me, no > matter if is gnome/elightenment or kde. It is rather frustrating. > > Brennan Stehling - web developer and sys admin > projects: www.greasydaemon.com | www.onmilwaukee.com | www.sncalumni.com > > fortune: > The idea is to die young as late as possible. > -- Ashley Montagu > > 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 > > > > > > > > > > > > > > fortune: > > > > > > > A fool-proof method for sculpting an elephant: first, get a huge block > > > > > > > of marble; then you chip away everything that doesn't look like an > > > > > > > elephant. > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > > > > -- > > > > > > 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 > > > > > > > > > > > > > > > > > -- > > 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