Date: Mon, 24 Aug 1998 06:16:13 +0200 (MET DST) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: Jos.Backus@nl.origin-it.com (Jos Backus) Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: AudioTrix Pro detected but produces no sound :-( Message-ID: <199808240416.GAA00675@labinfo.iet.unipi.it> In-Reply-To: <19980823212807.A28324@hal.mpn.cp.philips.com> from "Jos Backus" at Aug 23, 98 09:27:48 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> On Sun, Aug 23, 1998 at 10:11:08AM -0700, Bernie Doehner wrote: > > What OS version are you running? ... > Thanks, I applied this patch but I still see the ``FIOASYNC'' message, and obviously, since the patch was only trying to fix a problem when the user presses ctrl-C while doing audio I/O ... > ``cat some.wav > /dev/audio'' hanging in dspwr. I'm also seeing this: > Aug 23 20:22:16 jos /kernel: timeout flushing dbuf_out.chan, cnt 0xff00 flags > 0x00000041 > > This suggests to me that the problem is DMA-related... right... either a software problem, or a DMA misconfiguration problem. cnt 0xff00 means the output buffer is full yet there are no DMA requests coming. I am seeing the following recent change in /sys/i386/isa/isa.c which might be related. Try to remove the two lines below and see if things work better. cheers luigi RCS file: /usr/CVS-luigi/src/sys/i386/isa/isa.c,v retrieving revision 1.112 retrieving revision 1.113 diff -u -r1.112 -r1.113 --- src/sys/i386/isa/isa.c 1998/04/17 22:36:36 1.112 +++ src/sys/i386/isa/isa.c 1998/07/19 04:22:55 1.113 @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: isa.c,v 1.112 1998/04/17 22:36:36 des Exp $ + * $Id: isa.c,v 1.113 1998/07/19 04:22:55 bde Exp $ */ /* @@ -868,6 +868,8 @@ (dma_auto_mode & (1 << chan)) == 0 ) printf("isa_dmadone: channel %d not busy\n", chan); + if ((dma_auto_mode & (1 << chan)) == 0) + outb(chan & 4 ? DMA2_SMSK : DMA1_SMSK, (chan & 3) | 4); if (dma_bounced & (1 << chan)) { /* copy bounce buffer on read */ -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808240416.GAA00675>