Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757089AbcC2ODI (ORCPT ); Tue, 29 Mar 2016 10:03:08 -0400 Received: from mx2.suse.de ([195.135.220.15]:46636 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756951AbcC2ODF (ORCPT ); Tue, 29 Mar 2016 10:03:05 -0400 Message-ID: <1459260009.5124.5.camel@suse.com> Subject: Re: Changes in sleep mode, on x86 PC From: Oliver Neukum To: "Rafael J. Wysocki" Cc: Pavel Machek , kernel list , lenb@kernel.org, linux-acpi@vger.kernel.org, Linux PM list , Jiri Kosina Date: Tue, 29 Mar 2016 16:00:09 +0200 In-Reply-To: <4224351.Xlkh4fNNHG@vostro.rjw.lan> References: <20160328212010.GA22713@amd> <4224351.Xlkh4fNNHG@vostro.rjw.lan> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 998 Lines: 30 On Tue, 2016-03-29 at 15:06 +0200, Rafael J. Wysocki wrote: > 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. Not necessarily. ACPI may also be the root cause. > 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. What does /proc/acpi/wakeup say? Regards Oliver