[Asterisk-Users] Problems with asterisk and gnophone on Gentoo box

Alastair Maw asterisk at almaw.com
Thu Mar 18 12:57:23 MST 2004


On 18/03/04 18:46, Kevin wrote:

> Thanks for your reply, Alastair.  I did use that guide in getting myself 
> set-up with sound, and do have alsa-oss installed:

You need to have it all insmod'ed as well (which I guess it will be):

   root at glide almaw # lsmod | grep oss
   snd-seq-oss            29216   0
   snd-seq-midi-event      3584   0  [snd-seq-oss]
   snd-seq                37584   2  [snd-seq-oss snd-seq-midi-event]
   snd-seq-device          4304   0  [snd-rawmidi snd-seq-oss snd-seq]
   snd-pcm-oss            38436   0
   snd-pcm                60960   0  [snd-via82xx snd-pcm-oss]
   snd-mixer-oss          13680   0  [snd-pcm-oss]
   snd                    33636   1  [<<<...snip...>>>]



Also make sure your dsp device is accessible for the user running OSS:

   root at glide almaw # ls -l /dev/dsp
   lr-xr-xr-x  1 root  root      9 Mar 9 10:02   /dev/dsp -> sound/dsp

   root at glide almaw # ls -l /dev/sound/dsp
   crw-rw----  1 almaw audio 14,3 Jan  1  1970   /dev/sound/dsp



But I suspect that your real problem is that in addition to the lines 
you specified in modules.d/alsa, you must have the following:

   alias snd-card-0 snd-via82xx   <-- replace with your ALSA driver
   alias snd-slot-0 snd-card-0    <-- required for OSS support under ALSA

Regards,

Alastair



More information about the asterisk-users mailing list