You are not logged in.

#1 2020-11-03 01:27:05

yangling
Member
Registered: 2020-11-03
Posts: 4

[sloved] WOL causes spontaneous power on after shutdown (ASUS Z490-E)

In order to support WOL, my Rog Strix Asus Z490-E Gamming requires an option set in the BIOS (Onboard>APM>Power on by PCIE). 

When I have this enabled, there is an undesired side-effect:   when i `systemctl poweroff`  the PSU aleady cutoff. but PSU will turn on by itself several seconds later.   

and same MB setting.  i also try use ArchLinux LiveCD to execute command 'systemctl poweroff' That's not going to happen。
and same MB setting.  i also try use Windows10 shutdown. That's not going to happen。
and same MB setting.  i also try use CentOS8 to execute commamd 'systemctl poweroff' via ssh.   That's not going to happen。 but  execute commamd 'systemctl poweroff' via console.  The same effect as Archlinux

If I disable the option in the BIOS, this does not happen... but I am unable to use wol.

Anyone run into this issue before?  Motherboard BIOS issue?

Last edited by yangling (2020-11-07 03:47:00)

Offline

#2 2020-11-04 17:13:16

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [sloved] WOL causes spontaneous power on after shutdown (ASUS Z490-E)

Same manufacturer but different model - https://bbs.archlinux.org/viewtopic.php … 2#p1768852
Do you have that option in bios?

Offline

#3 2020-11-05 06:42:59

yangling
Member
Registered: 2020-11-03
Posts: 4

Re: [sloved] WOL causes spontaneous power on after shutdown (ASUS Z490-E)

paulkerry wrote:

Same manufacturer but different model - https://bbs.archlinux.org/viewtopic.php … 2#p1768852
Do you have that option in bios?

i am sure my motherboard firmware is up to date.(0707).
i am sure make default setting for MB. and just APM->Power on by PCIE. enable. my MB no that option in bios https://bbs.archlinux.org/viewtopic.php … 2#p1768852
i alse saw this topic https://bbs.archlinux.org/viewtopic.php?id=173648. but can not sloved. . but according to this topic. 
yesterday i try
1: PCIE Express Native Power Management (enable)
2: Native ASPM (enable)
XHCI hand-off (disable)
It's normal at the moment, i try 10times 。It's OK every time  if i systemctl poweroff via root user.   

BUT  if i use 'sudo systemctl poweroff' via non-root user also causes spontaneous power on after shutdown.

Offline

#4 2020-11-05 20:13:39

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [sloved] WOL causes spontaneous power on after shutdown (ASUS Z490-E)

I've taken a look at the manual for your motherboard and there is a "ErP Ready" setting under "Advanced\APM Configuration": have you tried adjusting that?
Apparently the options are [Disabled] [Enabled (S4+S5)] [Enabled (S5)] so maybe the "Enabled (S4+S5)" setting is similar to the setting I posted in the other link?

Offline

#5 2020-11-06 03:23:18

yangling
Member
Registered: 2020-11-03
Posts: 4

Re: [sloved] WOL causes spontaneous power on after shutdown (ASUS Z490-E)

paulkerry wrote:

I've taken a look at the manual for your motherboard and there is a "ErP Ready" setting under "Advanced\APM Configuration": have you tried adjusting that?
Apparently the options are [Disabled] [Enabled (S4+S5)] [Enabled (S5)] so maybe the "Enabled (S4+S5)" setting is similar to the setting I posted in the other link?

yes ,i also try APM Erp ready option. enable (s4+s5) or enable (s5)  ... BUT unfortunately . if Erp enable . Wol will be disable automatically.
and official manual(Rogix Z490-E Gamming) https://dlsvr04.asus.com.cn/pub/ASUS/mb … EM_WEB.pdf mention this.
ErP Ready
This item allows you to switch off some power at S4+S5 or S5 to get the system ready for
ErP requirement. When set to [Enabled], all other PME options are switched off.
Configuration options: [Disabled] [Enabled (S4+S5)] [Enabled (S5)]..

yesterday i try again. other configure on bios.

1: restore configure to default
2: APM->Power On By PCI-E ----> enable
3: USB configuration->XHCI Hand-off  ---> disable.

if keeping this setting.. will be ok...   i try poweoff 10 times include  via ssh  non-root user root user.. the problem seem resolved...
but today. morning .. the system is aleady poweroff status.   i just insert a USB device. the system power on automatically  then i execute 'systemctl poweroff' ..  problem happened again ...   so , i pull out the USB device.. execute ''systemctl poweroff'  and everything is ok again..  in other words.. if i keep any USB device on MB. will be cause spontaneous power on after shutdown.

Last edited by yangling (2020-11-06 03:59:58)

Offline

#6 2020-11-07 03:44:10

yangling
Member
Registered: 2020-11-03
Posts: 4

Re: [sloved] WOL causes spontaneous power on after shutdown (ASUS Z490-E)

well done !!!!  i sloved this problem. i  saw this topic https://wiki.archlinux.org/index.php/Wa … r_shutdown
i added kernel boot parameter

xhci_hcd.quirks=270336

.  everything is ok.

Offline

Board footer

Powered by FluxBB