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: 819β€…    Votes:  2β€…    βœ… Solution
Tags: laptop   lid  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1041762
Title: Laptop not coming back from sleep after lid close
ID: /2018/05/30/Laptop-not-coming-back-from-sleep-after-lid-close
Created: May 30, 2018    Edited:  June 12, 2020
Upload: September 15, 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 splash acpiphp.disable=1"

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

Save the file then reboot. Now suspend and resume will work.

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.

Proposed permanent fix

A few days ago a permanent fix was proposed in kernel 4.15.0-23 by someone who is probably a Ubuntu Developer.

⇧ Wireless keyboard not working with Ubuntu 18.04 Live USB Why is exit code 0 a Success and 1 a Failure  β‡©