LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-01-2008, 05:15 PM   #1
Melkor
Member
 
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 2.6.23.12-smp 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
multios
Member
 
Registered: Mar 2006
Location: Homer, Alaska USA
Distribution: OpenBSD, FreeBSD, Slackware64-current
Posts: 276

Rep: Reputation: 58
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
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
/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:
Code:
modprobe snd-pcm-oss
and see if it helps.

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

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


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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