Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 1999 19:55:22 +0000
From:      Alex <ak@freenet.co.uk>
To:        Jos Backus <Jos.Backus@nl.origin-it.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: newpcm: playback hanging/no sound on AudioTrix Pro
Message-ID:  <383AF12A.B7D6A494@freenet.co.uk>
References:  <19991123193731.A66831@hal.mpn.cp.philips.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <CS4231> 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: <CS4231> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?383AF12A.B7D6A494>