View previous topic :: View next topic |
Author |
Message |
ScribeOfTheNile n00b
Joined: 03 Apr 2004 Posts: 45
|
Posted: Thu Apr 15, 2004 3:30 pm Post subject: Sound limited to root |
|
|
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 |
|
|
darksbane n00b
Joined: 15 Apr 2004 Posts: 28 Location: Fredonia, NY
|
Posted: Thu Apr 15, 2004 3:56 pm Post subject: |
|
|
Go to the /etc/group file, and add all users you want to hear audio to the audio group. _________________ :wq |
|
Back to top |
|
|
ScribeOfTheNile n00b
Joined: 03 Apr 2004 Posts: 45
|
Posted: Thu Apr 15, 2004 4:01 pm Post subject: |
|
|
Thanks for your response, but my regular user is already there. |
|
Back to top |
|
|
ScribeOfTheNile n00b
Joined: 03 Apr 2004 Posts: 45
|
Posted: Sat Apr 24, 2004 5:40 am Post subject: |
|
|
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 |
|
|
jigma n00b
Joined: 10 May 2002 Posts: 51 Location: NZ
|
Posted: Sun Apr 25, 2004 9:08 am Post subject: try this |
|
|
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 |
|
|
ScribeOfTheNile n00b
Joined: 03 Apr 2004 Posts: 45
|
Posted: Sun Apr 25, 2004 9:14 am Post subject: |
|
|
Thanks for your reply. They're both chmodded to 755, but no effect. |
|
Back to top |
|
|
Flammie Retired Dev
Joined: 02 Jun 2003 Posts: 633 Location: Dublin, Ireland
|
Posted: Sun Apr 25, 2004 12:23 pm Post subject: |
|
|
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 |
|
|
ScribeOfTheNile n00b
Joined: 03 Apr 2004 Posts: 45
|
Posted: Sun Apr 25, 2004 12:28 pm Post subject: |
|
|
It acts as normally, no errors, nothing. |
|
Back to top |
|
|
jaredallen n00b
Joined: 22 Apr 2004 Posts: 4
|
Posted: Sun Apr 25, 2004 2:36 pm Post subject: |
|
|
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 |
|
|
Winkie n00b
Joined: 18 Oct 2003 Posts: 15
|
Posted: Sun Apr 25, 2004 10:36 pm Post subject: |
|
|
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 |
|
|
ScribeOfTheNile n00b
Joined: 03 Apr 2004 Posts: 45
|
Posted: Mon Apr 26, 2004 7:21 am Post subject: |
|
|
Thanks, but unfortunatly, neither worked. |
|
Back to top |
|
|
Hoshimaru Apprentice
Joined: 09 Nov 2003 Posts: 225 Location: Belgium
|
Posted: Mon Apr 26, 2004 7:35 am Post subject: |
|
|
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 |
|
|
ScribeOfTheNile n00b
Joined: 03 Apr 2004 Posts: 45
|
Posted: Sat May 01, 2004 4:52 pm Post subject: |
|
|
Thanks, however, my file looks just like that, yet sound still doensn't work outside rooot. |
|
Back to top |
|
|
whaase n00b
Joined: 20 Nov 2003 Posts: 69
|
Posted: Mon May 03, 2004 2:08 am Post subject: |
|
|
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 |
|
|
jigma n00b
Joined: 10 May 2002 Posts: 51 Location: NZ
|
Posted: Tue May 04, 2004 5:21 am Post subject: |
|
|
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 |
|
|
ScribeOfTheNile n00b
Joined: 03 Apr 2004 Posts: 45
|
Posted: Tue May 04, 2004 6:19 am Post subject: |
|
|
Thanks for your reply, however, no change has occured. |
|
Back to top |
|
|
funkmotor n00b
Joined: 23 Feb 2004 Posts: 7 Location: Dorset, UK
|
Posted: Tue May 04, 2004 9:10 pm Post subject: |
|
|
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 |
|
|
|