From owner-freebsd-multimedia Sat Jun 21 01:34:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA19208 for multimedia-outgoing; Sat, 21 Jun 1997 01:34:13 -0700 (PDT) Received: from grunt.grondar.za (CiiD9KksbbiK1J00fp4l5so2tCQGNRcd@grunt.grondar.za [196.7.18.129]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA19187 for ; Sat, 21 Jun 1997 01:34:04 -0700 (PDT) Received: from greenpeace.grondar.za (greenpeace.grondar.za [196.7.18.132]) by grunt.grondar.za (8.8.5/8.8.5) with ESMTP id KAA17116; Sat, 21 Jun 1997 10:33:53 +0200 (SAT) Received: from greenpeace.grondar.za (localhost [127.0.0.1]) by greenpeace.grondar.za (8.8.5/8.8.5) with ESMTP id KAA08887; Sat, 21 Jun 1997 10:33:51 +0200 (SAT) Message-Id: <199706210833.KAA08887@greenpeace.grondar.za> X-Mailer: exmh version 2.0gamma 1/27/96 To: Amancio Hasty cc: Mark Murray , multimedia@FreeBSD.ORG Subject: Re: GUS PnP woes Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 21 Jun 1997 10:33:51 +0200 From: Mark Murray Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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