[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#821424: pulseaudio: Do not put normal users on group audio



On Tue, 2016-04-19 at 11:24 +0300, asu wrote:
> 
> On 04/19/2016 07:07 AM, Christian PERRIER wrote:
> > 
> > Control: reassign -1 user-setup
> > 
> > Quoting Felipe Sateler (fsateler@debian.org):
> > > 
> > > Control: reassign -1 debian-installer
> > > 
> > > On 18 April 2016 at 13:06, Corcodel Marian<asu@marian1000.go.ro>  wrote:
> > > 
> > > > 
> > > > Any way pulseaudio is default sound server on debian and suggest to do not put
> > > > users on audio group because cross interference with alsa programs, now alsa is
> > > > for power users and pulseaudio is on default.
> > > Pulseaudio does not add the user to the audio group. I'm guessing the
> > > installer does, so I reassign there.
> > Adding the *first created* user to so-called "useful" groups is done
> > by user-setup.
> > 
> > We'll need a detaailed explanantion abou twhy this shouldn't be done
> > anymore, including all possible use cases of the installer.
> > 
> > 
> Just simple scenario i add asterisk user on group audio and asu user on 
> group audio result is bad
>   here is result of lsoff:
> root@marian1000:/home/asu# lsof /dev/snd/*
> COMMAND   PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> pulseaudi 961 asterisk  mem    CHR  116,4          9689 /dev/snd/pcmC0D0c
> pulseaudi 961 asterisk  mem    CHR  116,3          9688 /dev/snd/pcmC0D0p
> pulseaudi 961 asterisk   15u   CHR  116,2      0t0 9684 /dev/snd/controlC0
> pulseaudi 961 asterisk   20u   CHR  116,2      0t0 9684 /dev/snd/controlC0
> pulseaudi 961 asterisk   21u   CHR  116,3      0t0 9688 /dev/snd/pcmC0D0p
> pulseaudi 961 asterisk   22u   CHR  116,2      0t0 9684 /dev/snd/controlC0
> pulseaudi 961 asterisk   27u   CHR  116,2      0t0 9684 /dev/snd/controlC0
> pulseaudi 961 asterisk   32u   CHR  116,4      0t0 9689 /dev/snd/pcmC0D0c
> 
> On my user asu pulseaudio have acces only on Dummy card .
> Second on my audio application audacious  set to use  output to alsa 
> (assumed that pulseaudio is down)
> same issue audacious take control of audio device and is no room for 
> pulseaudio.

I don't believe the audio group has anything to do with this.  As I
explained, users logging in locally get access to sound cards even if
they aren't in the audio group.

I think the problem you have is one of:

1. Your X session doesn't start PA automatically
2. ALSA hasn't been properly configured to make applications uses PA
   when available
3. The application is overriding the default.

in descending order of likelihood.

(The pulseaudio package sets the default by installing these
configuration files for ALSA:

    /usr/share/alsa/pulse-alsa.conf
    /usr/share/alsa/alsa.conf.d/pulse.conf

but those can be overridden elsewhere.)

Ben.

-- 
Ben Hutchings
Usenet is essentially a HUGE group of people passing notes in class.
                      - Rachel Kadel, `A Quick Guide to Newsgroup Etiquette'

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: