From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Date: Fri, 05 Mar 2010 22:04:49 +0000 Subject: Re: Problems with remote-wakeup settings Message-Id: <201003052304.49261.rjw@sisk.pl> List-Id: References: <201003052208.09486.oliver@neukum.org> In-Reply-To: <201003052208.09486.oliver@neukum.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: Oliver Neukum Cc: Alan Stern , Linux-pm mailing list , linux-input@vger.kernel.org, linux-hotplug@vger.kernel.org, USB list , Kernel development list On Friday 05 March 2010, Oliver Neukum wrote: > Am Freitag, 5. M=E4rz 2010 21:59:31 schrieben Sie: > > > I guess it's better if drivers don't set should_wakeup if unsure, but= of course > > > that's impossible to enforce. > >=20 > > That's the real question. Ideally, drivers won't touch should_wakeup. = =20 > > How do we get there from here? >=20 > Enable it only for devices specifically designed for wakeup, that is > keyboards, power buttons and WoL, perhaps also mice and modems. > Are we far away from that? I don't think we're very far from that. Mice are known dangerous, especially the USB ones, though. Rafael From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: Problems with remote-wakeup settings Date: Fri, 5 Mar 2010 23:04:49 +0100 Message-ID: <201003052304.49261.rjw@sisk.pl> References: <201003052208.09486.oliver@neukum.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <201003052208.09486.oliver@neukum.org> Sender: linux-hotplug-owner@vger.kernel.org To: Oliver Neukum Cc: Alan Stern , Linux-pm mailing list , linux-input@vger.kernel.org, linux-hotplug@vger.kernel.org, USB list , Kernel development list List-Id: linux-input@vger.kernel.org On Friday 05 March 2010, Oliver Neukum wrote: > Am Freitag, 5. M=E4rz 2010 21:59:31 schrieben Sie: > > > I guess it's better if drivers don't set should_wakeup if unsure,= but of course > > > that's impossible to enforce. > >=20 > > That's the real question. Ideally, drivers won't touch should_wake= up. =20 > > How do we get there from here? >=20 > Enable it only for devices specifically designed for wakeup, that is > keyboards, power buttons and WoL, perhaps also mice and modems. > Are we far away from that? I don't think we're very far from that. Mice are known dangerous, especially the USB ones, though. Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756164Ab0CEWCI (ORCPT ); Fri, 5 Mar 2010 17:02:08 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:54059 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755720Ab0CEWCE convert rfc822-to-8bit (ORCPT ); Fri, 5 Mar 2010 17:02:04 -0500 From: "Rafael J. Wysocki" To: Oliver Neukum Subject: Re: Problems with remote-wakeup settings Date: Fri, 5 Mar 2010 23:04:49 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.33-git-rjw; KDE/4.3.5; x86_64; ; ) Cc: Alan Stern , "Linux-pm mailing list" , linux-input@vger.kernel.org, linux-hotplug@vger.kernel.org, USB list , Kernel development list References: <201003052208.09486.oliver@neukum.org> In-Reply-To: <201003052208.09486.oliver@neukum.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Message-Id: <201003052304.49261.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 05 March 2010, Oliver Neukum wrote: > Am Freitag, 5. März 2010 21:59:31 schrieben Sie: > > > I guess it's better if drivers don't set should_wakeup if unsure, but of course > > > that's impossible to enforce. > > > > That's the real question. Ideally, drivers won't touch should_wakeup. > > How do we get there from here? > > Enable it only for devices specifically designed for wakeup, that is > keyboards, power buttons and WoL, perhaps also mice and modems. > Are we far away from that? I don't think we're very far from that. Mice are known dangerous, especially the USB ones, though. Rafael