You are not logged in.
I have a dell dimension e521, to which the audio card did not work out of the box. After following some steps [1] I was able to get sound, but only if when I run the file with sudo.
Does anyone have any idea why this is, and what I can do to prevent using sudo?
Thanks for the help
1. http://art.ubuntuforums.org/showthread.php?t=670318
Last edited by iso (2010-12-31 22:26:39)
Offline
Your user is in the audio group?
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
Good catch. My user is not in the audio group, but for some reason there doesn't seem to be an audio group, so one of the other groups is probably the one that I want to add. the groups that the root user belongs to are: root bin daemon sys adm disk wheel log
I am also having problems adding my user to an additional group.
`usermod -a -G wheel chris` should add the user chris to the wheel group right? For some reason it does nothing.
**UPDATE: after logging out my groups were updated. Unfortunately, after adding all the groups the root user belongs to I am still unable to get any sound.
Last edited by iso (2010-12-31 21:22:07)
Offline
You installed alsa-utils right? I am pretty sure that is what creates the audio group.
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
yes alsa-utils are installed
Offline
`usermod -a -G wheel chris` should add the user chris to the wheel group right? For some reason it does nothing.
**UPDATE: after logging out my groups were updated. Unfortunately, after adding all the groups the root user belongs to I am still unable to get any sound.
Shouldn't it be your user added to the audio group rather than root? Your user would have to be in the wheel group to do sudo by default
Running (as root/sudo)
gpasswd -a chris audio
will add user CHRIS to group AUDIO.
As user, what is the output of
id
. For comparison mine is
[21:52:00] SS4 ~/clementine/build $ id
uid=1000(SS4) gid=100(users) groups=100(users),7(lp),10(wheel),91(video),92(audio),93(optical),94(floppy),95(storage),98(power)
edit: have you checked to see if alsamixer has any channels muted?
Last edited by SS4 (2010-12-31 21:55:10)
Rauchen verboten
Offline
gpasswd did add the seemingly non-existent audio group to my user and things now work.
Would you care to elaborate on why gpasswd worked when usermod didn't?
Thanks for the help.
Offline
You used usermod to add Chris to the Wheel group rather than the Audio group
Rauchen verboten
Offline
I did previously tried adding my user to the audio group, but it seemed that the group didn't exist.
305 useradd -G audio chris
306 usermod -a -G audio chris
307 sudo usermod -a -G audio chris
315 sudo usermod -a -G audio chris
456 history | grep audio
Thanks again
Last edited by iso (2010-12-31 22:30:34)
Offline