From alsa-user-owner@alsa.jcu.cz  Wed Oct  7 06:07:25 1998
Received: from newton.pconline.com (newton.pconline.com [206.145.48.1])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id GAA02473
	for <alsa-user@jcu.cz>; Wed, 7 Oct 1998 06:02:57 +0200
Received: from jacquard (m18-2-11.pconline.com [206.145.52.27])
	by newton.pconline.com (8.8.5/8.8.5) with ESMTP id XAA27200
	for <alsa-user@jcu.cz>; Tue, 6 Oct 1998 23:02:53 -0500
Received: by pconline.com
	via sendmail from stdin
	id <m0zQknb-002PBhC@jacquard> (Debian Smail3.2.0.101)
	for alsa-user@jcu.cz; Tue, 6 Oct 1998 23:02:03 -0500 (CDT) 
Message-ID: <19981006230203.A2819@pconline.com>
Date: Tue, 6 Oct 1998 23:02:03 -0500
From: Forrest Cahoon <forrest@pconline.com>
To: alsa-user@jcu.cz
Subject: Re: snd-gusclassic.o: init_module: Device or resource busy
References: <19981006034245.A1206@pconline.com> <Pine.LNX.3.96.981006105647.7966A-100000@entry.jcu.cz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <Pine.LNX.3.96.981006105647.7966A-100000@entry.jcu.cz>; from Jaroslav Kysela on Tue, Oct 06, 1998 at 10:58:25AM +0200
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

On Tue, Oct 06, 1998 at 10:58:25AM +0200, Jaroslav Kysela wrote:
> On Tue, 6 Oct 1998, Forrest Cahoon wrote:
> 
> > I've got a GUS Classic in my Zeos Pentium 90, and I can't seem to get
> > the ALSA drivers to work.  I've got OSS/Lite to work, both compiled
> > into the kernel (2.0.35) and as a module, so I know the settings are
> > right: IRQ 11, io address 0x220, both DMA's set to 1.  [ ... ]

> > options snd-gusclassic snd_port=0x220 snd_irq=11 snd_dma1=1 snd_dma2=1
> 
> If you want disable second DMA channel use:
> 
> options snd-gusclassic snd_port=0x220 snd_irq=11 snd_dma1=1 snd_dma2=-1
> 
> 							Jaroslav

I did this, and I've got my card to work!  At least playback, that is.

I'd like to get recording working, too, but I am confused about what
dma1 and dma2 actually are now, and I want to understand clearly.

I've been looking thru the manuals I got with this card, and this is
what it looks like: dma1 is for playback and dma2 is for record.
Having them *both* set to 1 is the factory default, and it would work
that way under DOS/Windows, with the following caveat:

_Gravis Ultrasound User's Guide_, p. 10:

"If you wish to record and play simultaneously, be sure to set
different DMA channels for Playback and Recording.  (The frequency
must be the same for both.)"

I'm not sure what "frequency" is being referred to in that passage.


I also noticed this advice on p. 5 of the _User's Guide_, in a section
called "For Best Digital Recording - Read This":

"Try a 16-bit DMA channel.  Because some motherboards do not have
working 16-bit DMA channels, UltraSound's default DMA is an 8-bit
channel.  (The 8-bit channels are 0-3; the 16-bit channels are 4-7.)
If the 16-bit DMA channels work on your computer, use one --
performance, especially stereo recording, will be better.  If strange
things happen with the 16-bit channel, switch back to a free 8-bit
channel."


From these passages I guess I should set dma1 and dma2 to seperate
channels in the 4-7 range.  I'm not running Windows anywhere so I
can't run the config software that came with the card -- is there any
way for me to change them in Linux?

I'm also worried about conflicts.  I found /proc/dma and it looks like
this:

 1: GF1 record
 4: cascade

I thought dma1 was playback!  I did successfully play an audio file;
did it maybe not use DMA?  And what is cascade?  Is that also
soundcard related, or something completely different?  I also have a
3c509 network card which is not currently installed, but which I will
want to re-install.  Will it want a DMA channel, and if so, how do I
avoid a conflict?

Any help would be vastly appreciated!!! 

-- 
| Forrest Cahoon      | forrest@pconline.com |------------------------------|
| 850 21st Ave SE     |----------------------| Only unbalanced people       |
| Mpls MN  55414-2514 |                      |        can tip the scales... |

