From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DF0171381FA for ; Thu, 5 Jun 2014 09:11:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 657B3E09F2; Thu, 5 Jun 2014 09:11:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2DB51E090E for ; Thu, 5 Jun 2014 09:11:26 +0000 (UTC) Received: from [10.173.147.84] (85-76-37-17-nat.elisa-mobile.fi [85.76.37.17]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ssuominen) by smtp.gentoo.org (Postfix) with ESMTPSA id AEB3433FD28 for ; Thu, 5 Jun 2014 09:11:24 +0000 (UTC) Message-ID: <539033A5.6020507@gentoo.org> Date: Thu, 05 Jun 2014 12:08:53 +0300 From: Samuli Suominen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Systemd upower References: <20140603161406.0400709b5f38540475ac4c1f@web.de> <201406050624.15769.michaelkintzios@gmail.com> <53901B6A.1040806@gentoo.org> <201406051003.33410.michaelkintzios@gmail.com> In-Reply-To: <201406051003.33410.michaelkintzios@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1ac450e7-f4d1-4729-ba29-0a4213385113 X-Archives-Hash: 10070b8a858e6680071aced60a894ffc On 05/06/14 12:03, Mick wrote: > On Thursday 05 Jun 2014 08:25:30 Samuli Suominen wrote: >> On 05/06/14 08:23, Mick wrote: >>> Are you saying that as things stand it is a matter of time before a >>> gentoo user will have to switch from openrc to systemd, if they >>> want/need to continue using sleep and hibernate? >> For those tasks you mentioned... >> >> ...if other desktops don't migrate like Xfce, then something like: >> >> Switching to a) systemd, OR b) switching to Xfce (direct pm-utils >> support in session and power managers), >> OR c) switching to command line pm-* utilities directly from pm-utils >> >> ...might be inevitable >> >> And if Linux kernel does changes that break pm-utils, which haven't had >> a single commit since 2010 >> in upstream repository: >> >> Switching to a) systemd, OR, b) wait, no other possibilities >> >> Yes, that's really how poor the situation is, and don't shoot me, I'm >> only the messenger :-) > Thanks Samuli, I don't shoot people, especially when they try to help me! :-) > > I use enlightenment on most machines and KDE on a couple of desktops, so I > guess these would be the only two desktops that may be an issue for me. > However, I had forgotten about the pm-* commands. I just tried: > > pm-is-supported --suspend-hybrid > > and didn't get anything ... what am I missing? > null ssuominen # pm-is-supported --suspend null ssuominen # echo $? 0 null ssuominen # pm-is-supported --hibernate null ssuominen # echo $? 0 null ssuominen # pm-is-supported --suspend-hybrid null ssuominen # echo $? 0 see `man pm-is-supported`, this particular command is silent, and only returns return codes, and 0 means it succeeded - Samuli