KDE sound

Craig White plug-discuss@lists.PLUG.phoenix.az.us
Wed, 31 Oct 2001 13:54:03 -0700


not getting much traction from enigma-list so I thought I would toss it
here in case anyone has a suggestion...

This concerns Redhat 7.2 (enigma) and KDE 2.2.1 / sounds as user

Michael Schwendt wrote:
> 
> On 2001-10-30, Craig White wrote:
> 
> >Short and to the point
> >
> >Installed 7.2 (as upgrade to 7.1)
> >
> >Now if I log in as normal user, I get error upon starting X (KDE):
> >Error while initializing sound driver
> >
> >device /dev/dsp cannot be opened (Device or resource busy)
> >The sound server will continue using the null output device
> 
> Can you play sounds on the console as user "craig"?
> 
> E.g. simple things like "play yourwavfile" or even
> "cat wavfile > /dev/dsp".
> 
> (I'm not experienced enough with either aRts or EsounD, so I can't
> go into debugging your KMenu -> Preferences -> Sound -> Sound Server
> setup. Would be interesting to see, though, whether disabled aRts
> gives you raw access to /dev/dsp in KDE.)
> 
> >And of course - we know what this means. It works fine if I start
> >Xwindows/KDE as root but I would rather not.
> >
> >---
> >crw-rw----    1 craig    root      14,   3 Aug 30 13:30 /dev/dsp
> >
> >was
> >
> >crw-------    1 craig    root      14,   3 Aug 30 13:30 /dev/dsp
> >
> >didn't help
> 
> The latter one is correct. /etc/security/console.perms adjusts the
> ownership of devices. Since you're user craig, you already own
> /dev/dsp and root would be able to use it anytime nevertheless.
> 
> >What's the trick?  I get no sound in any user other than root. Same
> >problem with Gnome.
> 
------
Nope - cannot play /usr/share/sounds/startup1.wav
       cannot get sound from cat /usr/share/sounds/startup1.wav >
/dev/dsp

at least - not as user craig

Gnome plays cd's - this must be a problem with KDE and upgrading from RH
7.1 -> KDElibs 2.2 -> RH 7.2

I guess I will remove all of the KDE that I can and then reinstall
unless anyone has a better idea.

Craig