On Thu, Apr 22, 2004 at 05:38:17PM +0600, Adnan Shah
wrote:> I have just installed the Alsa drivers
> for my 2.4.18-14 kernel (RH8). I have configured
> the sound card ok with alsaconf and tested
> with the aplay , works fine. But when I run
> asterisk it says..
> -------------------------------
> [chan_alsa.so] => (ALSA Console Channel Driver)
> Apr 20 18:28:34 ERROR[8192]: chan_alsa.c:339 alsa_card_init:
> snd_pcm_open failed: No such device or address
> Apr 20 18:28:34 ERROR[8192]: chan_alsa.c:339 alsa_card_init:
> snd_pcm_open failed: No such device or address
> Apr 20 18:28:34 ERROR[8192]: chan_alsa.c:474 soundcard_init: Problem
> opening alsa I/O devices
>
> == No sound card detected -- console channel will be unavailable
>
> == Turn off ALSA support by adding 'noload=chan_alsa.so' in
> /etc/asterisk/modules.conf
>
> ------------------------------
> earlier when using the OSS, the playback was choppy not smooth,
> I added some more RAM (total 256 on Intel PIII 600 processor), but the
> problem was still there so I turned to the Alsa drivers.Asterisk
doesn't
> seem to work with it ....what might be wrong, any ideas ?
Ok, this may seems like a silly question, but do you have your sound
card already opened by another application, such as xmms, artsd, etc?
Check for any running applications that may be using the sound card. If
I remember correctly, if your card doesn't do any kind of stream mixing
on board (like the emu10k1) only one application can have control over
it at any given time. If that doesn't work, get a hold of me off list
and I'll see if I can fix it. I'm Cresl1n on #asterisk (though I'm
often away from my IRC console). Thanks.
Matthew Fredrickson