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: Ludovic Courtès <ludo <at> gnu.org>
To: Danny Milosavljevic <dannym <at> friendly-machines.com>
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 10:48:41 +0200
Danny Milosavljevic <dannym <at> friendly-machines.com> writes:

>>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"))))))

Oh right, even better.

Ludo’.




This bug report was last modified 111 days ago.

Previous Next


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