From owner-freebsd-multimedia Sun Aug 23 23:01:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA27156 for freebsd-multimedia-outgoing; Sun, 23 Aug 1998 23:01:06 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA27148 for ; Sun, 23 Aug 1998 23:00:59 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA00675; Mon, 24 Aug 1998 06:16:14 +0200 From: Luigi Rizzo Message-Id: <199808240416.GAA00675@labinfo.iet.unipi.it> Subject: Re: AudioTrix Pro detected but produces no sound :-( To: Jos.Backus@nl.origin-it.com (Jos Backus) Date: Mon, 24 Aug 1998 06:16:13 +0200 (MET DST) Cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <19980823212807.A28324@hal.mpn.cp.philips.com> from "Jos Backus" at Aug 23, 98 09:27:48 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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