LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-14-2011, 10:02 PM   #1
kline
Member
 
Registered: Aug 2008
Location: Seattle
Distribution: Ubuntu
Posts: 79

Rep: Reputation: 0
What happened to /dev/dsp in Ubuntu 10.10?


About a month ago, before upgrading to ubuntu 10.10, I ran a test program that produced a click whenever I pressed any key. I just tried to rebuild the program and find there is no /dev/dsp. Do I need to install/reinstall some files or what?

tia!
 
Old 02-15-2011, 12:36 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Try this out:

Code:
modprobe snd-pcm-oss
 
Old 02-15-2011, 01:21 AM   #3
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Also,
Quote:
mknod /dev/dsp c 14 3
 
Old 02-15-2011, 12:56 PM   #4
kline
Member
 
Registered: Aug 2008
Location: Seattle
Distribution: Ubuntu
Posts: 79

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by kline View Post
About a month ago, before upgrading to ubuntu 10.10, I ran a test program that produced a click whenever I pressed any key. I just tried to rebuild the program and find there is no /dev/dsp. Do I need to install/reinstall some files or what?

tia!
For the record, I _did_ [BION], search for !/dev/dsp, and I found the previous results. What I don't get it how simply upgrading from 10.04 to 10.10 could have blown away the /dev/dsp in the device table. 'Sall.
 
Old 02-16-2011, 09:19 AM   #5
shanx.shashank
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
Looks like you are using ALSA, without its OSS compatibility.

open the terminal and try the following command

Code:
$ aoss <program-name>
If it works, install the following modules:
snd-pcm-oss
snd-mixer-oss
snd-seq-oss

Now your program must work as it worked earlier, a restart may be required after installing modules.

Cheers!

Alsa wiki deals in detail with OSS - ALSA compatibility:
http://alsa.opensrc.org/OSS_emulation

Last edited by shanx.shashank; 02-16-2011 at 09:21 AM. Reason: Details you might be interested in
 
Old 02-16-2011, 01:19 PM   #6
kline
Member
 
Registered: Aug 2008
Location: Seattle
Distribution: Ubuntu
Posts: 79

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by shanx.shashank View Post
Looks like you are using ALSA, without its OSS compatibility.

open the terminal and try the following command

Code:
$ aoss <program-name>
If it works, install the following modules:
snd-pcm-oss
snd-mixer-oss
snd-seq-oss

Now your program must work as it worked earlier, a restart may be required after installing modules.

Cheers!

Alsa wiki deals in detail with OSS - ALSA compatibility:
http://alsa.opensrc.org/OSS_emulation
Ok, I did the following, which zero output.::

aoss< ./a.out , then I re-read your message and types

aoss ./a.out and _voila_ I heard my "click" [!]

How do I add the missing snd modules? I clicked on your URL but didn't get very far.
 
Old 02-16-2011, 03:32 PM   #7
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
modprobe <module>

You should be good after loading all three, well that is if you need all three.
 
Old 02-17-2011, 07:32 AM   #8
shanx.shashank
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
As corp769 mentioned, modprobe must to do the trick.

But it looks like this a bug in ubuntu 10.10 which will be resolved in next release (April of 2011) <- https://bugs.launchpad.net/ubuntu/+s...at/+bug/659024

So, yes we are stuck with aoss.

If you are able to find a fix for modprobing, please let us know.

Hope this helps.
shanx
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no /dev/dsp nor /dev/mixer on 2.6.9 amuro_ray Slackware 9 08-03-2009 02:54 PM
/dev/audio, /dev/dsp and /dev/mixer missing in Debian Etch 1337_penguin Debian 2 04-11-2007 11:33 AM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
No /dev/dsp /dev/mixer etc david.skinner Linux - Software 2 05-19-2005 02:28 AM
slak10 alsa and what happened to /dev/dsp? spooge Slackware 4 04-19-2005 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:35 AM.

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