From alsa-user-owner@alsa.jcu.cz  Wed Nov 11 21:34:21 1998
Received: from entry.jcu.cz (IDENT:perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id VAA17899;
	Wed, 11 Nov 1998 21:32:33 +0100
Date: Wed, 11 Nov 1998 21:32:33 +0100 (CET)
From: Jaroslav Kysela <perex@jcu.cz>
To: pingling@elka.pw.edu.pl
cc: alsa-devel@jcu.cz, alsa-user@jcu.cz
Subject: Re: alsactl problems - FIX!!!
In-Reply-To: <364ae214.1401361@elektron.elka.pw.edu.pl>
Message-ID: <Pine.LNX.3.96.981111211945.4231E-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 Wed, 11 Nov 1998 pingling@elka.pw.edu.pl wrote:

> Hello!
> 
> I have a strange problem with alsactl. I have two soundcards (GUS ACE and
> SBPro) in my computer. Everything worked fine until I installed pre10.
> Although I have two cards (and both ARE working properly) alsactl stores
> settings of GUS only. When I try to specify the card number in the command
> line I get the following responses:

OK, I figured that alsactl in alsa-utils-0.0.7 is a little broken for
multiple soundcards and for some switches. I released new alsa-utils-0.0.8
where are all described trouble fixed (I hope)...

> 
>  root# alsactl store 1
> 
>  alsactl: Error in configuration file '/etc/asound.conf' (line 4): Cannot
>  find soundcard 'card1'...

Fixed...

>  root# alsactl store 2
> 
>  Cannot find soundcard 'card2'...

Fixed...

> /proc/asound/cards is as follows:
> 
> 0 [card1          ]: GUS - Gravis UltraSound Ace
>                      Gravis UltraSound Ace at 0x250, irq 11, dma 5&6
> 1 [card2          ]: SB - Sound Blaster Pro
>                      Sound Blaster Pro at 0x220, irq 7, dma 1
> 
> More fun is with restoring settings:
> 
>  root# alsactl restore
>  
>  alsactl: Error in configuration file '/etc/asound.conf' (line 8): parse
>  error

Fixed...

> It complains about 'switch...' line (In my case this line is not neccesary
> because ACE doesn't have a joystick interface).

OK. I removed this joystick switch in ALSA driver sources for GUS ACE, but
changes are only on CVS.. This "bug" isn't very important..

							Jaroslav

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


