Re: volume control
On 28 Jul 2000, Gary Hennigan wrote:
> I'm glad that worked. The Debian Way (TM) to do this, by the way, is
> to:
>
> chmod 660 /dev/mixer*
> chown root.audio /dev/mixer*
>
> and then add the users that you want to allow access to the audio
> group. A lot of the things devices in /dev work this way.
>
I don't have to do a newgrp to be a member of that group, do I?
lupus:~# chmod 660 /dev/mixer
lupus:~# ll /dev/mix*
crw-rw---- 1 root audio 14, 0 Sep 8 1999 /dev/mixer
crw-rw---- 1 root audio 14, 16 Sep 8 1999 /dev/mixer1
lupus:/etc# groups msoulier
msoulier : msoulier
lupus:/etc# adduser msoulier audio
Adding user msoulier to group audio...
Done.
lupus:/etc# groups msoulier
msoulier : msoulier audio
But now it doesn't work.
However, if I manually change groups...
[msoulier@lupus msoulier]$ groups
msoulier
[msoulier@lupus msoulier]$ groups msoulier
msoulier : msoulier audio
[msoulier@lupus msoulier]$ newgrp audio
[msoulier@lupus msoulier]$ groups
audio msoulier
[msoulier@lupus msoulier]$ xmms &
It works fine. Do I have to do a newgrp every time? That's kind of
annoying.
Mike
"To listen to the words of the learned, and to instill into others the
lessons of science, is better than religious exercises."
-- Prophet Muhammad (pbuh)
Reply to: