From alsa-user-owner@alsa.jcu.cz  Wed Jul 29 09:39:14 1998
Received: from entry.jcu.cz (perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.8.8/8.8.8) with SMTP id JAA21280;
	Wed, 29 Jul 1998 09:38:42 +0200
Date: Wed, 29 Jul 1998 09:38:42 +0200 (MET DST)
From: Jaroslav Kysela <perex@jcu.cz>
To: Bruce Guenter <bruce.guenter@qcc.sk.ca>
cc: alsa-user@alsa.jcu.cz
Subject: Re: Two comments from a new user
In-Reply-To: <19980728124429.A8747@qcc.sk.ca>
Message-ID: <Pine.LNX.3.96.980729093337.25423C-100000@entry.jcu.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

On Tue, 28 Jul 1998, Bruce Guenter wrote:

> Greetings.
> 
> As background info, I just started using ALSA yesterday on my PC at work
> with a GUS Classic (version 3.7) card.  So far it's really good (better
> than OSS ever was -- none of the annoying glitches when doing sound
> playback), but I have a couple of questions/complaints:
> 
> 1) The way the mixer works is different than with OSS -- the volume of
> digital output (ex. when running mpg123) is controlled by the
> combination of the "synth" control and the "pcm" control -- turning one
> up without the other results in no sound at all.

GUS Classic have analog mixer with output from GF1 chip (synth control).
PCM output is done by GF1 voices (thus via synthesizer). PCM volume
control means digital volume of used voice(s) -> PCM depends on SYNTH.

> 2) This is more of a development comment.  The configure script uses the
> contents of /usr/src/linux/Makefile to determine the version of the
> kernel to compile for.  This failed on my system, since I don't have the
> complete kernel sources installed (only the headers).  Here is a
> suggested replacement for the portion of the configure.in script that
> uses it (tested, too :-).  The include file /usr/include/linux/version.h
> needs to exist if you are going to be compiling programs that depend on
> the kernel headers, but /usr/src/linux/Makefile does not.
> 
> dnl Check for kernel version...
> AC_MSG_CHECKING(for kernel version)
> kaversion=`fgrep UTS_RELEASE /usr/include/linux/version.h 2>/dev/null | cut -d\" -f2`
> kversion=`echo $kaversion | cut -d. -f1`
> kpatchlevel=`echo $kaversion | cut -d. -f2`
> ksublevel=`echo $kaversion | cut -d. -f3`
> if test -z "$kversion" || test -z "$kpatchlevel" || test -z "$ksublevel"; then
>   echo "failed (probably missing /usr/include/linux/version.h)"
>   exit 1
> fi
> AC_SUBST(kversion)
> AC_SUBST(kpatchlevel)
> AC_SUBST(ksublevel)
> AC_MSG_RESULT($kaversion)

OK. Updated..

> 3) I can't get anything other than the base-level sound module to
> autoload.  Can anyone see anything wrong with the following
> conf.modules:
> 
> alias	eth0	ne2k-pci
> alias	net-pf-4	off
> alias	net-pf-5	off
> 
> alias char-major-14 snd
> alias snd-minor-oss-0 snd-gusclassic
> alias snd-minor-oss-3 snd-pcm-oss
> alias snd-minor-oss-4 snd-pcm-oss
> alias snd-minor-oss-5 snd-pcm-oss
> alias snd-minor-oss-12 snd-pcm-oss
> alias snd-card-0 snd-gusclassic
> options snd snd_major=14 snd_cards_limit=1
> options	snd-gusclassic	snd_port=0x220 snd_irq=12 snd_dma1=6 snd_dma2=7

If you are using 0.2.0-pre2+ you should use snd-pcm1-oss module not
snd-pcm-oss (there was error in INSTALL).

						Jaroslav

-----
Jaroslav Kysela <perex@jcu.cz>
Academic Computer Centre, University of South Bohemia
Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic


