[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KPhone question (sound device?)

Hash: SHA1

On Wednesday 24 November 2004 14:53, Derek Broughton wrote:
> On Wednesday 24 November 2004 09:18, Frans Pop wrote:
> > On Wednesday 24 November 2004 14:02, Tim Ruehsen wrote:
> > > i try to get kphone running with asterisk. The main question at the
> > > moment is: Which sound device should i use with KPhone?
> > > Default is /dev/dsp, but this device does not exist.
> >
> > You're using alsa, that's why you don't have a /dev/dsp device.
> > It will be created if you load the alsa oss modules
> >
> > snd_pcm_oss            53288  0
> > snd_mixer_oss          19840  1 snd_pcm_oss
> You (or perhaps someone else) said this before, and I don't understand
> it. On my system, "lsmod | grep oss" shows no OSS modules (I do use
> ALSA) but I definitely have a /dev/dsp module (and if the alsa modules
> aren't installed, KDE will complain at startup about not having
> /dev/dsp).  What device would you _expect_ alsa to be using? 
> Alternatively, if Tim doesn't want to use deprecated OSS modules, what
> device should alsa provide?

Must have been someone else ;-)

You are confused on some points.
- - There's a big difference between the 'old' OSS _driver_ modules and
  alsa's OSS _emulation_ modules.
- - There's a difference between a /dev/dsp device file being present
  and that device actually being available. To be available, a driver for
  the device has to be either compiled into the kernel or loaded as a

snd_pcm_oss and snd_mixer_oss are _alsa_ modules that will allow programs 
to use the /dev/dsp device.
Use modprobe <modulename> (as root) to load them or add them 
in /etc/modules.

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: