4 ms·
> my laptop: it no longer suspends without being quickly woken up again on the main kernel release Long story short: there are a lot of things in your laptop g
by csdvrx 4y ago
> my laptop: it no longer suspends without being quickly woken up again on the main kernel release
Long story short: there are a lot of things in your laptop generating interrupts.
Some of them you want to ignore, because it would cause the behavior you describe (preventing sleep)
Some of them you really want to listen to closely, because if it's an interrupt generated by say brushing on the power button, not listening to it means not waking up from sleep (traditional example: GPE96 on dells, cf for example https://bugzilla.kernel.org/show_bug.cgi?id=102281 https://bugzilla.kernel.org/show_bug.cgi?id=102281) until a longer press on the button generates an ACPI event or a powerup.
You can configure or finetune that with /proc/acpi/wakeup which hopefully will give you more context as to what other people have explained here.