public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Sound not working for user
@ 2005-08-12  8:38 Grant
  2005-08-12  8:41 ` Frank Schafer
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Grant @ 2005-08-12  8:38 UTC (permalink / raw
  To: Gentoo mailing list

Hello, sound related apps are no longer working for my user, but they
still do for root.  I get /dev/mixer errors for the user.  Is there
something simple I should check?  I do need to make a bunch of world
updates.

- Grant

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Sound not working for user
  2005-08-12  8:38 [gentoo-user] Sound not working for user Grant
@ 2005-08-12  8:41 ` Frank Schafer
  2005-08-12  9:12 ` [gentoo-user] " Andreas Fredriksson
  2005-08-12  9:14 ` [gentoo-user] " Johám-Luís Miguéns Vila
  2 siblings, 0 replies; 11+ messages in thread
From: Frank Schafer @ 2005-08-12  8:41 UTC (permalink / raw
  To: gentoo-user

Hi,

check the permissions of /dev/mixer.

Regards
Frank


On Fri, 2005-08-12 at 01:38 -0700, Grant wrote:
> Hello, sound related apps are no longer working for my user, but they
> still do for root.  I get /dev/mixer errors for the user.  Is there
> something simple I should check?  I do need to make a bunch of world
> updates.
> 
> - Grant
> 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: Sound not working for user
  2005-08-12  8:38 [gentoo-user] Sound not working for user Grant
  2005-08-12  8:41 ` Frank Schafer
@ 2005-08-12  9:12 ` Andreas Fredriksson
  2005-08-12 11:05   ` Grant
  2005-08-12 12:43   ` Grant
  2005-08-12  9:14 ` [gentoo-user] " Johám-Luís Miguéns Vila
  2 siblings, 2 replies; 11+ messages in thread
From: Andreas Fredriksson @ 2005-08-12  9:12 UTC (permalink / raw
  To: gentoo-user

On 8/12/05, Grant <emailgrant@gmail.com> wrote:
> Hello, sound related apps are no longer working for my user, but they
> still do for root.  I get /dev/mixer errors for the user.  Is there
> something simple I should check?  I do need to make a bunch of world
> updates.

Hi,
make sure that the user is in the audio group.

Regards,
Andreas 
-- 
And I hate redundancy, and having different functions for the same thing.
        - Linus Torvalds on linux-kernel

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Sound not working for user
  2005-08-12  8:38 [gentoo-user] Sound not working for user Grant
  2005-08-12  8:41 ` Frank Schafer
  2005-08-12  9:12 ` [gentoo-user] " Andreas Fredriksson
@ 2005-08-12  9:14 ` Johám-Luís Miguéns Vila
  2 siblings, 0 replies; 11+ messages in thread
From: Johám-Luís Miguéns Vila @ 2005-08-12  9:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

On 01:38 Fri 12 Aug     , Grant wrote:
> Hello, sound related apps are no longer working for my user, but they
> still do for root.  I get /dev/mixer errors for the user.  Is there
> something simple I should check?  I do need to make a bunch of world
> updates.
> 
> - Grant
> 
> -- 
> gentoo-user@gentoo.org mailing list

Did you give a look at the approppiate gentoo-guide (probably
http://www.gentoo.org/doc/en/alsa-guide.xml , go to Audio Group)?

cheers
-- 
[sinatura]
A ouvir (mpd): Asian Dub Foundation - Power to the Small Massive
>>> GPG KeyID:0x9D2FD6C8 - http://tinyurl.com/79lrs
[\sinatura]

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Sound not working for user
  2005-08-12  9:12 ` [gentoo-user] " Andreas Fredriksson
@ 2005-08-12 11:05   ` Grant
  2005-08-12 12:43   ` Grant
  1 sibling, 0 replies; 11+ messages in thread
From: Grant @ 2005-08-12 11:05 UTC (permalink / raw
  To: gentoo-user

> > Hello, sound related apps are no longer working for my user, but they
> > still do for root.  I get /dev/mixer errors for the user.  Is there
> > something simple I should check?  I do need to make a bunch of world
> > updates.
> 
> Hi,
> make sure that the user is in the audio group.
> 
> Regards,
> Andreas

I did this:

gpasswd -a <username> audio

from the Gentoo ALSA guide but I get the same results.  I see
/dev/mixer and /dev/dsp errors.  What should their permissions be?

- Grant

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Sound not working for user
  2005-08-12  9:12 ` [gentoo-user] " Andreas Fredriksson
  2005-08-12 11:05   ` Grant
@ 2005-08-12 12:43   ` Grant
  2005-08-12 13:11     ` Volker Armin Hemmann
                       ` (3 more replies)
  1 sibling, 4 replies; 11+ messages in thread
From: Grant @ 2005-08-12 12:43 UTC (permalink / raw
  To: gentoo-user

> > Hello, sound related apps are no longer working for my user, but they
> > still do for root.  I get /dev/mixer errors for the user.  Is there
> > something simple I should check?  I do need to make a bunch of world
> > updates.
> 
> Hi,
> make sure that the user is in the audio group.
> 
> Regards,
> Andreas

Actually it looks like rebooting after adding the user to the audio
group has fixed this.  Does that make sense?

- Grant

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Sound not working for user
  2005-08-12 12:43   ` Grant
@ 2005-08-12 13:11     ` Volker Armin Hemmann
  2005-08-12 13:17     ` Uwe Thiem
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Volker Armin Hemmann @ 2005-08-12 13:11 UTC (permalink / raw
  To: gentoo-user

On Friday 12 August 2005 14:43, Grant wrote:
> > > Hello, sound related apps are no longer working for my user, but they
> > > still do for root.  I get /dev/mixer errors for the user.  Is there
> > > something simple I should check?  I do need to make a bunch of world
> > > updates.
> >
> > Hi,
> > make sure that the user is in the audio group.
> >
> > Regards,
> > Andreas
>
> Actually it looks like rebooting after adding the user to the audio
> group has fixed this.  Does that make sense?
>
> - Grant

relogin should have been enough ... ;)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Sound not working for user
  2005-08-12 12:43   ` Grant
  2005-08-12 13:11     ` Volker Armin Hemmann
@ 2005-08-12 13:17     ` Uwe Thiem
  2005-08-12 13:28     ` Andreas Fredriksson
  2005-08-12 19:28     ` Walter Dnes
  3 siblings, 0 replies; 11+ messages in thread
From: Uwe Thiem @ 2005-08-12 13:17 UTC (permalink / raw
  To: gentoo-user

On 12 August 2005 13:43, Grant wrote:
> > > Hello, sound related apps are no longer working for my user, but they
> > > still do for root.  I get /dev/mixer errors for the user.  Is there
> > > something simple I should check?  I do need to make a bunch of world
> > > updates.
> >
> > Hi,
> > make sure that the user is in the audio group.
> >
> > Regards,
> > Andreas
>
> Actually it looks like rebooting after adding the user to the audio
> group has fixed this.  Does that make sense?

Rebooting should not be necessary. Otherwise, yes it makes sense.

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: Sound not working for user
  2005-08-12 12:43   ` Grant
  2005-08-12 13:11     ` Volker Armin Hemmann
  2005-08-12 13:17     ` Uwe Thiem
@ 2005-08-12 13:28     ` Andreas Fredriksson
  2005-08-12 19:28     ` Walter Dnes
  3 siblings, 0 replies; 11+ messages in thread
From: Andreas Fredriksson @ 2005-08-12 13:28 UTC (permalink / raw
  To: gentoo-user

> Actually it looks like rebooting after adding the user to the audio
> group has fixed this.  Does that make sense?

The id of a user are established when he or she logs in, so logging in
and out again is enough. To verify the groups you are in, try
executing "id" without options on the shell prompt.

Regards,
Andreas

-- 
And I hate redundancy, and having different functions for the same thing.
        - Linus Torvalds on linux-kernel

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re:  Sound not working for user
       [not found] <200508121802.j7CI1dx4002668@robin.gentoo.org>
@ 2005-08-12 18:14 ` Alvin A ONeal Jr
  0 siblings, 0 replies; 11+ messages in thread
From: Alvin A ONeal Jr @ 2005-08-12 18:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

After you add them to the audio group you have to login / logout. 
Permissions should be rw for the audio group

`find /dev -group audio -perm 660` should give you a good list of things 
that users in the audio group have access to

-- 
8^)
Laterz-
~Alvin
http://CoolAJ86.Havenite.net

---
Dad: There's good-looking, there's excellent looking, and then there's me.

[-- Attachment #2: coolaj86.vcf --]
[-- Type: text/x-vcard, Size: 323 bytes --]

begin:vcard
fn:Alvin A ONeal Jr
n:ONeal;Alvin
adr;dom:;;34 Fletcher Lane;Shelburne;VT;05482
email;internet:coolaj86@havenite.net
tel;work:1.802.877.2938
tel;home:1.802.985.5277
tel;cell:1.802.578.0599
note;quoted-printable:DoB: 19860616=0D=0A=
	
x-mozilla-html:FALSE
url:http://coolaj86.havenite.net
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Sound not working for user
  2005-08-12 12:43   ` Grant
                       ` (2 preceding siblings ...)
  2005-08-12 13:28     ` Andreas Fredriksson
@ 2005-08-12 19:28     ` Walter Dnes
  3 siblings, 0 replies; 11+ messages in thread
From: Walter Dnes @ 2005-08-12 19:28 UTC (permalink / raw
  To: gentoo-user

On Fri, Aug 12, 2005 at 05:43:16AM -0700, Grant wrote

> Actually it looks like rebooting after adding the user to the audio
> group has fixed this.  Does that make sense?

  It's actually PAM that's screwing things up.  There are two long-term
solutions...
  1) remove PAM altogether, which I eventually did, and am very happy
     with.  Note, you have to be careful.
  2) comment out all the entries in the specific PAM config file that
     sets permissions for devices.  My main machine totally died on me
     last night, so I have to check the Gentoo archive on the web.  I
     think the file you want to modify is /etc/security/console.perms
     by commenting out the line...
<console> 0660 <sound> 0660 root.audio

  Thanks to other problems, I eventually commented out the entire file.
A few more problems, and I dumped PAM entirely.  IMHO, PAM belongs in
the optional hardened security configs, along with NSA Selinux, etc.  If
you're an ISP offering shell access to several thousand customers, PAM
makes sense.  However, it is *NOT* necessary for the average desktop,
and only gets in the way.

-- 
Walter Dnes <waltdnes@waltdnes.org>
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-08-12 19:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-12  8:38 [gentoo-user] Sound not working for user Grant
2005-08-12  8:41 ` Frank Schafer
2005-08-12  9:12 ` [gentoo-user] " Andreas Fredriksson
2005-08-12 11:05   ` Grant
2005-08-12 12:43   ` Grant
2005-08-12 13:11     ` Volker Armin Hemmann
2005-08-12 13:17     ` Uwe Thiem
2005-08-12 13:28     ` Andreas Fredriksson
2005-08-12 19:28     ` Walter Dnes
2005-08-12  9:14 ` [gentoo-user] " Johám-Luís Miguéns Vila
     [not found] <200508121802.j7CI1dx4002668@robin.gentoo.org>
2005-08-12 18:14 ` [gentoo-user] " Alvin A ONeal Jr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox