From alsa-user-owner@alsa.jcu.cz  Sun Jan 31 12:23:53 1999
Received: from pluto.andeby (IDENT:ahermans@t4o212p29.telia.com [195.204.226.209])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id MAA24276
	for <alsa-user@alsa.jcu.cz>; Sun, 31 Jan 1999 12:23:18 +0100
Received: from localhost (ahermans@localhost)
	by pluto.andeby (8.8.7/8.8.7) with ESMTP id MAA06053;
	Sun, 31 Jan 1999 12:23:56 +0100
Date: Sun, 31 Jan 1999 12:23:55 +0100 (CET)
From: Anders Semb Hermansen <ahermans@vf.telia.no>
To: Dustin Puryear <dpuryear@usa.net>
cc: alsa-user@alsa.jcu.cz
Subject: Re: Running ALSA with a STB SoundRage32
In-Reply-To: <36B1DBA1.26812906@usa.net>
Message-ID: <Pine.LNX.4.04.9901311220190.6030-100000@pluto.andeby>
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 Fri, 29 Jan 1999, Dustin Puryear wrote:

> 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:
    ^^^^^^^^
It should be --with-isapnp=yes

> 
> 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

Try to compile alsa-lib-0.3.0pre3 instead

> 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?
> 

Looks like you need the GNU libtool package. I don't know what dist. you
use but it's in the RedHat dist. that I use (5.2)

> Regards, Dustin
> 
> -- 
> Dustin Puryear * dpuryear@usa.net * ICQ 6644253 
> Help Crack Government Encryption: http://www.distributed.net
> Lesser artists borrow. Great artists steal.
> 
> 
> ------
> To unsubscribe from <alsa-user@alsa.jcu.cz> mailing list send message
> 'unsubscribe' in the body of message to <alsa-user-request@alsa.jcu.cz>.
> 

Hope it helps,

Anders


--
Anders Semb Hermansen
E-Mail: <ahermans@vf.telia.no>
Cellmail: <93802837@sms.netcom.no>


