Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-01-2008, 05:15 PM   #1
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Rep: Reputation: 34
Question /dev/dsp is missing, but sound still works (except in virtualization)

I'm running Slackware current (as of 01/08/2008, anyway) with kernel on a Dell XPS m1330 laptop.

Sound works great, no problems on the host machine.

However, both in QEMU and in VMWare, no sound device can be detected on the host machine because /dev/dsp doesn't exist (and it doesn't, I checked).

Now, I know that /dev/dsp is most often a symbolic link to something like /dev/sound/dsp or /dev/snd/dsp... but neither of those exist either.

Since /dev/dsp doesn't exist, I assume I need to make a symlink to something for it, but what?

I'm not even sure how sound is working since those are the only two things I know to look for. I've never run into this in any other Slackware environment (I'm running Slackware 12 on another machine and /dev/dsp is linked to /dev/sound/dsp like I would expect). Do you think this might be because of weird hardware (because this is a laptop) or is this perhaps something being done different in this kernel that I'm not aware of?

Any advice?

Last edited by Melkor; 03-01-2008 at 05:22 PM.
Old 03-02-2008, 09:42 PM   #2
Registered: Mar 2006
Location: home
Distribution: OpenBSD, FreeBSD, Slackware, Debian
Posts: 244

Rep: Reputation: 40
Here is what I have:
$ ls -l /dev |grep dsp
lrwxrwxrwx 1 root root 10 2008-03-02 20:29 adsp -> sound/adsp
lrwxrwxrwx 1 root root 9 2008-03-02 20:29 dsp -> sound/dsp
Old 03-03-2008, 03:08 AM   #3
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,821

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
/dev/dsp is used by the deprecated OSS. If you want, you can use the OSS emulation provided by alsa by using the snd-pcm-oss module. Run:
modprobe snd-pcm-oss
and see if it helps.

Old 03-03-2008, 08:28 PM   #4
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
Hey, that worked! Thanks!


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
cannot read from /dev/dsp but sound works fine otherwise polemon Linux - Hardware 0 01-14-2008 09:47 AM
/dev/audio, /dev/dsp and /dev/mixer missing in Debian Etch 1337_penguin Debian 2 04-11-2007 11:33 AM
LXer: Single-core DSP dev kit bundles Linux, virtualization LXer Syndicated Linux News 0 02-26-2007 09:46 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
/dev/dsp is missing nexx_au Linux - Newbie 2 01-13-2004 11:02 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:13 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