On 7/4/25 9:41 PM, Ranjan Maitra via users wrote:
On Fri Jul04'25 07:15:54PM, Samuel Sieb wrote:
From: Samuel Sieb <sam...@sieb.net>
Date: Fri, 4 Jul 2025 19:15:54 -0700
To: users@lists.fedoraproject.org
Reply-To: Community support for Fedora users <users@lists.fedoraproject.org>
Subject: Re: F42: instructions on setting up hibernate

On 7/4/25 7:08 PM, Ranjan Maitra via users wrote:
This appears to be a common issue with Dell laptops, although it seems that
usually it doesn't even work the first time.
Try running "modprobe -r intel_hid" before hibernating and see what happens.

It goes down reliably and comes back only when told to, at least three times.

It will likely disable some of your special keys, like the power key (which
seems to be the issue here).  See
https://bugzilla.kernel.org/show_bug.cgi?id=218634.  Someone posted a
workaround to remove the module only around hibernating.


Thank you! Boy, this has been around for a while, and it is a kernel issue.

It's more of a hardware issue (feature?) that needs a kernel workaround.

So, from what I understand here, I have to do all this?

Edit /etc/systemd/system/intel_hid-sleep.service file with these contents:

  [Unit]
  Description=Intel HID module unloading to prevent it interrupting hibernation
  Before=sleep.target
  StopWhenUnneeded=yes

  [Service]
  Type=oneshot
  RemainAfterExit=yes
  ExecStart=-/usr/bin/rmmod intel_hid
  ExecStop=-/usr/bin/modprobe intel_hid

  [Install]
  WantedBy=sleep.target

Then,

systemctl enable intel_hid-sleep.service

Is this correct, or am I missing other steps: sorry, a part of it is beyond my 
understanding.

I think that's all. You could also just blacklist the module if removing it doesn't cause you any issues.

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to