Linux Laptop Suspend – Laptop Turns On Spontaneously

laptoplinuxsuspend

I have a Dell Inspiron 1525 laptop, about three years of age. Usually I suspend it (put into sleep) in the evening and resume in the morning. Recently the laptop started turning on by itself during the night — not to mention that this always happens at about the same time!

The internet (e.g., this question) mainly suggests turning off Wake-On-LAN for the Ethernet card (I've long had it disabled through ethtool, let alone that there's no cable plugged in), or inspecting scheduled tasks. But I use GNU/Linux (kernel version 3.1.7, x86-64 arch), so the second option also doesn't seem plausible. The BIOS is at the latest version. I've checked the package manager logs and there were no suspicious/interesting changes during the period when this started happening.

Having spent some time looking into the problem online, I dare not ask for a ready solution, but for at least a suggestion of what could be wrong, and if this is likely to be a software or a harware problem. I imagine that it could be due to dust or partially broken/bent wires causing a short circuit and a pulse somewhere on the power button or other reset lines; but a software problem seems possible as well.

UPDATE: Thanks for the suggestions. Some additional info:

  • dmesg has no suspicious lines
  • The BIOS does not have (or show) any resume-on-alarm settings

Best Answer

My first thought is to check the BIOS settings for any kind of auto on setting. Most have a way of turning themselves on at a certain time of day, this may have been enabled. You could also go into BIOS and set defaults and reboot to see if the alleviates the problem as well.

As for less likely possibilities, like you said it could be a short in any of the circuits for power or reset switches, but also something in the keyboard as well since tapping a key on the keyboard will also wake up a sleeping computer.

The last thing that comes to mind is some really funky power issues. Spikes or sags in power can do some really weird stuff to computer equipment.

Related Question