From owner-freebsd-multimedia Tue Nov 23 11:54:44 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from satsuma.mail.easynet.net (satsuma.mail.easynet.net [195.40.1.44]) by hub.freebsd.org (Postfix) with ESMTP id EDDA914CAF for ; Tue, 23 Nov 1999 11:54:41 -0800 (PST) (envelope-from ak@freenet.co.uk) Received: from freenet.co.uk (alister.w.easynet.co.uk [212.212.251.86]) by satsuma.mail.easynet.net with ESMTP id 822157B3AD; Tue, 23 Nov 1999 19:53:04 +0000 (GMT) Message-ID: <383AF12A.B7D6A494@freenet.co.uk> Date: Tue, 23 Nov 1999 19:55:22 +0000 From: Alex X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Jos Backus Cc: freebsd-multimedia@freebsd.org Subject: Re: newpcm: playback hanging/no sound on AudioTrix Pro References: <19991123193731.A66831@hal.mpn.cp.philips.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jos Backus wrote: > > After doing > > # cat INTRO-AD.WAV > /dev/dsp & > > I'm seeing > > 20668 root -6 5 208K 96K pcmwr 0:00 0.00% 0.00% cat > > This is with yesterday's -current, today's kernel and > > FreeBSD Audio Driver (newpcm) Nov 23 1999 16:50:08 > Installed devices: > pcm0: at io 0x530 irq 11 drq 3:0 (1/1 channels duplex) > > and > > device pcm0 at isa ? port ? irq 11 drq 3 flags 0x10 > > which probes as > > pcm0: at port 0x530-0x537,0x538-0x539 irq 11 drq 3 flags 0xa210 on > isa0 > > The card is configured (according to the DOS setup utility) as > > Wave: irq 11, play dma 3, rec DMA 0, addr 530 > SB: irq 5, dma 1, addr 220 > MPU-401: irq 9, addr 330 > > Apparently, cat is never woken up from sleeping on pcmwr; does anybody have > any idea where to start looking? Try using DMA channels 1 and 0 (instead of 3 and 0). There seems to be a bug somewhere in newpcm that causes the sound card to sleep on pcmwr, unless the DRQs used are 1 and 0 (I tried various other combinations with no luck). The order is important - 0:1 doesn't work either. I haven't had the time to investigate it further. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message