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.122]) by speech.braille.uwo.ca (Postfix) with ESMTP id 0E61810A4D for ; Tue, 8 Sep 2009 15:01:20 -0400 (EDT) Received: from linux1.localdomain ([76.183.49.63]) by cdptpa-omta01.mail.rr.com with ESMTP id <20090908190119658.HWYP5638@cdptpa-omta01.mail.rr.com> for ; Tue, 8 Sep 2009 19:01:19 +0000 Received: by linux1.localdomain (Postfix, from userid 1000) id 50F3B43C03; Tue, 8 Sep 2009 14:01:19 -0500 (CDT) Date: Tue, 8 Sep 2009 14:01:19 -0500 From: William Hubbs To: "Speakup is a screen review system for Linux." Subject: Re: how to tell which synthesizer is active Message-ID: <20090908190119.GA25716@linux1> Mail-Followup-To: "Speakup is a screen review system for Linux." References: <14688.1252299370@ccs.covici.com> <4AA5C28E.6090506@baechler.net> <14244.1252384580@ccs.covici.com> <20090908151235.GA24861@linux1> <957.1252426474@ccs.covici.com> <20090908164630.GA25282@linux1> <28ED62F05EC041CD939AE688EBDDEAFF@math.wisc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28ED62F05EC041CD939AE688EBDDEAFF@math.wisc.edu> 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 19:01:20 -0000 On Tue, Sep 08, 2009 at 01:26:23PM -0500, John G. Heim wrote: > Well, I'm not too sure if I am following you completely but I think the new > system allows you to get speech for logging in even if you forget to attach > your synth before booting. In the past, if you forgot to attach your synth > before you booted, you had to log in without speeach and start speech > manually. In the past, we would open all of the serial ports and look for the synthesizer, so if we didn't find it on a port we didn't attempt to initialize it and we just left speakup in the system, but told it that there wasn't a synthesizer connected. Now, we skip this probing step and assume that the synthesizer is on port 1 unless you give a command line parameter telling us otherwise. > I understand why John C. wants to be able to tell which synth module is > being used. If you could do that, then you could put the driver for the > hardware synth in the initrd but if it wasn't attached, you could load the > software speech module and use software speech. I used to have my laptop set > up to do that. All it did was grep the output from lsmod for the driver for > my hardware synth. If it didn't find it, it loaded the software speech > driver and started speech-dispatcher. > > > Maybe there's something in lsmod that actually indicates which driver is > active. I think John builds the hardware synth driver into the kernel and builds the software synth driver as a module. I think he is wanting to use the synth sys file to tell when we have deactivated the hardware synth because of too many time outs. William