View previous topic :: View next topic |
Author |
Message |
mstamat Tux's lil' helper
Joined: 09 May 2002 Posts: 130 Location: Greece
|
Posted: Thu Jun 06, 2002 6:49 pm Post subject: /dev/dsp permission denied |
|
|
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
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 |
|
|
id10t Tux's lil' helper
Joined: 18 May 2002 Posts: 100
|
Posted: Thu Jun 06, 2002 7:24 pm Post subject: |
|
|
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 |
|
|
mstamat Tux's lil' helper
Joined: 09 May 2002 Posts: 130 Location: Greece
|
Posted: Thu Jun 06, 2002 7:37 pm Post subject: |
|
|
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 |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Thu Jun 06, 2002 10:35 pm Post subject: |
|
|
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 |
|
|
CowboyNeal n00b
Joined: 16 May 2002 Posts: 44 Location: The Netherlands
|
Posted: Fri Jun 07, 2002 11:58 pm Post subject: |
|
|
or check /etc/security/console.perms |
|
Back to top |
|
|
JefP@@ Apprentice
Joined: 09 May 2002 Posts: 179 Location: Belgium
|
Posted: Sat Jun 08, 2002 6:30 pm Post subject: |
|
|
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 |
|
|
|