Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound limited to root
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
ScribeOfTheNile
n00b
n00b


Joined: 03 Apr 2004
Posts: 45

PostPosted: Thu Apr 15, 2004 3:30 pm    Post subject: Sound limited to root Reply with quote

Hi,

I've been running Gentoo for a week or so now, and I'm very happy with it, however, I've encountered a sound problem.

I recently upgraded my kernel to 2.4.25, but now sound appears to be limited to root.

Code:
aplay $KDEDIR/share/sounds/pop.wav

I've re-emerged ALSA and related things, checked its config, checked perms, checked my user is part of the audio group, and searched these forums, but have not been able to locate a solution. I hope someone will be able to help. :)

Thanks,
Michael
Back to top
View user's profile Send private message
darksbane
n00b
n00b


Joined: 15 Apr 2004
Posts: 28
Location: Fredonia, NY

PostPosted: Thu Apr 15, 2004 3:56 pm    Post subject: Reply with quote

Go to the /etc/group file, and add all users you want to hear audio to the audio group.
_________________
:wq
Back to top
View user's profile Send private message
ScribeOfTheNile
n00b
n00b


Joined: 03 Apr 2004
Posts: 45

PostPosted: Thu Apr 15, 2004 4:01 pm    Post subject: Reply with quote

Thanks for your response, but my regular user is already there. :?
Back to top
View user's profile Send private message
ScribeOfTheNile
n00b
n00b


Joined: 03 Apr 2004
Posts: 45

PostPosted: Sat Apr 24, 2004 5:40 am    Post subject: Reply with quote

I don't like to bump, but I haven't found a solution, and this thread isn't likely to get noticed. Thanks. :)
Back to top
View user's profile Send private message
jigma
n00b
n00b


Joined: 10 May 2002
Posts: 51
Location: NZ

PostPosted: Sun Apr 25, 2004 9:08 am    Post subject: try this Reply with quote

Check the permissions in /dev/snd and /dev/sound

The contents should be set so that audio group has read/write access.


Let me know if you need help checking/setting the permissions.
_________________
"linux is only free if your time has no value" - Jamie Zawinski
Back to top
View user's profile Send private message
ScribeOfTheNile
n00b
n00b


Joined: 03 Apr 2004
Posts: 45

PostPosted: Sun Apr 25, 2004 9:14 am    Post subject: Reply with quote

Thanks for your reply. They're both chmodded to 755, but no effect. :(
Back to top
View user's profile Send private message
Flammie
Retired Dev
Retired Dev


Joined: 02 Jun 2003
Posts: 633
Location: Dublin, Ireland

PostPosted: Sun Apr 25, 2004 12:23 pm    Post subject: Reply with quote

What happens when user tries to play the sound? Does it hang or does it tell about missing rights? If it hangs then the problem might be that some application locks the sound device somehow, I've seen this on my system a couple of times.
Back to top
View user's profile Send private message
ScribeOfTheNile
n00b
n00b


Joined: 03 Apr 2004
Posts: 45

PostPosted: Sun Apr 25, 2004 12:28 pm    Post subject: Reply with quote

It acts as normally, no errors, nothing. :?
Back to top
View user's profile Send private message
jaredallen
n00b
n00b


Joined: 22 Apr 2004
Posts: 4

PostPosted: Sun Apr 25, 2004 2:36 pm    Post subject: Reply with quote

I'm sure you've looked at this, but on my system, everytime I login I have to change 'alsamixer' to unmute everything.... I know this can be fixed, but you've checked initial levels?
Back to top
View user's profile Send private message
Winkie
n00b
n00b


Joined: 18 Oct 2003
Posts: 15

PostPosted: Sun Apr 25, 2004 10:36 pm    Post subject: Reply with quote

jaredallen wrote:
I'm sure you've looked at this, but on my system, everytime I login I have to change 'alsamixer' to unmute everything.... I know this can be fixed, but you've checked initial levels?


rc-update add alsa(?) default :)
_________________
Signature:
This is a block of text that can be added to posts you make. There is a 255 character limit

HTML is OFF
BBCode is ON
Smilies are ON
Back to top
View user's profile Send private message
ScribeOfTheNile
n00b
n00b


Joined: 03 Apr 2004
Posts: 45

PostPosted: Mon Apr 26, 2004 7:21 am    Post subject: Reply with quote

Thanks, but unfortunatly, neither worked. :(
Back to top
View user's profile Send private message
Hoshimaru
Apprentice
Apprentice


Joined: 09 Nov 2003
Posts: 225
Location: Belgium

PostPosted: Mon Apr 26, 2004 7:35 am    Post subject: Reply with quote

Have you checked the permissions in /etc/devfsd.conf ?

It should be like this:

Code:
# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 660
REGISTER        snd/.*       PERMISSIONS root.audio 660
Back to top
View user's profile Send private message
ScribeOfTheNile
n00b
n00b


Joined: 03 Apr 2004
Posts: 45

PostPosted: Sat May 01, 2004 4:52 pm    Post subject: Reply with quote

Thanks, however, my file looks just like that, yet sound still doensn't work outside rooot. :?
Back to top
View user's profile Send private message
whaase
n00b
n00b


Joined: 20 Nov 2003
Posts: 69

PostPosted: Mon May 03, 2004 2:08 am    Post subject: Reply with quote

I'm going to bump this now. I have had the same problem for a few months now and never found the problem. I tried all this suggestion in this thread so far...

Thanks, Walter
Back to top
View user's profile Send private message
jigma
n00b
n00b


Joined: 10 May 2002
Posts: 51
Location: NZ

PostPosted: Tue May 04, 2004 5:21 am    Post subject: Reply with quote

ScribeOfTheNile wrote:
Thanks for your reply. They're both chmodded to 755, but no effect. :(



Sorry...I haven't checked back here for a while.


The permissions on the "files" in those directories has to be 766, not 755.

run these commands as root:

Code:
chmod 766 /dev/snd/*
chmod 766 /dev/sound/*

_________________
"linux is only free if your time has no value" - Jamie Zawinski
Back to top
View user's profile Send private message
ScribeOfTheNile
n00b
n00b


Joined: 03 Apr 2004
Posts: 45

PostPosted: Tue May 04, 2004 6:19 am    Post subject: Reply with quote

Thanks for your reply, however, no change has occured. :(
Back to top
View user's profile Send private message
funkmotor
n00b
n00b


Joined: 23 Feb 2004
Posts: 7
Location: Dorset, UK

PostPosted: Tue May 04, 2004 9:10 pm    Post subject: Reply with quote

I have a very similar problem to this and have tried the suggestions in the alsa guide and
those suggested in this thread. Normally everything appears normal (eg. the mp3 player
advances through the file) but no sound come out.

I did just get the message: /dev/dsp: Device or resource busy

But I don't usually see that.

Please help - this is so annoying! :(

Thanks, Kevin.
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