LIBASOUND_THREAD_SAFE workaround and ArchLinux

Zachary Kline zkline at speedpost.net
Sun Aug 14 12:27:55 EDT 2016


Hi, Chris and All,

Thanks for this information. I ended up going for the environment method, although I used a drop in snippet instead of copying the whole unit. I hope a patch gets put upstream at some point soon, so this kind of sludge is not necessary.
Best,
Zack.
> On Aug 13, 2016, at 2:31 PM, Chris Brannon <chris at the-brannons.com> wrote:
> 
> Zachary Kline <zkline at speedpost.net> writes:
> 
>> Hi All,
>> 
>> Does anybody have a way of implementing the LIBASOUND_THREAD_SAFE=0
>> workaround in Arch, with its espeakup.service systemd unit?
> 
> Hi Zack and all,
> You've got a couple of options now.
> 
> Samuel Thibault sent a patch to the Debian Accessibility list to fix the
> issue in libasound.  I've been running with that patch over here, and
> espeakup seems to be working fine.
> I put that patch up on my server so everyone can get it easily:
> http://the-brannons.com/asound.patch
> On Arch, you can add that patch to your ABS tree, adjust the PKGBUILD,
> and rebuild alsa-lib from source.
> 
> 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
> 
> -- Chris
> _______________________________________________
> Speakup mailing list
> Speakup at linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup



More information about the Speakup mailing list