Click to See Complete Forum and Search --> : Sound Card Won't Work, Even Though Settings Are Correct


youngtomedison
11-16-2007, 11:20 PM
I'm running Debian Etch with KDE 3.5. The installation is roughly 5 months old.

I started up my computer today (a P-IV with 1 gig of RAM) with my heart set on listening to some internet radio (wfmu.org if you must know).

When XMMS started up, it flashed me a message saying that the sound card was not available.

I logged out and logged back in as root.

I checked the Users and Groups screen to see if privileges for my usual username had been enabled. Sure enough, the box for audio device privileges was unchecked, even though I did not uncheck it. So, I rechecked it, then hit APPLY.

I logged out of root and logged back in under my usual name.

When KDE came back up, it flashed me the following message:

Sound server informational message
Error while initializing the sound driver
device/dev/dsp can't be opened (Permission denied)
The sound server will continue, using the null output device

I logged back in as root, thinking I might have made a mistake. Everything was OK. My user privileges screen showed that my usual username had sound-system permissions enabled; the box was checked, just as I left it.

When I logged out of root and back to my usual username, I got the same error message which you see above.

I went to the KDE control center and tried to re-start the sound server. Same error message as you see above.

While I was in root, I tested XMMS by playing an MP3 from my hard driove. It worked fine.

I should mention that last night, my computer malfunctioned oddly while I was running Iceweasel (web browser). My machine went flakey on me, and my desktop went nuts (icons on my lower toolbar started getting moved by my mouse pointer even though I wasn't trying to move them). I shut down the machine by turning it off because the GUI had gone bonkers, and I could not shut down normally.

What is going on? Have I got a virus, an Internet bomb of some sort, or what else could have disabled my sound card privileges without my knowledge? What else should I be concerned about?

And more importantly, how can I fix it? Is my installation now hopelessly corrupt? Am I looking at a grand-mal hard drive wipe-and-reinstall? My hard drive (a Seagate 80 GB EIDE drive) is 4 years old. Is it time to junk it and replace it?

I'm a recovering Windows user, so I might need more detailed explanations as to what command-lines I need to use.

guentherk1
11-18-2007, 10:03 PM
On Fedora 8 I could not believe it but they have removed the entries from /etc/security/console.perms.d for sound to work. I was only able to get sound to work on gnome and not on kde. I added a member file:///etc/security/console.perms.d/60-sound.perms and removed the package pulseaudio (Don't know if this is necessary but I saw a note on the net about it. Here is the contents of 60-sound.perms:

<sound>=/dev/dsp* /dev/audio* /dev/midi* \
/dev/mixer* /dev/sequencer* \
/dev/sound/* /dev/beep \
/dev/snd/* /dev/adsp*
<console> 0666 <sound> 0666 root

When I run a sound program I get some squaks but I have sound on FC8 under gnome. I hadn't had sound on my system since FC5. They supplied new code in the Alsa 1.0.15 drivers for my sound card apparantly. Earlier levels of Alsa undid what was available in the Alsa of FC6 apparently.

guentherk1
11-19-2007, 12:08 AM
I found notes on ConsoleKit and Fast User Switching. Apparant ly they are making changes but have not fully completed the change to not have the entries in the cosole.perms.