From alsa-user-owner@alsa.jcu.cz  Sat Dec  5 05:34:15 1998
Received: from zermelo.csc.ncsu.edu (zermelo.csc.ncsu.edu [152.1.213.201])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id FAA24636
	for <alsa-user@alsa.jcu.cz>; Sat, 5 Dec 1998 05:32:25 +0100
From: bwmott@eos.ncsu.edu
Received: (from bwmott@localhost)
          by zermelo.csc.ncsu.edu (8.8.4/UC02Jan97)
	  id XAA27024 for alsa-user@alsa.jcu.cz; Fri, 4 Dec 1998 23:32:13 -0500 (EST)
Message-Id: <199812050432.XAA27024@zermelo.csc.ncsu.edu>
Subject: Re: AudioPCI and Game Port
To: alsa-user@alsa.jcu.cz
Date: Fri, 4 Dec 1998 23:32:11 -0500 (EST)
In-Reply-To: <Pine.LNX.3.96.981204210959.29474A-100000@entry.jcu.cz> from "Jaroslav Kysela" at Dec 4, 98 09:12:12 pm
MIME-Version: 1.0
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

> > I've got an AudioPCI card and I've been able to get the ALSA drivers
> > working with it, however, I can't seem to get the game port to show up
> > for the joystick driver.
> > 
> > Does anyone know how to get the game port working on this card?
> 
> 1. get latest ALSA driver (0.2.0pre10p2), alsa-lib and alsa-utils
> 2. use alsactl for store configuration (if you don't have already one
>    in /etc/asound.conf file) - command is 'alsactl store'
> 3. look to /etc/asound.conf and rewrite line:
> 
> 	switch( "Joystick", false )
> 
>   to
> 
> 	switch( "Joystick", true )
> 
> 4. restore driver configuration - 'alsactl restore'

Hi!  

I've done what you described above, however, when I try to do 
the 'alsactl restore' step I get the following error:

  alsactl: Error in configuration file '/etc/asound.conf' (line 10): Value 
  for switch 'Joystick Address' out of range (0-0)...

Here's the information from asound.conf:

soundcard( "card1" ) {
  control {
    ; Type is 'bool'.
    switch( "Joystick", true )
    ; Type is 'word'.
    ; Available addresses - 0x200, 0x208, 0x210, 0x218
    switch( "Joystick Address", 512 )    ***** THIS IS LINE 10 ******
  }

Any idea what I'm doing wrong?

Thanks,
Brad

--------------------------------------------------------------------------
Bradford W. Mott (bwmott@acm.org)          Computer Science Department
http://www4.ncsu.edu/~bwmott/www           North Carolina State University
--------------------------------------------------------------------------

