GNU bug report logs - #78040
elogind's suspend-then-hibernate requires dmi-sysfs to detect wakeup type

Previous Next

Package: guix;

Reported by: Josselin Poiret <dev <at> jpoiret.xyz>

Date: Thu, 24 Apr 2025 14:57:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Danny Milosavljevic <dannym <at> friendly-machines.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: dev <at> jpoiret.xyz, 78040 <at> debbugs.gnu.org
Subject: bug#78040: elogind's suspend-then-hibernate requires dmi-sysfs to detect wakeup type
Date: Fri, 25 Apr 2025 02:01:14 +0200
>> Loading dmi-sysfs manually solves this issue, but I don't know how to do
>> that with the elogind-service-type implementation.

>Maybe an activation snippet could do:
>  (load-linux-modules-from-directory '("dmi-sysfs")
>                                     (current-kernel-directory))

Why not use the kernel module loader service extension?
That's what it's there for.

(service-type
...
   (extensions
    (list (service-extension kernel-module-loader-service-type
                             (const '("dmi-sysfs"))))))




This bug report was last modified 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.