LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-18-2008, 03:32 AM   #1
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
/dev/dsp does not exist


Recently I noticed I haven't got any sound in Unreal Tournament 2004 anymore.

Having a look at the error message durinh start of the game, it tells me there is no /dev/dsp .

It is right, the file is not existing so I created a link from /dev/dsp1 and after that I had sound again.

But I don't think this is the correct way, anyway the link is gone after every reboot.

I could add a line to rc.local, but I think something like that should be done by udev?
But how?

Hope someone can help, thanks in advance!
 
Old 12-18-2008, 03:44 AM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
does /dev/dsp0 exist?

ps. have a quick look at /etc/udev/rules.d/40-alsa.rules

Last edited by Tuttle; 12-18-2008 at 03:46 AM.
 
Old 12-18-2008, 03:46 AM   #3
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 34
No, only /dev/dsp1

But as far as I know all modules are loaded. I'm not at home at the moment, so I can't have a look right now. I'll post the output of lsmod later.
 
Old 12-18-2008, 03:54 AM   #4
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
What is your Slackware version?

You can also check that /etc/rc.d/rc.alsa is executable.

Also check which group your user belongs to:

Code:
less /etc/group | grep "user"
replace "user" with your user name.

Your user should be in group "audio"
 
Old 12-18-2008, 12:41 PM   #5
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 34
My Version is current from beginning of december, using slackware kernel 2.6.27.7 generic recompiled for 64 GB Ram support.

rc.alsa is executable
user is in audio

@ Tuttle: This file is not there, but only under /lib :

cat /lib/udev/rules.d/40-alsa.rules
# do not edit this file, it will be overwritten on update

KERNEL=="controlC[0-9]*", NAME="snd/%k"
KERNEL=="hwC[D0-9]*", NAME="snd/%k"
KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k"
KERNEL=="midiC[D0-9]*", NAME="snd/%k"
KERNEL=="timer", NAME="snd/%k"
KERNEL=="seq", NAME="snd/%k"
KERNEL=="mixer0", SYMLINK+="mixer"
KERNEL=="dsp0", SYMLINK+="dsp"
KERNEL=="audio0", SYMLINK+="audio"

It worked on Slackware 12.1, so some update to current must have broken it.

Last edited by vbisis; 12-18-2008 at 12:43 PM. Reason: comment
 
Old 12-18-2008, 02:24 PM   #6
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by vbisis View Post
KERNEL=="dsp0", SYMLINK+="dsp"
dev/dsp should have been created as a symlink to /dev/dsp0 but you said only /dev/dsp1 is existing in your system.

It's a bit strange because /dev/dsp0 should have been created as part of package a/devs-2.3.1-noarch-25.tgz

I would suggest to reinstall that package.
 
Old 12-18-2008, 02:49 PM   #7
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 34
Great! That was the solution! Thanks a lot!

Never even really noticed that this udev - rule was on /dev/dsp0
 
Old 12-18-2008, 02:49 PM   #8
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 34
Great! That was the solution! Thanks a lot!

Never even really noticed that this udev - rule was on /dev/dsp0
 
  


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
/dev/dsp says file don't exist - but it does? lugoteehalt Linux - Newbie 3 07-13-2007 12:09 PM
/dev/dsp does not exist juwaidah1990 Linux - Hardware 4 06-20-2007 02:04 PM
nforce2 device/dev/dsp does not exist byewindoze Linux - Hardware 0 05-16-2006 06:55 AM
/dev/dsp Doesn't exist worldgnat Linux - Hardware 2 01-02-2006 02:12 PM
No sound in sarge 2.6.8-686, even /dev/dsp does not exist. mp55 Debian 15 01-04-2005 02:29 PM

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

All times are GMT -5. The time now is 07:53 PM.

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