From unknown Thu Mar 28 16:10:21 2024 Received: (at 479) by bugs.devuan.org; 18 Jun 2020 09:00:02 +0000 Return-Path: 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 (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 ) 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 To: POD Cc: Michaela Merz , 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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