From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fafnir.oit.pdx.edu ([131.252.120.58]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1IRAcR-0000Ib-00 for ; Fri, 31 Aug 2007 13:49:20 -0400 Received: from [131.252.124.160] (host-124-160.dhcp.pdx.edu [131.252.124.160]) (authenticated bits=0) by fafnir.oit.pdx.edu (8.13.3+/8.13.1) with ESMTP id l7VHmkC1020112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 31 Aug 2007 10:48:49 -0700 X-Authentication-Warning: fafnir.oit.pdx.edu: Host host-124-160.dhcp.pdx.edu [131.252.124.160] claimed to be [131.252.124.160] Message-ID: <46D854E4.3010706@brailcom.org> Date: Fri, 31 Aug 2007 10:50:28 -0700 From: Hynek Hanke User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: "Speakup is a screen review system for Linux." Subject: Re: speech-dispatcher 0.6.4 issue References: <20070831160008.GA11136@cq.ftml.net> In-Reply-To: <20070831160008.GA11136@cq.ftml.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 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: Fri, 31 Aug 2007 17:49:20 -0000 > I installed my speech-dispatcher 0.6.4 this morning > I have speech-dispatcher configured to add only one > module, flite. It> works fine, and I have software speech > with flite. But it blocks the /dev/dsp device so that other > applications cannot use it. Hi Chuck, this shouldn't be. I think the cause is very likely one of three things. You might have flite configured to use OSS instead of ALSA. Please look at /usr/local/etc/speech-dispatcher/modules/flite.conf for FliteAudioOutputMethod . It should be set to "alsa". In case you are using "alsa", then the reason can be that you are loading either another output module which uses OSS. Be sure to keep only the AddModule line for flite in speechd.conf, others comment out with hash. If neither of these is true, you are using ALSA, but it blocks itself, and cannot emulate /dev/dsp properly. This was long a bug of ALSA, that a system user playing sound through ALSA will block all other system users from connecting to ALSA. Since Speech Dispatcher is running as root and you want to play sounds as a regular user, this might be a problem. Upgrade to more recent versions of ALSA should solve the problem (to test whether this is the reason, try running speechd as root and aplay some sound as root -- if it works, ALSA blocks other users than root, as described...) I hope it helps, otherwise please write more. Have a nice day, Hynek Hanke