Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-06-2006, 08:25 PM   #1
Registered: Apr 2006
Location: Atlanta, GA
Distribution: Ubuntu 9.10
Posts: 69

Rep: Reputation: 15
DSP Permission changes with user

Hello, I have sound issues and I think it is with DSP. I don't know what DSP is but changes permissions with the user.
When I switch sessions to diff users, the permissions for DSP are set only for the user that I logged in with and I get the message that "sound card can not be accessed DSP permission not grated" <-something like that. I searched this site for so many possibilities but I am still lost. This is what I do know:
FC5 system,
my sound card is recognized and uses ALSA,
sound is great with the login user which ever I choose,
I don't have a group called audio(I looked in /etc/group,
I can use Kmix or alsamixer with the user that has the DSP crw------ permission,
for the life-of-me I have Nooooo idea where/what file stores my sound configurations... this is where i would like to start looking. Need some guidance here.
I see udev scroll past in boot up. (What is udev please?)
Ask me more and I will show some scripts you may need to see.

Yes I am newbie.. very happy to be so, but very frustrated too.
Thank you for your help
Old 09-07-2006, 06:29 AM   #2
LQ Newbie
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
I dont know what udev is. You dont need to know what it is(I dont think). What i think is that dsp is either being acessed by a daemon, or needs more writing permissions. Try changing the permissions when logged in as root in your favored file manager so that everyone has read write permission. Like this:

           Read    Write  Execute
Owner:   [X]      [X]      [  ]

Group:   [X]      [X]      [  ]

Others:  [X]      [X]      [  ]
Now if it fails, try running alsaconf. Running alsaconf can be helpful because it will automatically kill all programs currently using sound, and this will include any sound daemons. Well, if i were you, id go through it all even if it works.
Old 09-07-2006, 10:14 PM   #3
Registered: Apr 2006
Location: Atlanta, GA
Distribution: Ubuntu 9.10
Posts: 69

Original Poster
Rep: Reputation: 15
Thank you. But the file changes dynamically with the user I believe my problem must be in some config file. I read all sorts of posts but still don't know which file to look at??
Old 09-09-2006, 11:14 AM   #4
Registered: Apr 2006
Location: Atlanta, GA
Distribution: Ubuntu 9.10
Posts: 69

Original Poster
Rep: Reputation: 15
I ran this command: ls -l /dev/dsp* /dev/mixer* and I got this results

[root@localhost dev]# ls -l /dev/dsp* /dev/mixer
crw------- 1 root root 14, 3 Sep 9 09:48 /dev/dsp
crw------- 1 root root 14, 19 Sep 9 09:48 /dev/dsp1
crw------- 1 root root 14, 35 Sep 9 09:48 /dev/dsp2
crw------- 1 root root 14, 0 Sep 9 09:48 /dev/mixer
When switching to different User setions I get: "Error while initializing the sound driver:device/dev/dsp can't be opened (permission denied) The sound server will continue, using the null ouput device."

I am sure this is a simple chmod or user group fix but I Don't know how


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
device /dev/dsp can't be opened (Permission denied) jon_k Linux - Software 1 10-27-2004 08:51 PM
Mandrake 10 /dev/dsp Permission Denied fox2319 Linux - Newbie 5 04-28-2004 07:06 AM
/dev/dsp: Permission denied jtX Slackware 1 02-06-2004 05:39 PM
/dev/dsp cannot be opened permission denied SlackN00b Slackware 5 12-31-2003 11:59 AM
Sound problem - /dev/dsp: Permission denied Oooska Linux - Newbie 4 02-21-2002 01:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:05 AM.

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