From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from uq.net.au(fox.uq.net.au[203.101.255.1]) (2060 bytes) by braille.uwo.ca via smail with P:esmtp/D:aliases/T:pipe (sender: ) id for ; Sun, 27 May 2001 09:10:48 -0400 (EDT) (Smail-3.2.0.102 1998-Aug-2 #2 built 1999-Sep-5) Received: from data.home (mail@dyn-22-11.dialin.uq.net.au [203.100.22.11]) by uq.net.au (8.9.3/8.9.3) with ESMTP id XAA07592 for ; Sun, 27 May 2001 23:10:46 +1000 (GMT+1000) Received: from geoff by data.home with local-esmtp (Exim 3.12 #1 (Debian)) id 1540Jh-0000tD-00; Sun, 27 May 2001 23:10:45 +1000 Date: Sun, 27 May 2001 23:10:45 +1000 (EST) From: Geoff Shang To: Subject: Re: changing default speakup options at boot up In-Reply-To: <4.2.2.20010527215620.00a8d630@mail.blindcity.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-Id: Hi Mick: Here's how you can lick the rate problem (this is where opensource comes into its own). Kirk, can you verify this before someone trashes their system please? Look in /usr/src/linux/drivers/char/speakup/speakup_dtlk.c line 244 (or somewhere nearby) - it should read: {"rate", "5", "\x01_s", (NUMERIC|HARD_DIRECT|USE_RANGE), "0,9"}, Now as far as I see it, changing the value here should change the default for the synth without breaking anything. You'll see all the other defaults for the doubletalk PC here too. For anyone else wanting to see these for other synths, it seems to be right down the bottom of the appropriate C file. OK, make the change then recompile. Note that you should only have to do 'make bzImage' or whatever your big one was, and it probably won't recompile much (only speakup), unless you do 'make clean' in which case it'll take ages as usual. Please wait for Kirk to give this the thumbs up before using this (I'm not a C programmer and definitely not a kernel hacker. As for shutting up the synth automatically, maybe there is somewhere in the speakup code where the flag for numpad-enter could be set manually after speech detection. Any ideas where this would be, Kirk? Geoff.