On Fri Jul04'25 10:31:43PM, Samuel Sieb wrote: > From: Samuel Sieb <sam...@sieb.net> > Date: Fri, 4 Jul 2025 22:31:43 -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 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.
Thank you. So in summary, for me at least, hibernate worked out of the box, well almost. I created a separate swap partition in the usual way during installation, then switched off SecureBoot and then did the above, which in summary for me is: Edit/create /etc/systemd/system/intel_hid-sleep.service file (with sudo) and 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, sudo systemctl enable intel_hid-sleep.service All this on a Dell Latitude 7410. I intend trying this on my wife's newer Dell Latitude 7450 and reporting back on this. Btw, I have never had issues with hibernate on my two older Dell XPS 13s (2013 and 2017) where it installs and works out of the box. Perhaps the older hardware do not have these features/bugs. Many thanks again to Sam and others for all their help, and best wishes, Ranjan -- _______________________________________________ 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