On Tue, Nov 20, 2012 at 08:56:01PM +1100, Daniel Dalton wrote: > This works alright, but I have some remaining problems. > 1. Applications as root do not work. This means I can not use speakup > (via espeakup) and brltty sounds do not play. > Jason, do you run your pulseaudio in system-mode? I did experiment with > this early on, but now things are working reasonably well I'm reluctent > to try unless I know it's the right option.
I tried using system mode for pulseaudio (basically starting pulseaudio once as root). I stopped gnome from autostarting pulseaudio as well. This allows all my sound to work fine including speakup and brltty. However there are some problems: If I start speakup at start-up it seems to break everything. If I wait until I log into my shell before starting espeakup then everything is ok. I guess this means that espeakup is starting prior to pulseaudio. Obviously, I want espeakup to start as early as possible. So is it possible to make pulseaudio start earlier, if so how? > 2. Speech via emacspeak is a little bit choppy - the ends of words are > sometimes omitted. Also the emacspeak espeak driver seems to crash every > now and then and I need to do ctr-e ctr-s to restart it. This bug is still present, and is now extended to speakup which also crashes. eSpeakup is crashing every 30 seconds to the point where it is almost unusable. If I run espeak "some text" at the command line I get these errors even though I still hear the string spoken: ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started These errors pop up when using speakup/espeakup as well, but this method was just easier to capture the error messages. And finally here is the logs just after a speakup/espeakup crash. Nov 21 13:02:27 debian-laptop acpid: client 6570[0:0] has disconnected Nov 21 13:02:32 debian-laptop kernel: [ 3227.134345] releasing synth soft Nov 21 13:02:32 debian-laptop kernel: [ 3227.134463] unregistered /dev/softsynth Nov 21 13:02:32 debian-laptop kernel: [ 3227.139875] speakup_soft: module is from the staging directory, the quality is unknown, you have been warned. Nov 21 13:02:32 debian-laptop kernel: [ 3227.140538] synth probe Nov 21 13:02:32 debian-laptop kernel: [ 3227.140654] initialized device: /dev/softsynth, node (MAJOR 10, MINOR 26) The speech is also choppy with both espeakup (speakup/espeak) and emacspeak/espeak. Orca speech is perfect and has not crashed once (using speech-dispatcher through pulseaudio). I think espeakup and emacspeak use alsa and I'm trying to force them through pulseaudio with my asound file. So really not sure what else I can try here. Any ideas are greatly appreciated. Thank you very much, Daniel -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

