Date: Sun, 29 Oct 2000 18:07:26 -0700 (MST) From: Kyle Smith <ks1060@nmia.com> To: freebsd-questions@freebsd.org Subject: Sound Problems. Message-ID: <Pine.LNX.3.93.1001029180638.31343A-100000@plato.nmia.com>
next in thread | raw e-mail | index | archive | help
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: <OPL3-SA3 (YMF715)> 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 <a href="file:">file:</a> /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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.93.1001029180638.31343A-100000>