Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/dsp permission denied
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mstamat
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2002
Posts: 130
Location: Greece

PostPosted: Thu Jun 06, 2002 6:49 pm    Post subject: /dev/dsp permission denied Reply with quote

I have an sblive on my box. Until now I was able to use /dev/dsp as a user. No I'm getting permission denied messages for /dev/dsp. I can't figure out what I did and caused this :oops:

There is no problem auto-loading the sound modules and auto-creating the devices. Note also that I don't use any sound daemons.

Can anybody help me with this?
Here are some extra details.

Code:

> lsmod
Module                  Size  Used by    Not tainted
bluez                  25100   1 (autoclean)
3c59x                  24808   1
apm                     9128   1
> mpg123 souglakos_ellas.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Can't open /dev/dsp!
> lsmod
Module                  Size  Used by    Not tainted
emu10k1                52224   0 (autoclean) (unused)
ac97_codec              9600   0 (autoclean) [emu10k1]
sound                  52332   0 (autoclean) [emu10k1]
bluez                  25100   1 (autoclean)
3c59x                  24808   1
apm                     9128   1
> ls -al /dev/sound/
total 0
   0 drwxr-xr-x    1 root     root            0 Jan  1  1970 ./
   0 drwxr-xr-x    1 root     root            0 Jan  1  1970 ../
   0 crw-rw----    1 root     audio     14,   4 Jan  1  1970 audio
   0 crw-rw----    1 root     audio     14,   3 Jan  1  1970 dsp
   0 crw-rw----    1 root     audio     14,  19 Jan  1  1970 dsp1
   0 crw-rw----    1 root     audio     14,   5 Jan  1  1970 dspW
   0 crw-rw----    1 root     audio     14,   2 Jan  1  1970 midi
   0 crw-rw----    1 root     audio     14,  18 Jan  1  1970 midi1
   0 crw-rw----    1 root     audio     14,   0 Jan  1  1970 mixer
   0 crw-rw----    1 root     audio     14,   1 Jan  1  1970 sequencer
   0 crw-rw----    1 root     audio     14,   8 Jan  1  1970 sequencer2
>

_________________
Manolis
Back to top
View user's profile Send private message
id10t
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2002
Posts: 100

PostPosted: Thu Jun 06, 2002 7:24 pm    Post subject: Reply with quote

Is your user account a member of the audio group?

root@yourbox # usermod -G username users,audio,wheel,foo


When you do this, you need to list all the groups a users should be in.
_________________
---
this space for rent
Back to top
View user's profile Send private message
mstamat
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2002
Posts: 130
Location: Greece

PostPosted: Thu Jun 06, 2002 7:37 pm    Post subject: Reply with quote

id10t wrote:
Is your user account a member of the audio group?

root@yourbox # usermod -G username users,audio,wheel,foo


When you do this, you need to list all the groups a users should be in.


That's definitely a possibility. But I (think I) had sound working without beeing in any special group.
_________________
Manolis
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Thu Jun 06, 2002 10:35 pm    Post subject: Reply with quote

mstamat wrote:
That's definitely a possibility. But I (think I) had sound working without beeing in any special group.

/dev/dsp and /dev/sound/dsp have their permissions set to root.audio so if your not part of the audio group and you haven't changed the permissions in /etc/devfsd.conf you can't access the devices as a regular user. So please check this,....

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
CowboyNeal
n00b
n00b


Joined: 16 May 2002
Posts: 44
Location: The Netherlands

PostPosted: Fri Jun 07, 2002 11:58 pm    Post subject: Reply with quote

or check /etc/security/console.perms
Back to top
View user's profile Send private message
JefP@@
Apprentice
Apprentice


Joined: 09 May 2002
Posts: 179
Location: Belgium

PostPosted: Sat Jun 08, 2002 6:30 pm    Post subject: Reply with quote

you should definately be a member of the audio group ... you can't get x6 to the device otherwise.

You were prob. root when you tried to play audio the first time
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum