The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 6,692β€…    Votes:  2β€…    βœ… Solution
Tags: 16.04   suspend   ssd   nvme  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/981658
Title: Cannot suspend with NVMe M.2 SSD
ID: /2017/11/30/Cannot-suspend-with-NVMe-M.2-SSD
Created: November 30, 2017    Edited:  June 12, 2020
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


NVMe SSD suspend/resume is a know bug

This problem has been reported on Launchpad and ArchLinux. The solution is to edit /etc/default/grub with sudo powers and find the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet kaslr acpiphp.disable=1 pcie_aspm=off nloglevel=3 udev.log-priority=3"

Your options will be different but add the option acpiphp.disable=1 between the double quotes.

Save the file and run sudo update-grub

Reboot and then suspend and resume will work, unless it’s a different problem.

What does acpiphp.disable=1 do?

According to the kernel developer in 2013 this disables ACPI hot-plugging. However that doesn’t mean hot-plugging is disabled on your machine. For example, replugging the USB cord to your Android phone brings up Nautilus to view files as it should. Also power cycling a second TV connected to your laptop via USB-C ThunderBolt 3 to Displayport to HDMI adapter reorganizes windows across workspaces as it should.

⇧ line 56 syntax error: unexpected end of file Windows Subsystem for Linux desktop shortcut to GUI  β‡©