Strange problem with laptop powering back on after shutdown

I have an ACER V5-571G laptop which frequently will power back up within a couple of seconds of powering down using the KDE shutdown menu option. I managed to update the BIOS f/w by using a little known key combination when powering it up with no battery. I did this because I did wonder if it might have been a F/W issue and I was not on the latest. Anyway this still happens frequently although if I power it up and immediately shutdown then quite often it will stay off but if I run any programs and shutdown it usually powers up again. I have been searching the net and some have had similar issues which seemed to be USB related although the only thing used on this laptop is a USB mouse. I was wondering is there are any settings I’ve not found relating to USB and how they might (ore might not) affect this. I am unable to find any BIOS settings which relate to USB other than boot options and nothing else is plugged into USB other than the mouse.This laptop has been updated to Leap 15.2 from 15.1 which also showed this problem.

I know I am clutching at straws here but it is driving me to distraction trying to solve this so any ideas will be gratefully received

Stuart

Read somewhere that someone solved this issue by installing laptop_mode_tools, so did that and it seems like it might have solved the problem. Needs a bit more testing but looking hopeful.

Stuart

Stuart, take a look at this Leap 15.1 thread which I’ve re-activate for Leap 15.2: <https://forums.opensuse.org/showthread.php/537986-Power-saving-Monitor-turns-off-after-time-specified-but-then-immediately-comes-on-again>

I have read through the forum thread and bug report but I don’t see how this relates to my problem. In my case the laptop shuts down and powers off (ie power light goes out) but then a few seconds later it turns on again and boots up to the grub menu. There is no external monitor in my case. The only thing connected is a USB mouse. As I said the laptop mode tools has fixed the issue at least so far with the testing I’ve done.

Stuart

It would be interesting to see the output of

cat /proc/acpi/wakeup

Here it is:-


cat /proc/acpi/wakeup
Device  S-state   Status   Sysfs node
P0P1      S4    *disabled
GLAN      S4    *disabled
EHC1      S3    *enabled   pci:0000:00:1d.0
EHC2      S3    *enabled   pci:0000:00:1a.0
XHC       S3    *enabled   pci:0000:00:14.0
HDEF      S3    *disabled  pci:0000:00:1b.0
RP01      S4    *disabled  pci:0000:00:1c.0
PXSX      S4    *disabled
RP02      S4    *disabled
PXSX      S4    *disabled
RP03      S5    *disabled  pci:0000:00:1c.2
PXSX      S5    *disabled  pci:0000:03:00.0
                *disabled  platform:rtsx_pci_sdmmc.0
                *disabled  platform:rtsx_pci_ms.0
RP04      S4    *disabled  pci:0000:00:1c.3
PXSX      S4    *disabled  pci:0000:04:00.0
RP05      S4    *disabled
PXSX      S4    *disabled
RP06      S4    *disabled
PXSX      S4    *disabled
RP07      S4    *disabled
PXSX      S4    *disabled
RP08      S4    *disabled
PXSX      S4    *disabled
PEG0      S4    *disabled  pci:0000:00:01.0
PEGP      S4    *disabled  pci:0000:01:00.0
PEG1      S4    *disabled
PEGP      S4    *disabled
PEG2      S4    *disabled
PEG3      S4    *disabled
LID0      S3    *enabled   platform:PNP0C0D:00
SLPB      S3    *enabled   platform:PNP0C0E:00

I spoke too soon, the laptop powered up again after I shut down having run that command and saved it!

Stuart

Ok, so USB activity can wake up this machine…


EHC1      S3    *enabled   pci:0000:00:1d.0
EHC2      S3    *enabled   pci:0000:00:1a.0
XHC       S3    *enabled   pci:0000:00:14.0

These pertain to the lid switch and sleep button…


LID0      S3    *enabled   platform:PNP0C0D:00
SLPB      S3    *enabled   platform:PNP0C0E:00

Try disconnecting the USB mouse before (or as soon as) suspending, and see if that works.

OK this problem is strange because yesterday I was shutting it down several times in fact WITH the mouse plugged in and it stayed off, and I was leaving the lid open all the time. This morning it came back on with the mouse plugged in. Now it’s off I can hit FN+F4 which is sleep and nothing happens, open the lid and nothing happens, waggle the mouse and nothing happens. The only thing which turns it on is the power button. So once it is truly off nothing but the power button wakes it up.

Stuart

Disabling the USB ACPI wakeup triggers might ensure no random wakeups perhaps?

The following may be of interest…

I created a service to disable all 3 USB items and ran it OK, the showed as disabled in wakeup when display but the laptop still booted up again! I’ll try the LID0 and SLPB just in case.

Stuart

I’ve now tested with everything disabled in wakeup and it still booted up after a couple of seconds.

Stuart

Just a thought - Is the Acer updated to latest BIOS version?

I mentioned in the initial post that I did manage to update to the latest which is 2.18. It’s problematic not running Windows but the service manual gives a method to do it without using any OS and that’s what I did. That level is quite old but I could not find anything newer on the ACER site.

Stuart

Sorry, missed that. Just in case the following guide is useful…
https://01.org/blogs/rzhang/2015/best-practice-debug-linux-suspend/hibernate-issues
(In particular, Section 4.6 System wakes up immediately after suspend)

No problem… I’ll review that document later today.

Stuart