From alsa-user-owner@alsa.jcu.cz  Wed Feb  3 22:28:24 1999
Received: from CLEMSON.EDU (mail.clemson.edu [130.127.28.14])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id WAA16925
	for <alsa-user@alsa.jcu.cz>; Wed, 3 Feb 1999 22:20:50 +0100
Received: from Julian (172-16-17-39.generic.clemson.edu [172.16.17.39])
	by CLEMSON.EDU (8.9.1/8.9.1) with SMTP id QAA13267
	for <alsa-user@alsa.jcu.cz>; Wed, 3 Feb 1999 16:20:19 -0500 (EST)
From: "Julian Grizzard" <jgrizza@CLEMSON.EDU>
To: "ALSA" <alsa-user@alsa.jcu.cz>
Subject: Problem getting X11amp to play mp3's on PCI128
Date: Wed, 3 Feb 1999 16:20:35 -0500
Message-ID: <000201be4fbb$09ec1ca0$271110ac@Julian.clemson.edu>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

I am running Slackware 3.6 with Kernel 2.0.35 and Window Maker on a regular
intel machine.  I did not install the OSS drivers for the sound card, so
using the ALSA drivers is my first attempt to get the Sound Blaster PCI128
sound card to work with linux. I installed the drivers
(alsa-driver-0.3.0-pre3.tar.gz), libs (alsa-lib-0.3.0pre3a.tar.gz), and
utils (alsa-utils-0.3.0-pre3.tar.gz) as the mini-how to described.  I edited
my /etc/conf.modules file which now reads:
	  alias net-pf-4 off
        alias net-pf-5 off
        alias snd_dac1_frame_size-128 snd
        alias snd_dac2_frame_size-128 snd
        alias snd_adc_frame_size-128 snd
        keep
        path[pcmcia]=/lib/modules 'uname -r '
I also edited my /etc/rc.d/rc.modules file and added the line:
        /sbin/modprobe snd-audiopci
After rebooting and starting Window Maker, I ran a few test to see if my
sound card was working.  When I ran cat /proc/modules, it displayed:
     iBCS              28            0
     ds                 2            2
     tcic               2            2
     pcmcia_core        9    [ds tcic]       0
     psaux              1            1
     ne                 2            1
     8390               2    [ne]    0
     snd-audiopci       1            0
     snd-ens1370        3    [snd-audiopci]  0
     snd-pcm1           4    [snd-ens1370]   0
     snd-ac97-codec     3    [snd-ens1370]   0
     snd-mixer          4    [snd-audiopci snd-ens1370 snd-ac97-codec]
0
     snd-midi           4    [snd-audiopci snd-ens1370]      0
     snd-pcm            3    [snd-audiopci snd-pcm1] 0
     snd                8    [snd-audiopci snd-ens1370 snd-pcm1
snd-ac97-codec snd-mixer         snd-midi snd-pcm]   0
     ppp                5            0
     slip               2            0
     slhc               2    [ppp slip]      0
     lp                 2            0
The above looked okay to me, but I was not sure if everything was correct?
I also ran cat /proc/asound/cards which gave me:
0 [card1          ]: AudioPCI - Ensoniq AudioPCI
                     Ensoniq AudioPCI ES1370 at 0x1000, irq 11

Next I ran the amixer program and I unmuted everything.  There didn't seem
to be a problem with the mixer, except I am not sure how to keep the mixer
settings from going back to the default settings after rebooting?  Next, I
played the file english.au using the cat command -- cat < english.au >
/dev/snd/pcm00 and that worked okay.  My problem is that when I started
x11amp from the wterm, it would not play any mp3 files.  When I hit the play
button, it wrote out:
     Unable to open the audio device
     Unable to reset the audio device
Also, upon looking around in the /proc/asound/ directory, I tried cat
/proc/asound/0/pcm0.  It displayed:
     ES1370 DAC2/ADC

     Playback isn't active.
     Record isn't active.


I am not sure what I haven't done correctly?  I looked through the
trouble-shooting section in the mini-how to and it mentioned:  Make sure
your sound card is active.  The only documentation that I found on this was
with an ISA PnP sound card, which I don't have.  Maybe I missed something on
activating the sound card?  Maybe my conf.modules file isn't correct.  I
read through the INSTALL file that came with the drivers, and I didn't see
what I might have missed?  If anyone can tell me what I have done wrong, I
would greatly appreciate it!  Sorry if this email got a little lengthy-:D


