speechd-up not working on text console

Okash Khawaja okash.khawaja at gmail.com
Thu Aug 17 05:18:30 EDT 2017


Okay after chrys's post, I tried to run speechd-up without root which
now works with pulse. Here's what I did:

1. either configure speechd-up to use locations other than /var/run/ and
 /var/log/ for pidfile and logfile, or fix permissions some other way

2. create group 'speakup' and add logged in user to that group

3. add following lines to /etc/udev/rules.d/50-local.rules:

KERNEL=="synth",GROUP="speakup"
KERNEL=="softsynth",GROUP="speakup"

Thanks,
Okash

On Wed, Aug 16, 2017 at 7:48 AM, Okash Khawaja <okash.khawaja at gmail.com> wrote:
> Hey Chrys,
>
> Yes running it as root. This might actually suit my scenario better.
> I'll try and see how it goes.
>
> Cheers,
> Okash
>
> On Tue, Aug 15, 2017 at 11:17 AM, chrys <chrys at linux-a11y.org> wrote:
>> Howdy,
>>
>> i know its already fixed :) but say my little penny:
>> did you run it as root? does speechd-up require root?
>> if it does i see similar issues while my development in fenrir using
>> speech-dispatcher. running spd-conf as root and user and select explicit
>> pulseaudio as output solves that issues (if it is the same problem).
>> running speech-dispatcher via pulse on root does also require some pulse
>> setup to stream the "root" sound to the normal user.
>> i create a script that would do that.
>> https://raw.githubusercontent.com/chrys87/fenrir/master/tools/configure_pulse.sh
>>
>> not sure if that makes sense for your issue. i just see this here on many
>> fenrir setups (using the speech-dispatcher driver).
>> cheers chrys
>>
>> Am 15.08.2017 um 09:33 schrieb Okash Khawaja:
>>>
>>> Hi,
>>>
>>> Changing from pulse to alsa worked. Thanks all very much for help!
>>>
>>> Still wonder why spd-say can do spd_open while speechd-up fails. May be
>>> something check later.
>>>
>>> Okash
>>>
>>> On 15 Aug 2017 7:49 am, "Okash Khawaja" <okash.khawaja at gmail.com> wrote:
>>>
>>>> Okay I'll give it a go.
>>>>
>>>> Thanks ,
>>>> Okash
>>>>
>>>> On 14 Aug 2017 8:03 pm, "John Covici" <covici at ccs.covici.com> wrote:
>>>>
>>>> Well, my setup was speech-dispatcher as a system rather than a user
>>>> service and pulse audio was not involved -- see if that combination
>>>> works for you.
>>>>
>>>> On Mon, 14 Aug 2017 13:40:17 -0400,
>>>> Okash Khawaja wrote:
>>>>>
>>>>> [1  <text/plain; UTF-8 (7bit)>]
>>>>> [2  <text/html; UTF-8 (quoted-printable)>]
>>>>> Hi,
>>>>>
>>>>> Speech dispatcher is installed per user under /usr /local /... So is
>>>>
>>>> speechd-up. Yes I'm using pulse audio.
>>>>>
>>>>> Thanks,
>>>>> Okash
>>>>>
>>>>> On 14 Aug 2017 9:28 am, "John Covici" <covici at ccs.covici.com> wrote:
>>>>>
>>>>>   Is speech dispatcher system wide or for each user? Also, are you
>>>>>   using pulse audio?
>>>>>
>>>>>   On Mon, 14 Aug 2017 03:00:05 -0400,
>>>>>   Okash Khawaja wrote:
>>>>>   >
>>>>>   > [1 <text/plain; UTF-8 (7bit)>]
>>>>>   > [2 <text/html; UTF-8 (quoted-printable)>]
>>>>>   > Hi,
>>>>>   >
>>>>>   > Sorry about the delay.
>>>>>   >
>>>>>   > > So you can start speechd-up in the GUI and it will work?
>>>>>   > > But if you start it in the text console, it won't?
>>>>>   > Exactly
>>>>>   >
>>>>>   > spd-say works from text console, as does festival and espeak.
>>>>>   >
>>>>>   > Thanks,
>>>>>   > Okash
>>>>>   >
>>>>>   > On 13 Aug 2017 7:00 pm, "John Covici" <covici at ccs.covici.com> wrote:
>>>>>   >
>>>>>   > I wonder if its an audio problem. In a text console if you have
>>>>>   > espeak installed, does spdsay do anything?
>>>>>   >
>>>>>   > On Sun, 13 Aug 2017 13:17:16 -0400,
>>>>>   > Chris Brannon wrote:
>>>>>   > >
>>>>>   > > Okash Khawaja <okash.khawaja at gmail.com> writes:
>>>>>   > >
>>>>>   > > > Thanks that worked! But still no sound when run from text
>>>>
>>>> console. Works fine from inside GUI.
>>>>>
>>>>>   > >
>>>>>   > > So you can start speechd-up in the GUI and it will work?
>>>>>   > > But if you start it in the text console, it won't?
>>>>>   > > Does spd-say work from a text console at all?
>>>>>   > >
>>>>>   > > -- Chris
>>>>>   >
>>>>>   > --
>>>>>   > Your life is like a penny. You're going to lose it. The question is:
>>>>>   > How do
>>>>>   > you spend it?
>>>>>   >
>>>>>   > John Covici
>>>>>   > covici at ccs.covici.com
>>>>>   >
>>>>>
>>>>>   --
>>>>>   Your life is like a penny. You're going to lose it. The question is:
>>>>>   How do
>>>>>   you spend it?
>>>>>
>>>>>   John Covici
>>>>>   covici at ccs.covici.com
>>>>>
>>>> --
>>>> Your life is like a penny.  You're going to lose it.  The question is:
>>>> How do
>>>> you spend it?
>>>>
>>>>           John Covici
>>>>           covici at ccs.covici.com
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Speakup mailing list
>>> Speakup at linux-speakup.org
>>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>>
>>
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup at linux-speakup.org
>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup


More information about the Speakup mailing list