Menu

Missing /dev/dsp in Ubuntu 10.10

Help
Anonymous
2010-11-19
2012-09-22
  • Anonymous

    Anonymous - 2010-11-19

    I just installed Ubuntu 10.10 and PocketSphinx. Trying to run
    pocketsphinx_continuous, I get an error message like this ...

    ad_oss.c(103): Failed to open audio device(/dev/dsp): No such file or
    directory

    Looking in /dev, I find that /dev/dsp isn't there.

    Sound seems to work otherwise (I can record and play back with the
    Soundrecorder accessory).

     
  • Nickolay V. Shmyrev

    In recent versions Ubuntu broke compability with OSS layer. You either need to
    recompile sphinxbase to support alsa (you need to have libasound2-dev
    installed) or need to insert kernel module for OSS support (modprobe
    snd_pcm_oss).

    You can get more information on this problem in Ubuntu support and in Google

    http://lmgtfy.com/?q=Ubuntu+Failed+to+open+audio+device(%2Fdev%2Fdsp)%3A

     
  • Anonymous

    Anonymous - 2010-11-19

    Thanks for the reply! When I do

    modprobe snd_pcm_oss

    I get

    FATAL: Module snd_pcm_oss not found.

    Do I need to install OSS?

     
  • Anonymous

    Anonymous - 2010-11-22

    Hi, I installed libasound2-dev and recompiled sphinxbase... now it works!
    Thanks a lot for the help.

     

Log in to post a comment.