Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 24999

Summary: device /dev/dsp can't be opened (No such file or directory)
Product: Gentoo Linux Reporter: Andreas Boeyer <ABoeyer>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Boeyer 2003-07-21 14:22:10 UTC
When I start the KDE I get a message box with the entry: 
device /dev/dsp can't be opened (No such file or directory) 
When I look in the directory /dev there is no entry dsp 
 

Reproducible: Always
Steps to Reproduce:
1. login 
2. kdm 
3. login KDE 
4. when the world symbol is activ at login the error box pop up 
Actual Results:  
no sound 

Expected Results:  
Installing the devices I need
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-07-21 14:26:30 UTC
Do you have the latest and greatest baselayout installed? 
 
I have /dev/dsp and it softlinks to /dev/sound/dsp. 
 
/dev/sound/dsp is a character device, major 14 minor 3. 
 
You are using devfs too, right? 
 
Comment 2 Andreas Boeyer 2003-07-22 01:19:10 UTC
I just installed KDE with
emerge KDE

I have no directory /dev/dsp
and I have an empty directory /dev/sound

How do I create this diretories (device)?

What is devfs ?
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2003-07-22 03:02:23 UTC
Do you have a soundcard, and if so, did you configure alsa for it. Without a soundcard you will indeed not have this device. You could put this of, by going to the kde configuration panel and there sound&multimedia-sound system. There you can click on start aRts ... and remove the check. Then the soundsystem should be disabled.
Comment 4 Andreas Boeyer 2003-07-22 11:36:56 UTC
The whole error message is: 
Sound server informational message: 
Error while initializing the sound driver: 
device /dev/dsp can't be opened (No such device) 
The sound server will continue, using the null output device. 
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2003-07-22 11:49:54 UTC
I got that far. Does /proc/asound exist. If it does you might want to change the settings in the control center to use alsa instead of oss. Also you might want to take a look at the gentoo desktop guide: http://www.gentoo.org/doc/en/desktop.xml
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2003-07-22 11:57:09 UTC
You also might want to take a look at:
http://www.gentoo.org/doc/en/alsa-guide.xml
Comment 7 Andreas Boeyer 2003-07-25 13:15:12 UTC
Thanks a lot. 
#5 and #6 work for me.