Last active
October 25, 2017 14:58
-
-
Save steve-todorov/fc6cfeb756c4544c7a0a to your computer and use it in GitHub Desktop.
Fix SUSE suspend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Check if /etc/default/grub has | |
| GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda2 splash=silent quiet showopts" | |
| and "resume" points to the correct SWAP partition. | |
| 2. Check if using any nvidia drivers. If so - uninstall them and make sure to remove any files that blacklist "nouveau": | |
| cd /etc/modprobe.d/ | |
| grep -i -R "nouveau" . | |
| (remove nvidia*.conf; remove any lines in other files that contain the blacklist nouveau string) | |
| 3. run mkinitrd | |
| 4. reboot; try closing the laptop after boot to see if it goes into suspend. | |
| 5. Check if /etc/systemd/logind.conf has: | |
| HandleSuspendKey=suspend | |
| HandleLidSwitch=suspend | |
| LidSwitchIgnoreInhibited=yes | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment