Comment 29 for bug 1801743

Revision history for this message
Nadi (nadi-bar) wrote :

I updated the BIOS but it did not help....

but I SOLVED my problem, and perhaps yours as well Magnus!
The problem was with the LID upon waking up from sleep S3.
I found it after hours of googling and eventually debugging using this link:
https://01.org/blogs/rzhang/2015/best-practice-debug-linux-suspend/hibernate-issues

I cancelled the ACPI that enables the lid:
echo LID0 > /proc/acpi/wakeup
which turns the disabels the lid signal to the ACPI. It is problably doing something wrong, I will try to file a new bug soon.

This is the relevant output of the wakeup file:

XHC S0 *enabled pci:0000:00:14.0
XDCI S4 *disabled
HDAS S4 *disabled pci:0000:00:1f.3
LID0 S3 *disabled platform:PNP0C0D:00
PBTN S3 *enabled platform:PNP0C0C:00

Every boot I have to re-disable it, so I make a small script and used crontab -e, and added the this line to the end of the script:
@reboot /usr/local/bin/myFixScript.sh
see the link
https://www.kompulsa.com/run-a-program-on-startup-console-on-ubuntu-18-04/

Lets see how long it will be stable :-)
Cheers...
Nadi