LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   [Audio] Cant open device (permissions) (https://www.linuxquestions.org/questions/linux-hardware-18/%5Baudio%5D-cant-open-device-permissions-181381/)

seb3579 05-14-2004 07:57 AM

[Audio] Cant open device (permissions)
 
Whenever i log in, i get 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 have tried to change the permissions of /dev/dsp, by
chmod 777 /dev/dsp as root, and this is only a temporary solution. It gives me the same problem everytime i log in.
I run MDK 10.0 official (2.6.3-7mdk), and i used to have audio output - but i lost it when i upgraded to KDE 3.2.2.

Any help much appreciated!

Seb

Inhibit 05-14-2004 09:21 AM

The two problems that come to mind would be PAM authentication (/etc/security/console.perms) and the DevFS (/etc/devfsd.conf) setup. Also, there's an audio group in Mandrake that you might need to add your user to.. check if the /dev/dsp device gives the correct permission for r/w to it's group (i.e. rw-rw---- root audio) and add the user into that group if it does. Also, what is the /dev/dsp device set to after you log in?

Mandrake changes around permissions on log-in for a few things, which can be a real headache.

LavaDevil94 05-14-2004 09:51 AM

Try adding your user to the 'audio' group.

seb3579 05-14-2004 11:24 PM

Quote:

Originally posted by LavaDevil94
Try adding your user to the 'audio' group.
I have, yet this does nothing...

I have played around with /etc/security/console.perms but i have had no success what so ever in getting audio without manually changing permissions everytime i log in.

Please remember that my problem only started happening when i upgraded to kde 3.2.2. Previous to the installation, my audio was fine.

I tried to add another user, and when i logged in as that user - audio worked. They were not part of the audio group, and everything was standard. however, now when i log in - no audio...

Any help is much appreciated.

Seb


All times are GMT -5. The time now is 12:46 AM.