s-light / ASUS-ZenBook-Pro-Duo-UX581GV

ASUS ZenBook Pro Duo UX581GV - infos & helper scripts for running Kubuntu
MIT License
69 stars 8 forks source link

get suspend/resume working #7

Open quarkbuddha opened 4 years ago

quarkbuddha commented 4 years ago

Hi. I'm trying to get one of these working as well, using Ubuntu Mate. I hope you don't mind if I track some of my efforts here rather than on my own fork - I think it makes more sense that way.

Using the 5.4.6-050406-generic kernel, one suspend/resume cycle appears to work, but after a second suspend, the resume doesn't resume.

RobinVanCauter commented 4 years ago

Does the power usage during suspension appear to be normal for you?

If I suspend in windows, put the notebook down and open it up next morning, it's at the same battery level. When I do the same with Linux, the battery is completely empty by the time I open it up again.

quarkbuddha commented 4 years ago

i have a device called a "Kill A Watt" that can show the actual power consumption of something plugged into it. The AC adapter alone draws 3VA. The laptop before power draws 5VA. During use, it draws 45-112+ VA. When suspend is working, it goes down to 6VA. With this kernel. the 1st suspend doesn't even work consistently.

s-light commented 4 years ago

@quarkbuddha feel free to use here to track things! its definite easier to find solutions focusing in one place / this way!

with kubunt 19.10 suspend is working most of the time - but only with a ~50% chance that the resume works..

sometimes suspend is not working: than the lower screen is not turning off / or the fans do not turn off. and i also had the case that i thought it was off and put it in my bag. next time i pulled it out it was off and warm.... (something did not turn rally off and just converted battery-power to heat :-( )

if resume is working it can take sometimes > 50seconds until it really starts. sometimes its just as it should and is more or less instantly back online.. (but that happens rarely) i have seen messages about 'timing' and 'clock recovery not working'...

in the 50% cases where it does not resume i have to 'hard power off' by holding the power-button for > 10sec. then wait ~5sec and then start normaly with the power button. if iam to fast to click the power button after the hard shutdown it does not react - so seems there is a 'wait-time-delay' thing at the power-controller for this state...

i also have sometimes the case that it does not start up at all (from a full power off state)

but currently have no motivation to investigate any of this in more detail :-( so currently i use the normal shutdown everytime.. (kubuntu restores the session / opened windows) and as fare as i have experienced a cold-start is faster than a resume...

s-light commented 4 years ago

just a update: for me currently suspend to ram works in about 99% times - so i use the krunner sleep command regularly. and only in some rare cases is the laptop frozen or does not wake up...