Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No sound (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
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Sun Nov 07, 2004 8:30 pm    Post subject: No sound (Permission Denied) Reply with quote

Ok it started with trying to get mpd to run I keep getting the error:
Code:
# mpd
problems getting ao_driver_info
you may not have permission to the audio device


So I searched for forums and found this https://forums.gentoo.org/viewtopic.php?p=1446081#1446081 stating I needed to change /etc/security/console.perms

So I did that and that is when I lost all my sound. So I went and back and changed it back to
Code:
<console>  0600 <sound>      0600 root.audio


When I go to play something with say aplay for example I get:
Code:
$ aplay pricewrong.wav
aplay: main:508: audio open error: Permission denied


When I check /dev/snd and /dev/sound I get:
Code:
# ls -l /dev/snd/ /dev/sound/
/dev/snd/:
total 0
crw-------  1 mike audio 116,  0 Dec 31  1969 controlC0
crw-------  1 mike audio 116, 24 Dec 31  1969 pcmC0D0c
crw-------  1 mike audio 116, 16 Dec 31  1969 pcmC0D0p
crw-------  1 mike audio 116, 25 Dec 31  1969 pcmC0D1c
crw-------  1 mike audio 116,  1 Dec 31  1969 seq
crw-------  1 mike audio 116, 33 Dec 31  1969 timer

/dev/sound/:
total 0
crw-------  1 mike audio 14, 12 Dec 31  1969 adsp
crw-------  1 mike audio 14,  4 Dec 31  1969 audio
crw-------  1 mike audio 14,  3 Dec 31  1969 dsp
crw-------  1 mike audio 14,  0 Dec 31  1969 mixer
crw-------  1 mike audio 14,  1 Dec 31  1969 sequencer
crw-------  1 mike audio 14,  8 Dec 31  1969 sequencer2


It loooks like I have permission, doesn't it? But I still get same permission denied error.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sun Nov 07, 2004 9:30 pm    Post subject: Reply with quote

Zepp,

Are you in the audio group ?
What does groups say ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Sun Nov 07, 2004 9:45 pm    Post subject: Reply with quote

Yes I am

Code:
$ groups
users wheel audio games ftpgroup
Back to top
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Mon Nov 08, 2004 10:58 pm    Post subject: Reply with quote

Argh, issue resolved. I didn't have execute permissions on /dev/snd dir :/ feel dumb, hehe.
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