speechd-discuss
[Top][All Lists]
Advanced

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

running speech-dispatcher-0.7.1 in system mode


From: William Hubbs
Subject: running speech-dispatcher-0.7.1 in system mode
Date: Wed, 6 Oct 2010 15:58:02 -0500

Hi Steve,

On Wed, Oct 06, 2010 at 12:23:22PM -0700, Steve Holmes wrote:
> In following this thread, I have to say one thing that hasn't really
> been addressed is kernel based solutions like Speakup.  The only way I
> know if that one could use Speakup with Speech Dispatcher is through
> speechd_up and AFAIK, that would require Speech Dispatcher to run as a
> system service.  So we need to keep that functionality in place.  

Actually that's not quite true.  The only reason speechd-up runs as root
is so that it can open the softsynth device.  Other than that,
communication with sd doesn't necessarily have to be over an internet
socket, and sd doesn't necessarily have to run as root.

I'm not to the point where I can check this yet, but here is the way I'm
thinking it can work:

1.  speechd-up is started as root.  This would be the only thing that
would need a system startup script.
2.  speechd-up opens /dev/softsynth
3.  speechd-up drops privileges to some user other than root.
4.  speechd-up now opens a connection to speech dispatcher, which will
cause speech dispatcher to autospawn.

What do you think?

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20101006/b265480a/attachment.pgp>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]