From owner-freebsd-questions Sun Oct 29 17: 7:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from socrates.nmia.com (socrates.nmia.com [198.59.166.170]) by hub.freebsd.org (Postfix) with ESMTP id 7A03937B479 for ; Sun, 29 Oct 2000 17:07:28 -0800 (PST) Received: from plato.nmia.com(really [198.59.166.165]) by socrates.nmia.com via sendmail with smtp id for ; Sun, 29 Oct 2000 18:07:27 -0700 (MST) (Smail-3.2.0.109 1999-Oct-27 #6 built 2000-Oct-18) Date: Sun, 29 Oct 2000 18:07:26 -0700 (MST) From: Kyle Smith To: freebsd-questions@freebsd.org Subject: Sound Problems. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello. I am experienceing a problem with trying to get sound to work in FreeBSD. The sound card is a Yamaha OPL-SA3 card, on a Gateway 2000 Solo 9100SE Laptop. The FreeBSD Version is FreeBSD 4.1-RELEASE. tifa-lockheart:~> uname -a FreeBSD tifa-lockheart.internal.daydreamer.org 4.1-RELEASE FreeBSD 4.1-RELEASE #3: Sun Oct 29 17:40:09 MST 2000 ksmith@tifa-lockheart.internal.daydreamer.org:/usr/src/sys/compile/tifa-lockheart i386 tifa-lockheart:~> dmesg |grep pcm0 pcm0: at port 0x530-0x537,0x370-0x371 irq 5 drq 1 flags 0xc100 on isa0 The problem that I am experiencing is this error when I try to play sound files (In this case MP3's): PCM0: play interrupt timeout, channel dead. then the program (in this case amp) quits. When I try to When I try to play the sound files again, I get this error: Unable to open the audio device. Broken Pipe. I was looking at some of the FreeBSD archives reguarding this issue, and someone from there told me to apply this patch: Index: channel.c =================================================================== RCS file: /home/ncvs/src/sys/dev/sound/pcm/channel.c,v retrieving revision 1.32 diff -u -r1.32 channel.c --- channel.c 2000/06/20 23:42:08 1.32 +++ channel.c 2000/07/22 17:36:34 @@ -234,7 +234,7 @@ b->fl = b->bufsize - b->rl; b->underflow = 0; } else { - /* chn_dmaupdate(c); */ + chn_dmaupdate(c); } } I went ahead and applied this patch to no avail. I have also tried to turn off Plug-and-Play in my BIOS, recompiling the kernel with and (without the commented out) the following lines: (in /sys/i386/conf/tifa-lockheart) .... #device pca0 at isa? port IO_TIMER1 #device pcm #device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 device pcm0 at isa? irq 5 drq 1 flags 0x0 .... Any help on this matter would be greatly appreciated. Thank you very much. Please send me a copy response as I am not currently on the freebsd-questiong mailing list. --- Kyle Donald Smith ks1060@nmia.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message