Comment 60 for bug 41994

Revision history for this message
Sam Bull (dreamsorcerer) wrote :

Ah, sorry, done a little more testing. It stays off indefinitely (without input) if the lid is open. But, if I run it after closing the lid, it still wakes randomly. This means that it must be receiving some imaginary input when the lid is closed to wake it.

My biggest problem is that some imaginary input wakes the laptop. Ignoring all input while the lid is closed would solve the problem. However, without a mouse connected I can't provide any input with the lid closed anyway, so this doesn't bother me as much as not waking on imaginary inputs.

I remember trying to debug this before, and the input is non-existent. The screen wakes because the X server is no longer idle, but using xev reports no input being received. It is interesting that this only happens when the lid is closed.

Perhaps this bug should be split into two parts. Firstly, a bug, that imaginary input is received randomly when the lid is closed. Secondly, a wishlist, that the screen should not wake on input while the lid is closed.

Fixing either of these would satisfy me.