[raspberry-vi] Re: USB Speech Dying on Arch

  • From: Chris Brannon <chris@xxxxxxxxxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Tue, 30 Aug 2016 11:51:39 -0700

Gregory Osborne <Gregory.Osborne@xxxxxx> writes:

Then, my Arch Linux system at home, running on an AMD64 suddenly went silent 
after a reboot. 
Clarification: It comes up with speech still, but speech drops out not
long after reboot no matter what you’re doing or not doing.

Well I can't speak for Arch on the Pi, but the problem you're having
with Arch on the AMD64 machine is due to an alsa upgrade interacting
badly with portaudio.  It's going to be fixed there; we're waiting for
the patch to go into git.

You can "fix" this issue on Arch by starting your espeak-based programs
with the LIBASOUND_THREAD_SAFE environment variable set to 0.
I described how to do that on Arch for espeakup running under systemd
recently, so I'll just quote my own post to the Speakup list.

<quote>
If you'd rather use the environment variable workaround discussed
earlier, I think the following steps should work for you under systemd.
Copy /usr/lib/systemd/system/espeakup.service to /etc/systemd/system.
Edit /etc/systemd/system/espeakup.service.
Find the line that says [Service].
After that line, insert
Environment=LIBASOUND_THREAD_SAFE=0
</quote>

Good luck,
-- Chris
=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: