On Thu, May 14, 2015 at 02:51:48PM +0200, Gianluca Anzolin wrote: > I'm sorry to bother again but since the previous debug aids didn't go > anywhere I'm here to ask again if there is a command, a debug parameter, > something that could tell me the cause of the last system wake up. > > I'm aware that in Windows there is the command "powercfg -lastwake", I need > something similar for linux, since this issue is linux specific (I can't > reproduce it in Windows). > > Thank you, > > Gianluca > Hello, since I can reproduce the issue so easily I tried to take the output of lspci -vvvxxx when the system stays off and when it turns on by itself. The diff between the two outputs is mainly due to changes of IRQs and addresses but there is something else: - RootSta: PME ReqID 0000, PMEStatus- PMEPending- + RootSta: PME ReqID 0400, PMEStatus- PMEPending- for this entry: 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5) (prog-if 00 [Normal decode]) Basically when PME ReqID is 0400 the system turn on. I don't really know what that means but I noticed that the PCIe port is connected to the network controller. This is the output of lspci -t: -[0000:00]-+-00.0 +-01.0-[01]--+-00.0 | \-00.1 +-06.0-[02]-- +-16.0 +-1a.0 +-1b.0 +-1c.0-[03]-- +-1c.5-[04]----00.0 +-1c.6-[05]----00.0 +-1c.7-[06]----00.0 +-1d.0 +-1e.0-[07]----03.0 +-1f.0 +-1f.2 \-1f.3 And this is the entry 04:00.0: 04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection So it's really the ethernet driver that's misbehaving? Thank you, Gianluca -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html