From alsa-user-owner@alsa.jcu.cz  Sun Jan 31 04:57:12 1999
Received: from smtp1.mindspring.com (smtp1.mindspring.com [207.69.200.31])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id EAA27263
	for <alsa-user@alsa.jcu.cz>; Sun, 31 Jan 1999 04:54:49 +0100
Received: from usa.net (pool-207-205-236-47.dlls.grid.net [207.205.236.47])
	by smtp1.mindspring.com (8.8.5/8.8.5) with ESMTP id WAA22391
	for <alsa-user@alsa.jcu.cz>; Sat, 30 Jan 1999 22:54:47 -0500 (EST)
Message-ID: <36B1DBA1.26812906@usa.net>
Date: Fri, 29 Jan 1999 10:02:41 -0600
From: Dustin Puryear <dpuryear@usa.net>
MIME-Version: 1.0
To: alsa-user@alsa.jcu.cz
Subject: Re: Running ALSA with a STB SoundRage32
References: <Pine.LNX.3.96.990122101821.29747A-100000@entry.jcu.cz>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Jaroslav Kysela wrote:
> OK. Can you try this patch (or latest CVS source)?
> 
> RCS file: /home/alsa/cvsroot/alsa-driver/cards/interwave.c,v
> retrieving revision 1.18
> diff -u -r1.18 interwave.c
> --- interwave.c 1998/12/30 20:12:09     1.18
> +++ interwave.c 1999/01/22 09:17:38
> @@ -102,6 +102,9 @@
>         /* Gravis UltraSound Plug & Play */
>         (ISAPNP_VENDOR('G','R','V')<<16)|ISAPNP_DEVICE(0x0001),   /* DEVICE */
>         (ISAPNP_VENDOR('G','R','V')<<16)|ISAPNP_FUNCTION(0x0000), /* Synth & Codec */
> +       /* STB SoundRage32 */
> +       (ISAPNP_VENDOR('S','T','B')<<16)|ISAPNP_DEVICE(0x011a),   /* DEVICE */
> +       (ISAPNP_VENDOR('S','T','B')<<16)|ISAPNP_FUNCTION(0x0010), /* Synth & Codec */
>  #else
>         /* InterWave STB with TEA6330T */
>         (ISAPNP_VENDOR('A','D','V')<<16)|ISAPNP_DEVICE(0x550a),   /* DEVICE */

Okay, after having problems with compiling this I then tried to download
the pre3 driver release. I compiled and installed (configure
--with-pnp=yes) the drivers). I then ran everything like so:

dpuryear@ka:/usr/local/src/alsa# modprobe snd-interwave
dpuryear@ka:/usr/local/src/alsa# alsamixer

alsamixer: failed to open mixer #0/#0: Success

So, I am no longer getting errors from modprobe. However, I still fail
to have access to sound. Okay, I have no idea what is going on so I
decide to recompile pre2 library and utilities. Now, I can't recompile
them (I think this is a problem on my part). I try to configure alsa-lib
but get:

...
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... (cached) yes
configure: AM_PROG_LIBTOOL: command not found
checking how to run the C preprocessor... (cached) gcc -E
...

AM_PROG_LIBTOOL? Okay, configure isn't finding libtool or something. I
then go though src and sed '/@LIBTOOL@/libtool/g' Makefile. Bam, I then
start make from the base directory and get:

...
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -c
-fPIC -DPIC control.c
mv -f control.o control.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -c
control.c >/dev/null 2>&1
libtool --mode=link gcc -g -O2  -o libcontrol.la   cards.lo control.lo  
libtool: link: you must specify an installation directory with `-rpath'
Try `libtool --help --mode=link' for more information.
make[2]: *** [libcontrol.la] Error 1
make[2]: Leaving directory
`/usr/local/src/alsa/alsa-lib-0.3.0pre2/src/control'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/alsa/alsa-lib-0.3.0pre2/src'
make: *** [all-recursive] Error 1

It's obvious I must be doing something wrong. What that is I have no
clue.  Any help?

Regards, Dustin

-- 
Dustin Puryear * dpuryear@usa.net * ICQ 6644253 
Help Crack Government Encryption: http://www.distributed.net
Lesser artists borrow. Great artists steal.



