Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 1997 10:33:51 +0200
From:      Mark Murray <mark@grondar.za>
To:        Amancio Hasty <hasty@rah.star-gate.com>
Cc:        Mark Murray <mark@grondar.za>, multimedia@FreeBSD.ORG
Subject:   Re: GUS PnP woes 
Message-ID:  <199706210833.KAA08887@greenpeace.grondar.za>

next in thread | raw e-mail | index | archive | help
Amancio Hasty wrote:
> That looks more like a bug with speak_freely than with the
> sound driver. Please make sure that speak_freely does indeed
> attempt to open /dev/audio or /dev/dsp with RW .
> 
> If it tries to open /dev/audio0 for playback and /dev/audio1 for reading
> the sound driver will fail. This mode of full duplex audio was used
> in pre Sound Driver 3.5 drivers.

Hmmm...

Two processes can't open /dev/audio. How should this work?

Speak_freely has one process doing the reading and one doing the 
writing. The one that starts second cannot get /dev/audio because it is 
busy. This can be duplicated by going 'cat /dev/audio > /dev/audio'.

M

> 
> 	Cheers,
> 	Amancio
> .
> From The Desk Of Mark Murray :
> > Hello
> > 
> > I have a GUS PnP card plugged into a Giga-Byte GA586DX MB.
> > 
> > My kernel config looks like:
> > 
> > controller      snd0
> > device          gus0 at isa? vector gusintr
> > 
> > The card probes so:
> > 
> > Checking for GUS Plug-n-Play ...
> > Board Vendor ID: GRV0001     Board Serial Number: 00000001
> > gus0 at 0x220 irq 9 drq 7 flags 0x6 on isa
> >  at 0x32c dma 6,7
> >  at 0x220 irq 9 dma 7,6
> > 
> > I cannot get the card to work in full duplex with speak_freely.
> > 
> > Comments in LINT suggest that it is better to have the DRQ's on
> > 1 & 3, rather than 6 & 7. Is this the case? Setting them in DOS and
> > rebooting did not succeed in changing anything - the IRQ/DRQ remained
> > the same as above after reboot. Any clues?
> > 
> > This is what 'cat /dev/sndstat' produces (The rest of the system is 
> > 3.0-CURR):
> > 
> > VoxWare Sound Driver:3.5-alpha7-970518 (Sun May 18 14:50:42 PDT 1997 
> > Amancio Hasty@rah.star-gate.com)
> > Config options: 188090a
> > 
> > Installed drivers: 
> > Type 4: Gravis Ultrasound
> > 
> > 
> > Card config: 
> > Gravis Ultrasound at 0x220 irq 9 drq 7,6
> > 
> > Audio devices:
> > 0: GUS PNP (CS4231) (DUPLEX)
> > 1: Gravis UltraSound (DUPLEX)
> > 
> > Synth devices:
> > 0: Gravis PNP (2k)
> > 
> > Midi devices:
> > 0: Gravis UltraSound Midi
> > 
> > Timers:
> > 0: System clock
> > 1: GUS
> > 
> > Mixers:
> > 0: AD1848/CS4248/CS4231
> > 1: Gravis Ultrasound
> > 
> > M
> > -- 
> > Mark Murray
> > Join the anti-SPAM movement: http://www.cauce.org
> > 
--
Mark Murray
Join the anti-SPAM movement: http://www.cauce.org





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