From alsa-user-owner@alsa.jcu.cz  Wed Jul 29 02:11:23 1998
Received: from hal.qcc.sk.ca (qmailr@hal.qcc.sk.ca [198.169.27.1])
	by marvin.jcu.cz (8.8.8/8.8.8) with SMTP id CAA23215
	for <alsa-user@alsa.jcu.cz>; Wed, 29 Jul 1998 02:10:48 +0200
Received: (qmail 16567 invoked from network); 28 Jul 1998 18:43:13 -0000
Received: from mikhail.qcc.sk.ca (198.169.27.34)
  by hal.qcc.sk.ca with QMQP; 28 Jul 1998 18:43:13 -0000
Message-ID: <19980728124429.A8747@qcc.sk.ca>
Date: Tue, 28 Jul 1998 12:44:29 -0600
From: Bruce Guenter <bruce.guenter@qcc.sk.ca>
To: alsa-user@alsa.jcu.cz
Subject: Two comments from a new user
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

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.

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)

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
-- 
Bruce Guenter, QCC Communications Corp.
WWW: http://www.qcc.sk.ca/~bguenter/
E-Mail: bruce.guenter@qcc.sk.ca

