[pulseaudio-discuss] Using pulseaudio with speakup

Bill Cox waywardgeek at gmail.com
Fri Jan 1 13:58:21 PST 2010


Thanks, Colin.  I can probably modify speech-dispatcher and
speechdup-d to run as gdm on boot.  I can probably also modify gdm
code to look for speech-dispatcher and speechd-up as well, and
relaunch them.  It definately feels weird mucking about with the login
package, though.

However, even with these changes, there are bugs due to pulseaudio's
user-based structure.  Today, in Karmic, if I 'switch user' to another
use, my new gnome session has no sound.  That's because there are two
pulseaudio processes running, and the first one takes over control of
the sound card and does not share.

Are there any ways to get pulseaudio to share the sound card?  If not,
doesn't it make more sense to have a single pulseaudio deamon, so
multiple users can share it?  I'm frankly not aware of actual
instances of one user listening on the mic of another, for example,
nor any other actual sound system security hack in the wild.  I prefer
to fix problems that actually happen, rather than dream up imaginary
problems and then offer complex solutions.  For example, I have a real
problem in that pulseaudio doesn't work with speakup and Orca at the
same time, and it wont allow me to switch user and get sound as the
new user.  We can keep building hacks, like modifying gdm to restart
yet more sound processes (speechd-up and speech-dispatcher, for
example), and we could hack switch-user to do the same, or we could
realize we're spending a lot of effort fixing a problem that isn't
real.

Anyone out there every get hacked because you shared the Alsa back-end
with another user?  Anyone?

Thanks,
Bill

On Thu, Dec 31, 2009 at 12:27 PM, Colin Guthrie <gmane at colin.guthr.ie> wrote:
> 'Twas brillig, and Bill Cox at 31/12/09 17:13 did gyre and gimble:
>> Thanks for the info.  Is there a simple way to kill off the gdm
>> pulseaduio when the user logs in?  Some sort of hook I can tie into?
>
> It should all happen automatically: console-kit will hand over the
> active session to the user logging in and PA will play nicely with that.
>
> I've not looked into this in huge depth so can't really advise more than
> that - hopefully I'll find time to play and/or Lennart/someone else will
> be able to advice more practically.
>
> Col
>
>
> --
>
> Colin Guthrie
> gmane(at)colin.guthr.ie
> http://colin.guthr.ie/
>
> Day Job:
>  Tribalogic Limited [http://www.tribalogic.net/]
> Open Source:
>  Mandriva Linux Contributor [http://www.mandriva.com/]
>  PulseAudio Hacker [http://www.pulseaudio.org/]
>  Trac Hacker [http://trac.edgewall.org/]
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
>



More information about the pulseaudio-discuss mailing list