From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 8385E1EFB5D; Thu, 17 Aug 2017 05:18:39 -0400 (EDT) Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::230]) by befuddled.reisers.ca (Postfix) with ESMTPS id D22831EF796 for ; Thu, 17 Aug 2017 05:18:36 -0400 (EDT) Received: by mail-vk0-x230.google.com with SMTP id u133so20374303vke.3 for ; Thu, 17 Aug 2017 02:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=DSnLV8ww63suR54qpwhi85dLR1DMheI+NlIpffnPGz8=; b=o9pVPceVeXDq5kb72FG3X8bu7uFVMBS3VKT2kzyqk8G5P5KWI+uIJJPtBt4eR9uczN ixpmRCwItw3aS32V2jsthT12LbcJSUME5sPkJWaUbrF6Yl6RFe2clPwujkLFvvyXJ7ln y6u/IbUrZcggIYEVhVYariad4Kz9dQ54PRX4yS077u6zFzd1X7la/+aOrGXJ5OCQv823 PlDyELWXulTLmtHiHhN8U0PyTJ/FTZX6tyeJ8y0ZFlis42lU0ezlsn+Vozu3QJNLs8G6 bcjMh7wt3RT5KU87YUfvx3P5rb+RohhQDEUf1R73jSbZEqfjj49FqGvLnMAesIzcbN6l IZnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=DSnLV8ww63suR54qpwhi85dLR1DMheI+NlIpffnPGz8=; b=B05TvpR9dFlBR2XfmcfNSM6XEmbodT448Qz9fhiRsXkhrqmuq0GEgtrIvBgvC37jv2 AFX65rAwPityZMFRL6xMBiggXyGLxBlcbLb2JtWmg6gXeFmq5wBF6X/KjcRBjw/LuMfw pJrE2ABhok+EtaU0XThXCJ6dPKaMN+bQSI8Ga1RXAwyw7dEErdcYRXVr1IAyskym5ypA gkby5IPrsuIeRIABv3UKDYwJFR957oknmdxtrO6rwlCxpMOnQBPvsWwqzt2hP/jIPg60 f+hwj9AcozqpaaZ1mzTX4Zwg+5uaHtmDys9siyHE5SwGLAM/4Nejr6JVJkliwGf9mUGr x54g== X-Gm-Message-State: AHYfb5hhTWXBXGiyN0DmNLnqGb0jARJalQqtbbW8YvoHjG2iMQ+yrkEv 6+HJ2PZvqRpuYqBg1wj7YWFGSrE2LQwv X-Received: by 10.31.114.134 with SMTP id n128mr3258700vkc.136.1502961511180; Thu, 17 Aug 2017 02:18:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.168.145 with HTTP; Thu, 17 Aug 2017 02:18:30 -0700 (PDT) In-Reply-To: References: <20170812143231.GA694@sanghar> <87wp67pn0b.fsf@the-brannons.com> <87shgvpeub.fsf@the-brannons.com> From: Okash Khawaja Date: Thu, 17 Aug 2017 10:18:30 +0100 Message-ID: Subject: Re: speechd-up not working on text console To: "Speakup is a screen review system for Linux." Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2017 09:18:39 -0000 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 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 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" wrote: >>> >>>> Okay I'll give it a go. >>>> >>>> Thanks , >>>> Okash >>>> >>>> On 14 Aug 2017 8:03 pm, "John Covici" 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 ] >>>>> [2 ] >>>>> 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" 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 ] >>>>> > [2 ] >>>>> > 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" 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 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@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@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@ccs.covici.com >>>> >>>> >>>> >>> _______________________________________________ >>> Speakup mailing list >>> Speakup@linux-speakup.org >>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup >> >> >> >> _______________________________________________ >> Speakup mailing list >> Speakup@linux-speakup.org >> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup