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 1578E1381FA for ; Thu, 5 Jun 2014 10:24:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6EC8CE09F1; Thu, 5 Jun 2014 10:23:56 +0000 (UTC) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43294E09B8 for ; Thu, 5 Jun 2014 10:23:54 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id y10so814808wgg.1 for ; Thu, 05 Jun 2014 03:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=gSVhv/Fhq4aPmqs4HKVZJFiFodon+gjeMwOxD4nOMw8=; b=qf3+DEL3cAYXJxKxwg+O4h1svd32Ep7sgEvT3Ihjlx0xrS9QN3uo2taaq05HBwzyUX 0uhPQY+/2v5+9HQ2M+fy5RyD7syIq0Y0XgAdM+K5XY7Vo1I8WIi6E/9TzzEZ8JdeP/oO /IbsMHfkV8Tc8WR/eu2Nf6OhVZsrZi0uM2HARGj15M5VYyMVJPIXhZp9fFHENIIHQoxN gf+jUanprGatD/tv/2MC2l9YlDSXoZX7Qckw54zlX2PGuBotG2s98dKMaqH2147v3xWc w1M6AbHs61Pv95tN/+wQYYor5QjPgksYO7J2wswKj4VqOfD+Z3d1GGokBeRlquGeDLE/ 6dGA== X-Received: by 10.194.2.244 with SMTP id 20mr56698658wjx.26.1401963833836; Thu, 05 Jun 2014 03:23:53 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPSA id m2sm7486299wjw.3.2014.06.05.03.23.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Jun 2014 03:23:52 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Systemd upower Date: Thu, 5 Jun 2014 11:15:30 +0100 User-Agent: KMail/1.13.7 (Linux/3.12.20-gentoo; KDE/4.12.5; x86_64; ; ) References: <20140603161406.0400709b5f38540475ac4c1f@web.de> <201406051003.33410.michaelkintzios@gmail.com> <539033A5.6020507@gentoo.org> In-Reply-To: <539033A5.6020507@gentoo.org> 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 Content-Type: multipart/signed; boundary="nextPart3287899.1jaNoFkJNh"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201406051115.49090.michaelkintzios@gmail.com> X-Archives-Salt: 6131c348-6a07-4958-896a-ca44852236a7 X-Archives-Hash: 36b05c262215640a49debd099b6c0ebc --nextPart3287899.1jaNoFkJNh Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thursday 05 Jun 2014 10:08:53 Samuli Suominen wrote: > 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? > >>=20 > >> For those tasks you mentioned... > >>=20 > >> ...if other desktops don't migrate like Xfce, then something like: > >>=20 > >> 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 > >>=20 > >> ...might be inevitable > >>=20 > >> And if Linux kernel does changes that break pm-utils, which haven't had > >> a single commit since 2010 > >> in upstream repository: > >>=20 > >> Switching to a) systemd, OR, b) wait, no other possibilities > >>=20 > >> Yes, that's really how poor the situation is, and don't shoot me, I'm > >> only the messenger :-) > >=20 > > Thanks Samuli, I don't shoot people, especially when they try to help m= e! > > :-) > >=20 > > 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: > >=20 > > pm-is-supported --suspend-hybrid > >=20 > > and didn't get anything ... what am I missing? >=20 > 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 >=20 > see `man pm-is-supported`, this particular command is silent, and only > returns > return codes, and 0 means it succeeded Yes, I had seen the man page and was expecting a return code, your echo str= ing=20 worked. Thank you. =2D-=20 Regards, Mick --nextPart3287899.1jaNoFkJNh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABCAAGBQJTkENUAAoJELAdA+zwE4YeZBwH/A1SV+AuFAlVQ5iKgOqtpcje WbECVnnhvPpKeYyEBq4xHcTCNfc8VRIMp3bLG5i7G7uULnKVEALz26W2UJUhHVbc WJWcjhOZZkVln432KiuVCUnEkslsh8eXU4msACuLNK+r0KqxYQc+JmevzbhHGkqF zMHscunJCwiQOUJ1a//P+W1Os2qX4SzGqaVAcTBIA3yTpvL657sVRyhRoR/8JCV6 TqUsrSyp7gKoHG3dZCfnHWJudUaQvCng7C+ShSVd5+ftHvrBAMUn4NurUN4Em6mh Pl1KEmu7fodI6khrZpUlFDX0cvJmOXrlUtJAU0CIvymU3t8rLtsPpgOmeNFDQxQ= =H57W -----END PGP SIGNATURE----- --nextPart3287899.1jaNoFkJNh--