=========================================================================================

Finally, a reliable solution for unexpected shutdowns and hangs was
discovered!

This seems to be working with any Asus laptop suffering from unexpected
shutdowns and / or hangs while running on battery:

1. Add the following boot arguments _both_ to GRUB_CMDLINE_LINUX_DEFAULT
and GRUB_CMDLINE_LINUX in /etc/default/grub.cfg:

intel_pstate=disable pcie_aspm=force acpi_osi=’Windows 2009′
acpi_os_name=’Windows 2009′

Don’t forget to execute sudo update-grub afterwards!

2. Install the package tlp from ppa:linrunner/tlp an set at least the
following values in /etc/default/tlp

CPU_SCALING_GOVERNOR_ON_BAT=ondemand

CPU_BOOST_ON_BAT=0

PCIE_ASPM_ON_BAT=powersave

RUNTIME_PM_ON_BAT=on

3. Shut down the device, carefully remove the bottom cover and detach
the big battery (not the tiny CMOS battery) from the motherboard for
five minutes. There are plenty of youtube videos showing how to safely
disassemble the various Asus laptops. With certain power management
settings on the OS side, the EC (Embedded Controller) goes crazy and
thus needs resetting. The only way to reset it is to detach the battery
for a few minutes.

4. From now on, shutdowns should be gone. Take care, however, not to
_ever_ use any live USB stick or installation / recovery CDs based on
Linux and using the intel_pstate driver and / or the default BIOS
settings for ASPM. If you try to, you will merely reproduce the problem
once again, and will subsequently have to disassemble your Zenbook once
again. There are a few sad cases, like reinstalling Ubuntu itself, where
you will _have_ to boot from a live USB utilizing the problematic
intel_pstate driver. Only do so when running on AC, and please repeat
Stage 3 (no matter how boring) of this manual once you are done.

P.S. Intel_pstate and the default ASPM bios settings eventually make the
mobo’s Embedded Controller go crazy and persist in this state until the
battery is detached from the motherboard. That’s basically how this
problem is born.

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

Title:
  Asus Zenbook UX31E powers off on plugin in/out AC adapter

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

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

Reply via email to