Gentoo Archives: gentoo-user

From: David Haller <gentoo@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Music player being run from an emerge
Date: Wed, 10 Jul 2019 12:32:29
In Reply to: [gentoo-user] Music player being run from an emerge by Andrew Lowe
1 Hello,
3 On Wed, 10 Jul 2019, Andrew Lowe wrote:
4 > If I log in as my usual user, alsaplayer will run the song. If I then "su"
5 >into root, I'm in wheel, alsaplayer will play the song. The problem is that
6 >when the emerge runs, then fails, alsaplayer can't appear to fire up. When an
7 >emerge fails, I get the usual error listings then the following:
8 >
9 > * ACCESS DENIED: open_wr: /dev/snd/controlC0
10 > * ACCESS DENIED: open_wr: /dev/snd/controlC0
11 >ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.9/work/alsa-lib-1.1.9/src/confmisc.c:674:(snd_determine_driver)
12 >could not open control for card 0
13 >ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.9/work/alsa-lib-1.1.9/src/conf.c:3572:(snd_config_hooks_call)
14 >function snd_config_hook_load_for_all_cards returned error: Permission denied
16 You'd probably need to add portage to the "audio" group ...
18 HTH,
19 -dnh
21 --
22 Sorry, I don't know how to help in this situation.
23 Maybe you should try asking a human? -- a TeX message