4
I have an Alienware M17x with Kubuntu 14.10. When I suspend to RAM and close the lid, very often it will wake up after a few seconds of sleep. Sometimes not. I get the feeling it's related to how quickly the lid is closed, but I have no hard data on this.
Here is my dmesg. There was a suspend-wake incident a few minutes ago.
EDIT: dmesg | grep -i lid
shows nice, clean "lid opened" and "lid closed" events -- this is not a bounce issue.
Assuming your power settings are set correctly, perhaps there is a loose connection? There are just buttons on the lid that detect if it is closed or not so perhaps they are getting bumped or something. – Eric F – 2014-12-19T20:18:20.217
Looks like a bouncing issue on the lid switch, where the switch makes contact several times - the first one does put the system to sleep as expected but then a second pulse wakes it up again.
– None – 2014-12-19T21:32:43.970It sometimes happens ten seconds or so after the lid has closed. This makes me want to rule out bouncing. – spraff – 2014-12-20T04:53:57.543
Also, sometimes the lid is already fully down before the shutdown has happened. And even if it is a case of bounce, the question is then "how do I make my sleep/resume process bounce-tolerant?" – spraff – 2014-12-20T05:09:53.883
Do you have some RJ45 jack connected to LAN? Maybe it is some sort of Wake on LAN event. I have sometimes used the "Wake on LAN Traffic" mode for ethernet cards. It is not very usual to configure like this, but for network traffic capturing it is worth the price. – Sopalajo de Arrierez – 2015-05-25T01:48:54.867
Nothing is plugged in except the power cable. – spraff – 2015-05-30T14:45:57.977