Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sound works only as root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Chromatic Distortion
n00b
n00b


Joined: 10 Nov 2005
Posts: 17

PostPosted: Wed May 17, 2006 6:09 am    Post subject: sound works only as root Reply with quote

OK, alsa works fine.. when apps are run as root.
No normal users can not use /dev/dsp /dev/sound/dsp , or any alsa plugin at all.
Is there certain stuff in /dev that i have to change? I tried chmoding everything to 777 mode, but it does not work.
What about alsa could I possibly change? I have two cards, one using snd_atiixp and the other using snd_atiixp_modem .


Also, does anyone know how to "save" alsa volumes when you reboot?
I noticed that in /etc/init.d/alsasound, it has noticed something called /etc/asound.state . Is this file a text file, or a binary file? How would I create one? What is the syntax of the file?

Thanks.
Back to top
View user's profile Send private message
_loki_
l33t
l33t


Joined: 18 Dec 2003
Posts: 680
Location: in the shell

PostPosted: Wed May 17, 2006 7:12 am    Post subject: Reply with quote

Is your user in "audio" group?
Back to top
View user's profile Send private message
Chromatic Distortion
n00b
n00b


Joined: 10 Nov 2005
Posts: 17

PostPosted: Wed May 17, 2006 9:41 pm    Post subject: Reply with quote

I thought of that and added them to group audio. Still not functional. Apparently my computer is prejudice of users with IDs not = 0. I'm afraid it's going to lynch me if I log in as a regular user again.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed May 17, 2006 9:49 pm    Post subject: Reply with quote

You did re-login after adding the user to audio?

What is the output of
Code:
ls -l /dev/snd/*
ls -l /dev/sound/*
Back to top
View user's profile Send private message
Chromatic Distortion
n00b
n00b


Joined: 10 Nov 2005
Posts: 17

PostPosted: Wed May 17, 2006 10:02 pm    Post subject: sound does not work as root [solved] Reply with quote

No, I didn't. I thought I was added instantly. It wouldn't work, so I'd shut my computer down, I think every time I reboot I'm removed from the audio group, I'll have to see what is the trouble with that. Thanks, works fine now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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