Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
12-18-2008, 03:32 AM
#1
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 247
Rep:
/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!
12-18-2008, 03:44 AM
#2
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,288
Rep:
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 .
12-18-2008, 03:46 AM
#3
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 247
Original Poster
Rep:
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.
12-18-2008, 03:54 AM
#4
Member
Registered: Oct 2005
Location: France
Distribution: Slackware 13.37
Posts: 654
Rep:
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"
12-18-2008, 12:41 PM
#5
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 247
Original Poster
Rep:
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
12-18-2008, 02:24 PM
#6
Member
Registered: Oct 2005
Location: France
Distribution: Slackware 13.37
Posts: 654
Rep:
Quote:
Originally Posted by
vbisis
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.
12-18-2008, 02:49 PM
#7
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 247
Original Poster
Rep:
Great! That was the solution! Thanks a lot!
Never even really noticed that this udev - rule was on /dev/dsp0
12-18-2008, 02:49 PM
#8
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 247
Original Poster
Rep:
Great! That was the solution! Thanks a lot!
Never even really noticed that this udev - rule was on /dev/dsp0
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 03:08 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News