Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today!
Try Our New Product Showcase!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Newbie > Missing /dev/dsp?

Forgot Password?
 Linux Newbie   If you're new to the wonderful world of Linux, start here!

Site Navigation
Linux Forums
Linux Articles
Product Showcase
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Free Publications




Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-23-2005   #1 (permalink)
Just Joined!
 
Join Date: Mar 2005
Posts: 1
Missing /dev/dsp?

I am new to Linux and I'm setting up a steaming server to feed live and recorded audio to Shoutcast servers and I need a little help with a problem. I've been trying to use KhdRecord to capture some audio, but it keeps giving me an error message about not finding /dev/dsp. I checked, the directory is there, but it's apparently empty. What's up?

I have playback through other programs, but I can't record anything. If I need to use another recorder, it needs to be able to record direct to MP3 so the file can be accessed on the fly, sort of like using a DVR. I've done this in XP, but I'm having a tough time getting this to work in Linux.
MarkC is offline  



Reply With Quote
Old 03-23-2005   #2 (permalink)
Just Joined!
 
Join Date: Feb 2005
Location: Scotland
Posts: 13
Send a message via ICQ to alunt2003 Send a message via AIM to alunt2003 Send a message via MSN to alunt2003 Send a message via Yahoo to alunt2003
On my system(Gentoo) /dev/dsp is a sym link to /dev/sound/dsp.

Are you using Alsa or Oss?Maybe the app is looking for one and your using another?

Do you need anything like the microphone unmuted? You tried unmuting everything in your mixer?

Which distro are you using?

Which sound modules have you loaded (command lsmod)

alunt2003 is offline   Reply With Quote
Old 07-21-2006   #3 (permalink)
Just Joined!
 
Join Date: Jul 2006
Posts: 3
Missing /dev/dsp fix

I found the following on my system (Debian bleeding edge "unstable" distribution, which i update regularly).
/dev/dsp was not automatically being created; and once created, disappeared on next reboot.
The best fix i found was to (as root) type the command "udevtrigger" which created /dev/dsp for me.
(Do "man udevtrigger" to see what it does).
This is supposed to be done automatically by the udev init script but perhaps there is some race condition so that the sound device is not visible at that time?
To make this a permanent fix i created the file /etc/rc5.d/S99myfix
containing the following:
------
#!/bin/sh
udevtrigger
-------
and don't forget to make it executable:
chmod +x /etc/rc5.d/S99myfix
As far as i can see, it is harmless to run udevtrigger at any time...
-Ted Merrill
Ted Merrill is offline   Reply With Quote
Old 07-23-2006   #4 (permalink)
Just Joined!
 
Join Date: Jul 2006
Posts: 3
Oh yow... my fix using "udevtrigger" really did work, but now it doesn't work... sigh.
Ted Merrill is offline   Reply With Quote
Old 07-23-2006   #5 (permalink)
Just Joined!
 
Join Date: Jul 2006
Posts: 3
Ok, the following created /dev/dsp this time:
modprobe snd-pcm-oss
you could also do for good measure:
modprobe snd-mixer-oss
Ted Merrill is offline   Reply With Quote
Old 05-26-2009   #6 (permalink)
Just Joined!
 
Join Date: May 2009
Posts: 1
Quote:
Originally Posted by Ted Merrill View Post
Ok, the following created /dev/dsp this time:
modprobe snd-pcm-oss
you could also do for good measure:
modprobe snd-mixer-oss
This was spot on for me with Fedora 11. It also led me to the file /etc/modprobe.d/dist-oss.conf which explains...

# OSS Sound Support
# This has been disabled in F11 onwards because it can interfere with the
# PulseAudio sound service (a legacy OSS application can prevent PulseAudio
# applications from playing sound by preventing PulseAudio from (re-)opening
# the sound device). To re-enable support, uncomment the following line:
#
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-pcm-oss && /sbin/modprobe snd-seq-device && /sbin/modprobe snd-seq-oss

I have not tried this yet, but adding the snd modules did add the missing /dev/dsp device
bwil150n is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Implementing Detailed User-Level Auditing of UNIX & Linux Systems
Enhance regulatory compliance and troubleshooting through detailed auditing, logging and real-time monitoring of UNIX/Linux user activity.
subscribe
Linux from Scratch - Receive Your Complimentary eBook NOW!
Linux from Scratch describes the process of creating your own Linux system from scratch from an already installed Linux distribution, using nothing but the source code of software that you need.
subscribe
A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)
Getting Started with Ubuntu 10.04 (Lucid Lynx) is a comprehensive beginners guide for the Ubuntu operating system; it features comprehensive guides, How Tos and information on anything you need to know after first installing Ubuntu.
subscribe
The Incredible Guide to NEW Ubuntu (Karmic Koala)
There are a lot of people still stuck with Windows because it's the ‘easier alternative'. Linux is both cheaper and more versatile than Microsoft's operating system, but the learning curve has frightened off many people.
subscribe
The GNU/Linux Advanced Administration
The GNU/Linux systems have reached an important level of maturity, allowing to integrate them in almost any kind of work environment, from a desktop PC to the sever facilities of a big company.
subscribe
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe



All times are GMT. The time now is 06:15 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1