So, a strange thing happened. In order to mitigate the problem, I
decided to switch to having the computer hibernate instead of suspend (I
outline below the steps I did to do that). And then, on a whim, I tried
suspending again. And it stopped crashing, even after I switched back to
suspend completely. I didn't do any software updates or, as far as I
know, anything else in the interim. So right now, I have my computer set
to suspend and it seems to work fine. I was waiting a few days to see if
the problem reemered but right now, I can't reproduce it at all.

For your edification (and maybe for other people), here were the steps I
followed:

$  gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 
'hibernate'
$  gsettings set org.gnome.settings-daemon.plugins.power \
      lid-close-ac-action 'hibernate' \
     && gsettings set org.gnome.settings-daemon.plugins.power \
      lid-close-battery-action 'hibernate'

- In /etc/systemd/logind.conf, make sure '#HandleLidSwitch=suspend' is
commented out, and add HandleLidSwitch=hibernate

- And then I saved the attached file to
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

To switch back, I reran the shell commands with 'suspend' instead of
hibernate and then removed the changes to the config files.


** Attachment added: "com.ubuntu.enable-hibernate.pkla.disabled"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1661741/+attachment/4814420/+files/com.ubuntu.enable-hibernate.pkla.disabled

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1661741

Title:
  [Dell Inc. Latitude E5470] suspend/resume failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1661741/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to