[SOLVED] Using espeak error bt_audio_service_open connect failed connection refused 111

November 3, 2009

When using espeak voice synthesizer, we were getting an error message "bt_audio_service_open: connect() failed: Connection refused (111)". 

Solutions which might work are:

1.  Pipe espeak output through aplay in a bash script

Code:
%words = "hello world"
espeak --stdout %words | aplay

or

2.  Install Gnome Espeaker front-end:

http://gespeaker.googlecode.com/file…er_0.6_all.deb

If none of these work, a 3rd suggestion for the cause of the problem is that it is related to alsa configuration and not to the sound issue.

The error happens because bluetooth was disabled but alsa is still configured to use BT services, to fix this just:

Code:
sudo apt-get purge bluez-alsa 

But be careful with this solution if you do use bluetooth devices for audio.

  • LinkedIn
  • Facebook
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks
  • MySpace
  • Digg
  • Live
  • Slashdot
  • RSS

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

Subscribe to email updates

About the Author

Buz has been a consultant since 1998, advising businesses on technology and digital strategy.

TwitterFacebookRSSLinkedIn

Twitter