On Sat Jul05'25 08:42:50AM, Community Support for Fedora Users wrote: > From: Ranjan Maitra via users <users@lists.fedoraproject.org> > Date: Sat, 5 Jul 2025 08:42:50 -0500 > To: Community support for Fedora users <users@lists.fedoraproject.org> > Cc: Ranjan Maitra <mlmai...@gmx.com> > Reply-To: Community support for Fedora users <users@lists.fedoraproject.org> > Subject: Re: F42: instructions on setting up hibernate for ext4 systems > [SOLVED] > > > > 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. >
Update: this "problem" did not go away on the Dell Latitude 7450 that was running F41, but appears to have gone away on that machine after an upgrade to F42. Interesting! Many thanks 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