Re: F42: instructions on setting up hibernate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <samuel@xxxxxxxx>
Date: Fri, 4 Jul 2025 19:15:54 -0700
To: users@xxxxxxxxxxxxxxxxxxxxxxx
Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux