LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi

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.

Thanks

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

Rep: Reputation: 297Reputation: 297Reputation: 297
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:
Code:
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
tshepiso
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi

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
jialinxiao
LQ Newbie
 
Registered: Nov 2011
Posts: 1

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

Quote:
Originally Posted by tshepiso View Post
Hi

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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:38 PM.

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