LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /dev/dsp permissions (https://www.linuxquestions.org/questions/linux-newbie-8/dev-dsp-permissions-297998/)

jon56er 03-05-2005 12:16 PM

/dev/dsp permissions
 
hi all,

a question regarding permissions with my sound. I've searched for this and haven't found anything specific to my problem. Whenever I try to play mp3 files with XMMS, I get the "Couldn't open audio" dialogue box. Similarly, with mplayer or mpg123 from the console, I get a "/dev/dsp: Permission denied" error message.

If I su and do a "chmod 660 /dev/dsp*" and then exit, all sound playback works fine. However, if I then logout and login again as a "normal" (i.e. non-root) user, the errors are back. Am I doing something wrong? Is there a way I can make the 660 permission on /dev/dsp permanent so I don't have to issue the chmod every time I want to listen to my music?

Oh, I'm running Mandrake Official 10.0 with KDE as my gui. Can anyone help me?

Many thanks,
jonner :Pengy:

jon56er 03-05-2005 12:22 PM

...sorry, I should add that, even before I run the chmod, the permissions look like this:

@localhost Tori Amos - From the Choirgirl Hotel]$ ls -al /dev/dsp*
lr-xr-xr-x 1 root audio 9 Feb 21 23:57 /dev/dsp -> sound/dsp
lr-xr-xr-x 1 root audio 10 Feb 21 23:57 /dev/dsp1 -> sound/dsp1

...and it looks the same afterwards. Thanks again,
j.

mugstar 03-05-2005 02:18 PM

Is your user account a member of the 'audio' group? Doing `id` will tell you.

jon56er 03-05-2005 02:40 PM

hi ms,
yes, my user is a member of the audio group. i was under the impression it was something to do with permissions being reset after logging out, but i really don't know.

mugstar 03-05-2005 04:13 PM

Try using alsaconf ...?


All times are GMT -5. The time now is 03:35 AM.