LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-23-2008, 05:35 AM   #1
Eppo
Member
 
Registered: Feb 2007
Location: NY
Distribution: Arch, Ubuntu
Posts: 77

Rep: Reputation: 27
how is /dev/dsp created?


ok, i've been using linux on and off for a while, but now i'm making an effort to get it working 100% and use it. i have a asus motherboard with onboard sound using the nforce4 chipset. in the kernel there are alsa drivers for it. so i enable them as modules, and then after i boot, i run alsaconf, it finds the driver and configures it for me, and after that i have sound. now the problem is, i'm using vmware workstation, and it looks for sound in /dev/dsp. i want to know more about when that is created, and why? will i ever have a /dev/dsp set up, if i configure the sound in this way? also, if i wanted those drivers to be built directly into the kernel, how would i configure the sound. if i run alsaconf with those things built in directly as opposed to modules, it cant find them. should sound just be available at boot up then?
thanks
 
Old 02-23-2008, 06:05 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I don't know about most anything you're asking but you create device files like that with mknod. A quick search shows the exact incantation in this case could be 'mknod /dev/dsp c 14 3'
 
Old 02-23-2008, 11:07 AM   #3
Eppo
Member
 
Registered: Feb 2007
Location: NY
Distribution: Arch, Ubuntu
Posts: 77

Original Poster
Rep: Reputation: 27
but shouldnt it be created on its own when your sound driver loads? i'm trying to figure out what /dev/dsp's relationship is with creation of sound.
 
Old 02-23-2008, 11:18 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
IIUC, /dev/dsp is an OSS thing. You're using ALSA. You may need oss-compatibility stuff or something. I once had to create a /dev/dsp file to make an old video game (xgalaga) happy and I gather it's mostly old games and emulators and proprietary stuff and whatnot who haven't caught up. I could be wrong about this; it's just my understanding.
 
Old 02-24-2008, 12:56 PM   #5
Eppo
Member
 
Registered: Feb 2007
Location: NY
Distribution: Arch, Ubuntu
Posts: 77

Original Poster
Rep: Reputation: 27
alrighty, i fixed it. first i enabled oss in the kernel. then i noticed in /etc/conf.d/alsasound that there was a line:
ENABLE_OSS_EMUL="no"
i changed it to yes, and restarted alsasound, ran alsaconf. and now it works.
its nice to run vmware with xp while running gentoo.
thanks for your help
 
  


Reply


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
no /dev/dsp nor /dev/mixer on 2.6.9 amuro_ray Slackware 9 08-03-2009 03:54 PM
how do I get /dev/dsp? dravenloft Linux - Hardware 5 10-24-2007 11:21 AM
/dev/audio, /dev/dsp and /dev/mixer missing in Debian Etch 1337_penguin Debian 2 04-11-2007 12:33 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 01:27 PM
No /dev/dsp /dev/mixer etc david.skinner Linux - Software 2 05-19-2005 03:28 AM


All times are GMT -5. The time now is 07:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration