From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by speech.braille.uwo.ca (Postfix) with ESMTP id E4F9D10A13 for ; Tue, 8 Sep 2009 11:12:35 -0400 (EDT) Received: from linux1.localdomain ([76.183.49.63]) by cdptpa-omta04.mail.rr.com with ESMTP id <20090908151235469.VRCV8566@cdptpa-omta04.mail.rr.com> for ; Tue, 8 Sep 2009 15:12:35 +0000 Received: by linux1.localdomain (Postfix, from userid 1000) id 0ABD643C03; Tue, 8 Sep 2009 10:12:35 -0500 (CDT) Date: Tue, 8 Sep 2009 10:12:35 -0500 From: William Hubbs To: speakup@braille.uwo.ca Subject: Re: how to tell which synthesizer is active Message-ID: <20090908151235.GA24861@linux1> Mail-Followup-To: speakup@braille.uwo.ca References: <14688.1252299370@ccs.covici.com> <4AA5C28E.6090506@baechler.net> <14244.1252384580@ccs.covici.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14244.1252384580@ccs.covici.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.12 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 15:12:36 -0000 On Tue, Sep 08, 2009 at 12:36:20AM -0400, covici@ccs.covici.com wrote: > I want to do this only at boot time, but this sounds like it could have > a lot of false hits. I still think the synth could be set to none when > this happens -- any reason why not? Hi John, When we deactivate speakup because of too many timeouts, we don't actually release the synthesizer. What we do is similar to what happens when print screen is pressed. The code does not set the synth parameter to none in this case because the synthesizer driver is still active in the system, it is just waiting for you to press print screen before it starts sending data to the synthesizer. I could change the code so that it actually releases the synthesizer when it deactivates, but, if I do that, you would have to use talkwith or some other method to activate your synthesizer if speakup deactivates because of timeouts, which is probably not what you want. The other change I might be able to make would lead to the synth parameter being none whenever the synth is deactivated or released including when print screen is pressed. What do you think? William