From alsa-user-owner@alsa.jcu.cz  Wed Feb  3 22:51:34 1999
Received: from pluto.andeby (IDENT:ahermans@t1o212p39.telia.com [195.204.226.39])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id WAA18856
	for <alsa-user@alsa.jcu.cz>; Wed, 3 Feb 1999 22:49:33 +0100
Received: from localhost (ahermans@localhost)
	by pluto.andeby (8.8.7/8.8.7) with ESMTP id WAA00538;
	Wed, 3 Feb 1999 22:49:33 +0100
Date: Wed, 3 Feb 1999 22:49:32 +0100 (CET)
From: Anders Semb Hermansen <ahermans@vf.telia.no>
To: Julian Grizzard <jgrizza@clemson.edu>
cc: ALSA <alsa-user@alsa.jcu.cz>
Subject: Re: Problem getting X11amp to play mp3's on PCI128
In-Reply-To: <000201be4fbb$09ec1ca0$271110ac@Julian.clemson.edu>
Message-ID: <Pine.LNX.4.04.9902032245530.536-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 Wed, 3 Feb 1999, Julian Grizzard wrote:

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

Looks good.

> 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

You can save and load mixer settings with the alsactl program. See
alsa-utils package.

> 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

It needs OSS emulation module to be loaded.
modprobe snd-pcm1-oss

This question is answered in the FAQ.

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

This means that the driver is loaded but not 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
> 
> ------
> 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>.
> 

mvh
Anders

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



