LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2005, 01:16 PM   #1
jon56er
LQ Newbie
 
Registered: Jan 2005
Location: scotland
Posts: 5

Rep: Reputation: 0
/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
 
Old 03-05-2005, 01:22 PM   #2
jon56er
LQ Newbie
 
Registered: Jan 2005
Location: scotland
Posts: 5

Original Poster
Rep: Reputation: 0
...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.
 
Old 03-05-2005, 03:18 PM   #3
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Is your user account a member of the 'audio' group? Doing `id` will tell you.
 
Old 03-05-2005, 03:40 PM   #4
jon56er
LQ Newbie
 
Registered: Jan 2005
Location: scotland
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 03-05-2005, 05:13 PM   #5
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Try using alsaconf ...?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no /dev/dsp nor /dev/mixer on 2.6.9 amuro_ray Slackware 9 08-03-2009 03:54 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 01:27 PM
No /dev/dsp /dev/mixer etc david.skinner Linux - Software 2 05-19-2005 03:28 AM
FC3, /dev/dsp permissions changing weirdness slyman Fedora 0 05-06-2005 02:27 AM
keeping permissions on /dev/dsp KingMoffa Linux - General 6 10-24-2003 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration