← Back to team overview

kernel-packages team mailing list archive

[Bug 989191] Re: Asus Zenbook UX31E powers off on plugin in/out AC adapter

 

I have a regular UX21E. I am using a modified BIOS (rev. 214) and a
custom DSDT table. I could modify your BIOS and make you a fixed DSDT,
but that poses a risk of bricking the device. I could send you
instructions to modify it on your own as well.

There's nothing 'criminal' in the vanilla DSDT of my UX21E, it just has
a few dozen non-critical errors which is quite normal for an ASUS
device. I just corrected them and forced a Windows 7 signature so,
regardless of the operating sytem actually installed, ACPI employs
preferences optimized for Windows 7 (UX21E is officially stated to work
ONLY with Windows 7, so I was having suspicions that a different, and
maybe actually broken, set of ACPI preferences was used because I simply
don't know how Ubuntu introduces itself to the BIOS -- except for the
fact that it never declares itself Linux for compatibility purposes)
Specifying the lines 'Windows 2009' acpi_os_name=’Windows 2009' in the
grub command line should work to the same effect. Please note that the '
symbol is sometimes rendered incorrently on this site, so plain copy-
pasting from the web page may fail to work.

As for my custom BIOS, I simply used the AMIBCP utility to unhide a
number of hidden BIOS options, then used the UBU utility (ver. 1.37) to
update the CPU microcode. Then I flashed the modified BIOS with AFUDOS
and played around with the hidden BIOS settings a bit. I enforced Native
PCI-E control and Native ASPM (this is designed for newer OSes like
Windows 7 and later and enables the OS to reconfigure ASPM in all sorts
of ways) However, it seems that putting the 'aspm_pcie=force' in the
grub command line should work to the same effect, 'sudo tlp-stat' should
say that a 'powersave', not a 'bios defaults' ASPM policy is engaged.

I also fully disabled Sandy Bridge Turbo Boost (also achievable with
CPU_BOOST_ON_BAT=0 in the TLP config) and changed a few other default
BIOS settings, none of which seemed to share any direct connection to
the problem.

Finally, I updated my Intel Management Engine firmware using a DOS live
USB stick. Intel ME lives inside the same flash chip that contains the
BIOS, however it is not affected by any BIOS updates. It utilizes a
different region of the flash memory which never gets touched during a
BIOS update.

What you are experiening reminds me of a well-known problem of many
Zenbooks: highest tolerable CPU temperature is different for BAT and AC
modes. A hot CPU will switch off automatically as soon as the device
enters battery mode. This issue was fixed in the latest BIOS revision
for all Zenbooks. But maybe you need to reset CMOS (i.e. unplug that
really super tiny CMOS battery) for this kind of change to kick in.

If it's not the case, please post a link to the latest official BIOS for
your device on the ASUS site. Maybe the UX21 Ultra Slim you are talking
about is exactly the same thing as my UX21E and you could use my BIOS
and DSDT tables.

Also check the output of 'sudo tlp-stat', if there is a really huge
difference between 'energy_full_design' and 'energy_full' values in the
battery stats, you just happen to have a bad battery. Even for a badly
worn out battery, the difference shouldn't be above 30%.

Finally, you may want to do manual battery calibration.
http://www.howtogeek.com/172271/how-to-calibrate-your-laptops-battery-
for-accurate-battery-life-estimates

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

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

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  In Progress

Bug description:
  When I have logged in to Unity and plug in or out AC adapter to Asus
  Zenbook UX31E, computer powers off. Sometimes this needs couple of
  tries (waiting or not waiting in between) when plugin in or out AC
  adapter.

  This problem doesn't occur when I have switched to console or when in LightDM login screen. Problem doesn't happen with MS Windows either.
  And yes, there's enough power in my battery too, I can boot up and use the computer without AC adapter.

  syslog prints these lines to stdout in console, when plugin AC adapter first out and then in:
    [  869.521396] asus_wmi: Unknown key 57 pressed
    [  874.704525] asus_wmi: Unknown key 58 pressed
    [  876.993295] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id

  What you also need:

  1) lsb_release -rd
    Description:	Ubuntu 12.04 LTS
    Release:	12.04

  2) I could guess kernel, but it happens _only_ when I have logged in
  to Unity (or Unity 2D)...

  3) I expect that my computer doesn't power off.

  4) Computer powers off.

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