Re: Changes in sleep mode, on x86 PC

From: Rafael J. Wysocki
Date: Tue Mar 29 2016 - 09:04:21 EST

On Monday, March 28, 2016 11:20:12 PM Pavel Machek wrote:
> Hi!
> Few releases ago, I could wake up PC from S3 sleep by hitting any
> key. That ceased to work some time before, keyboard would just light a
> NUM lock LED when I hit a key (4.5). Now PC seems to be sleeping (in
> S3) with NUM lock LED on (4.6-rc0).
> Any idea what is going on there? Does it happen for you, too? What is
> the expected behaviour?
> Debian 8.3, with MATE desktop, I just hit the "moon" key to make it
> sleep. Keyboard is on USB.

That's rather important.

Clearly, something in the USB HID land has changed lately.

The expected behavior depends on whether or not the keyboard itself and the
USB controller are both enabled to wake up. If they are, I'd expect any
key press to generate a wakeup event.