Devuan bug report logs - #479
xcfe4-power-manager: Can't configure laptop lid

Package: xcfe4-power-manager; Maintainer for xcfe4-power-manager is (unknown);

Reported by: Michaela Merz <mischmerz@googlemail.com>

Date: Tue, 2 Jun 2020 23:33:01 UTC

Severity: normal

Done: Mark Hindley <mark@hindley.org.uk>

Full log


Message #43 received at 479@bugs.devuan.org (full text, mbox, reply):

Received: (at 479) by bugs.devuan.org; 18 Jun 2020 09:00:02 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 18 Jun 2020 09:00:02 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id BF423F609E5
	for <479@bugs.devuan.org>; Thu, 18 Jun 2020 10:55:46 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1jlqKj-0006mq-P1; Thu, 18 Jun 2020 09:55:42 +0100
Received: (nullmailer pid 7447 invoked by uid 1000);
	Thu, 18 Jun 2020 08:55:40 -0000
Date: Thu, 18 Jun 2020 09:55:40 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: POD <trainreq@gmail.com>
Cc: Michaela Merz <mischmerz@googlemail.com>, 479@bugs.devuan.org
Subject: Re: bug#479: xcfe4-power-manager: Can't configure laptop lid
Message-ID: <20200618085540.GD3124@hindley.org.uk>
References: <5bf37b4a-3074-282a-40e9-d492df5dd4e3@gmail.com>
 <20200616094848.GX3124@hindley.org.uk>
 <D6D0A679-786D-481D-8407-1D934CAD23D9@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D6D0A679-786D-481D-8407-1D934CAD23D9@gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
On Wed, Jun 17, 2020 at 12:05:02PM -0500, POD wrote:
>    Hi Mark,
>    Did fresh install, toggling logind-handle-lid-switch to false does
>    produce the correct suspend action.
>    Previously was upgraded from ASCII

That is really useful information, thanks.

Michaela,

This confirms that the fix I suggested does work. However, in your case I
believe you upgraded from ascii.

Could you check the version of upower you have installed? You need to manually
upgrade it from ascii to beowulf as documented in the Upgrade Notes[1].

ascii upower version is 1:0.9.23-2+devuan1.3 whereas beowulf has 0.99.10-1. This
looks like a downgrade to apt because of the loss of the epoch ('1:'). However,
it is really an upgrade (compare the rest of the version). Also see bug #394[2]
Something like

 apt-get install --allow-downgrades upower/beowulf gir1.2-upowerglib/beowulf

should achieve what you need.

Does having the correct beowulf version of upower allow setting
logind-handle-lid-switch to false to restore the behaviour you expect?

Thanks

Mark

[1]  https://devuan.org/os/documentation/dev1fanboy/en/upgrade-to-beowulf
[2]  https://bugs.devuan.org/394

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Nov 25 11:49:02 2024;