Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-13-2011, 04:32 AM   #1
LQ Newbie
Registered: Oct 2011
Posts: 2

Rep: Reputation: Disabled
Assistance with error: Cannot open OSS audio device /dev/dsp


I am working on a program called HTK which is a speech recognition software. It can run live inputs i.e. a person speaks and the spoken word is transcribed onto the terminal. The error i get is:
Cannot open OSS audio device /dev/dsp

I have installed ALSA sound mixer for GNOME, and i still get the error. Please advice on what sound drivers i need to install.


Old 10-13-2011, 06:21 AM   #2
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 714
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
Hi. OSS is deprecated in linux 2.6 onwards. You can still use it though.

What you need to do in order to use applications which rely on OSS, is simply install the ALSA wrapper for it.

For ubuntu i'm pretty sure you only need this package:
sudo apt-get install alsa-oss
You may have to log out and log back in for it to work.

Hope it works for you. If not, try rebooting afterwards.
Old 10-13-2011, 07:13 AM   #3
LQ Newbie
Registered: Oct 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled

I tried your suggestion, but i get the same error. I am not sure what could be wrong.
Old 11-16-2011, 08:31 AM   #4
LQ Newbie
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
Unhappy the same problem with me....

Originally Posted by tshepiso View Post

I tried your suggestion, but i get the same error. I am not sure what could be wrong.

the same problem with me....please helpppppppppppppp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
oss audio output error: cannot open audio device (/dev/dsp)? Bug? Config error? brianpbarnes Linux - Software 1 04-25-2009 04:18 AM
Failed to open audio device (/dev/dsp): No such device stevesk Slackware 6 01-01-2009 06:29 AM
XMMS problem : ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): sureshrk19 Slackware 4 04-01-2004 09:17 PM
/dev/dsp + device busy/no audio + esd mghere Linux - Newbie 7 12-11-2003 11:51 PM
OSS API - opening /dev/dsp when device busy vasudevadas Programming 10 12-02-2003 12:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration