From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932547AbbCQOPZ (ORCPT ); Tue, 17 Mar 2015 10:15:25 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:58852 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753542AbbCQOPW (ORCPT ); Tue, 17 Mar 2015 10:15:22 -0400 From: "Rafael J. Wysocki" To: Pavel Machek Cc: Dmitry Torokhov , Kristen Carlson Accardi , Linux PM list , Linux Kernel Mailing List , linux-input@vger.kernel.org Subject: Re: [PATCH] i8042 / PM: Allow PC keyboard to wake up from suspend-to-idle Date: Tue, 17 Mar 2015 15:39:15 +0100 Message-ID: <19838260.A8ZUqttirU@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.19.0+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20150317085033.GC9761@amd> References: <2197217.yzvHkR7SyK@vostro.rjw.lan> <1902569.dAVq7nl4i8@vostro.rjw.lan> <20150317085033.GC9761@amd> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, March 17, 2015 09:50:33 AM Pavel Machek wrote: > > > > > Yeah, that works too. And you're right that there's no reason to do that for > > > > keyboard only. > > > > > > Actually, are you sure? > > > > > > Resuming on mouse click is reasonable, resuming on mouse move is not, > > > as table vibrations are likely to cause that. > > > > This is disabled by default, so user space has to enable it anyway if it wants > > to. > > Good. (But still, for suspend-to-RAM, only mouse _click_ will resume > the machine, as the optical sensor is powered down, no?) I'm not sure really. I have mice that resume from suspend-to-RAM on a movement too, but those are USB. Rafael