From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 502671EFD9A; Sat, 13 Aug 2016 17:31:36 -0400 (EDT) Received: from hurricane.the-brannons.com (hurricane.the-brannons.com [IPv6:2001:470:1:41:a800:ff:fe3e:bc77]) by befuddled.reisers.ca (Postfix) with ESMTP id C87801EFD8C for ; Sat, 13 Aug 2016 17:31:34 -0400 (EDT) Received: from localhost (71-34-75-114.ptld.qwest.net [71.34.75.114]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id 32E1F799BA for ; Sat, 13 Aug 2016 14:30:59 -0700 (PDT) From: Chris Brannon To: "Speakup is a screen review system for Linux." Subject: Re: LIBASOUND_THREAD_SAFE workaround and ArchLinux References: <3CFDD33E-4FE6-4667-BF1F-48AC7E40D402@speedpost.net> Date: Sat, 13 Aug 2016 14:31:19 -0700 In-Reply-To: <3CFDD33E-4FE6-4667-BF1F-48AC7E40D402@speedpost.net> (Zachary Kline's message of "Sat, 13 Aug 2016 10:39:09 -0700") Message-ID: <87ziogbbko.fsf@mushroom.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2016 21:31:36 -0000 Zachary Kline 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