← Back to team overview

kernel-packages team mailing list archive

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

 

"Could someone with the problem try reproducing it with Windows?"

I reproduced the problem with Windows 7. Here's my test setting:

I reinstalled Windows 7 and some drivers and utilities (most importantly
ASUS Power4Gear-Hybrid) from here:

http://www.notebook-driver.com/fi/asus/asus-zenbook-ux31e-win7-64bit-
driver-utility/

First I didn' t get any crashes (same goes always some time with fresh
install of Ubuntu). I tried to pull AC-cable off every now and then and
with different amounts battery charge.

I used Jpcsp as test application (because it uses lots of resources, and
always freezes Ubuntu if I try to run it without AC-cable). I didn't get
any crashes, but I noticed that the emulator slows down every time I
pull off the AC-cable, so I went to check Power options.

I found out that in On Battery -mode in ASUS Power4Gear-Hybrid's "High
Performance"-battery plan the maximum processor state is set to 80% as
default. I changed it to 100% (AC not connected, emulator still running)
and immediately got the shutdown. After restarting I tried Windows 7's
own High performance setting (maximum processor state 100%; I had to
force ASUS Power4Gear-Hybrid to shut down before that, because it tries
to overrun the battery plan every time I touch the AC cable). When I
started the emulator (AC still not connected), Windows 7 froze. In that
point I had only 30% of battery charge left. When I tried to restart
Windows 7, I got immediate shutdown (probably because of low battery).
Then I put AC cable back on, waited for some time for battery to charge
and ran the emulator again (with about 50% charge). Everything worked
untill I pulled AC cable off -> crash. I changed maximum processor state
back to 80% and ran the emulator again. When I pulled off the AC cable,
I didn't get crash. I repeated this about 10 times and still no crahes.
Here's my conclusion:

The shutdown or freezing occurs in Windows 7 when:
- Processor state is over 80% and the AC cable is pulled off
- Processor state is over 80% and the AC cable is not connected
- Processor state reaches some point that's more than is needed to run grub but less than is needed to boot Windows 7, the AC cable is not connected and battery has less than 30% of charge

After I wrote this my heart was pounding when I last time pulled the AC
cable off (Power4Gear-Hybrid's default "High Performance"-battery plan
is currently active). As you can read this, you can see that I still
didn't have any crash.

-- 
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 The Linux Kernel:
  Unknown
Status in “linux” package in Ubuntu:
  Triaged

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