Disable ACPI suspend after laptop lid close on Dell Mini with Ubuntu 14.04 LTS
When laptop lid is closed, system enters sleep or hybernate mode. This is a problem for me because I'm using the laptop as a mini server at home.
In addition, after entering this suspended mode, the system is unable to recover after lid is open, so even if I used it as a laptop, and didn't mind it entering suspended state, the freezing would still be a problem. This happened with BIOS
A05 and with the latest
One workaround could be to just run it with the lid open all the time, but then the keyboard collects dust, so I don't like that.
I know there's an option to control this in
System Settings > Power, but this laptop is running a server without a GUI.
Manufacturer: Dell Inc. Product Name: Inspiron 1010 Version: A05 (later updated to A11)
/etc/systemd/logind.conf, then rebooted (could also just run
Afterward, system no longer enters suspended mode on lid close. Yay!
Things that didn't work
1. The acpi-support package
$ sudo apt-get install acpi-support
And disabled suspend::
$ diff -up /etc/default/acpi-support.default /etc/default/acpi-support --- /etc/default/acpi-support.default 2015-10-20 10:58:35.159052516 -0700 +++ /etc/default/acpi-support 2015-10-20 10:58:52.747139731 -0700 @@ -56,7 +56,7 @@ # Please specify a space separated list of options. The recommended value is # "dbus pm-utils" # -SUSPEND_METHODS="dbus-pm dbus-hal pm-utils" +SUSPEND_METHODS="none"
2. Various boot loader options
Ubuntu hung during boot with
$ grep acpi /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="acpi=off"
nolapic, Ubuntu did boot, but it didn't fix the suspend/freeze issue.