[arch-general] Problem with suspend
list at csomay.hu
Fri Apr 2 15:27:19 EDT 2010
Byron Clark <byron at theclarkfamily.name> writes:
> On Fri, Apr 02, 2010 at 05:06:29PM +0200, Csomay Mihaly wrote:
>> On Fri, 2 Apr 2010 07:13:00 -0600, Byron Clark <byron at theclarkfamily.name> wrote:
>> > Sounds like you're hitting this bug: http://bugs.archlinux.org/task/18881
>> But if that's the cause, how come it works flawlessly when acpid is
>> calling the same pm-suspend binary, and it only hangs when I call it
>> from the command line?
> The bug only happens for UTF-8 locales, it is not present when LANG=C.
> Suspend works from acpid because LANG is set in /etc/profile.d/locale.sh
> which is only sourced for login shells. The script you run from acpid
> is not a login shell.
Thank you for the tip and the explanation!
With grep from testing it works perfectly.
More information about the arch-general