nekr0z / linux-on-huawei-matebook-13-2019

MateBook 13 running Linux
292 stars 24 forks source link

Suspension Wake Up #5

Open joaomaridalho opened 5 years ago

joaomaridalho commented 5 years ago

Hi,

I'm running manjaro 18.04 Illyria KDE when i suspend using the lid the system wakes up the screen randomly and consumes a lot of battery while in this state.

Do you have any recommendation?

nekr0z commented 5 years ago

Do you have any recommendation?

I can't say I have noticed such behaviour on Debian. The first thing to do would be to have a good look at system logs to see if anything unusual happens there while supposedly suspended, and maybe understand the reason for those wakeups.

nekr0z commented 5 years ago

OK, I think I got this one. The build quality of the laptop is not perfect, and aluminium body has some give when pressed hard against. This leads to the lid pressing the keys and waking the laptop up when pushed and pressed against things in your backpack.

I see only two workarounds: either hibernate or use hard cases and be gentle with your laptop.

joaomaridalho commented 5 years ago

Hey, that makes a lot of sense after I read that the drivers you recommended were merged into 5.0 I installed the mainline kernel which solved the error log spam(touchpad) issue and also solved this issue but now that you mentioned I now can only wake up the laptop using the power button

nekr0z commented 5 years ago

I now can only wake up the laptop using the power button

Double check the power settings of your system. I have no problem waking the laptop from sleep with keyboard using kernel 5.0. Of course, if the laptop is hibernated, you can only wake it with power button, but regarding this issue it's the whole point (since the issue was actually waking up from random keypresses).

kian1991 commented 5 years ago

So after testing, I disabled the boot grubloader in BIOS and still...Todays Situation:

I was using and charging my MateBook then I just closed the lid and went away. Unfortunately when I checked my Bag it was superhot and the MateBook was still running...not responsive as it probably overheated. I am really desperate thinking about sending it in

kian1991 commented 5 years ago

I will now upgrade my BIOS to 1.15 and report back

kian1991 commented 5 years ago

@joaomaridalho Well after upgrader my BIOS and setting "waking from other" in BIOS to "disabled" I have no more problems regarding this issue :-)

PeterParfenov commented 5 years ago

I also had this issue. Looking at /proc/acpi/wakeup I found out that wakeups happened due to XHC (lspci showed that this is usb 3.1 controller: USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller). Disabling it in /proc/acpi/wakeup fixed the issue for me:

sudo -s
echo XHC > /proc/acpi/wakeup