PDA

View Full Version : Fedora 8 "unable to open sound driver"


Trevor4706
2007-12-26, 10:20 AM CST
I've been running Fedora 8 in a dual boot configuration with XP since it was released with no problems whatsoever. This morning, however, when I booted into Fedora I received the following message on start-up:
Informational - artsmessage
Sound server informational message:
Error while initializing sound driver:
device/dev/dsp cannot be opened (Permission denied)
The sound server will continue using the null output device.

Sound works fine in XP, so it is not the sound card.

I've searched this forum and taken the steps suggested in http://home.nyc.rr.com/computertaijutsu/rhsound.html with no effect. When I run system-config-sound everything, including the sound test, checks OK, but I cannot get any sound when I try to play a CD or play a video in Firefox. I have a feeling it has something to do with "permission denied", but have no idea what permission needs to be adjusted.

Any ideas?

Thanks

Trevor

ppesci
2007-12-26, 10:47 AM CST
Maybe you have some problems with SELinux. Try to disable it and check if the sound works.

HTH

Trevor4706
2007-12-26, 11:48 AM CST
Thanks, Pietro. Tried it. No joy. Getting same message at start-up and still no sound.

Trevor

ms1234
2007-12-26, 12:06 PM CST
Had the same issue. Turned out I was having more than one audio "driver" enabled so there was a conflict. I had KDE eoss and ALSA enabled. Oh and for some reason (atleast in KDE) don't disable ConsoleKit Deamon :)

Trevor4706
2007-12-26, 01:33 PM CST
Had the same issue. Turned out I was having more than one audio "driver" enabled so there was a conflict. I had KDE eoss and ALSA enabled. Oh and for some reason (atleast in KDE) don't disable ConsoleKit Deamon :)
I've solved part of the problem, but still cannot play CDs. I re-read http://home.nyc.rr.com/computertaijutsu/rhsound.html and realized I hadn't amended /etc/security/console.perms.d/50-default-perms as suggested. When I did that I stopped getting the message on start-up and all normal desktop sounds returned -- you have mail, etc. I also get sound when I play videos from the internet. I still cannot play CDs. When I insert an audio CD the only options that show up are associated with K3B. Now players show up. When I try to open the CD with any of the players I have installed I get the following message:

Cannot start process. Unable to create io-slave:
klauncher said: unknown protocol "audiocd"