[pulseaudio-discuss] Accessing audio as root

Lennart Poettering lennart at poettering.net
Mon Jan 4 11:02:16 PST 2010


On Sat, 02.01.10 00:12, Bill Cox (waywardgeek at gmail.com) wrote:

> Any "right" solution should require little and probably zero changes
> to programs like speakup.  We should be able to tell the sound system
> that speakup is allowed to share the sound card with PA.  Speakup
> already has both pulseaudio and alsa drivers, and if we can get either
> working with PA in parallel, we're in good shape.

I dont think this is how it should be done.

First of all this really sounds like a kludgey solution to me. First
of all sharing a single PA instance between multiple users is a
secuirty hole and I can only advise distributions not to configure PA
that way. Also, reconfiguring PA depending if a11y is used or not is
ugly anyway.

So, really, what I would suggest is to implement proper CK support in
that speakup tts daemon, and hence allow proper device handover
between bootup/login tts daemons, gdm tts daemons and user tts
daemons. Sure it is a bit more code, but its the clean solution.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list