From: Frans Pop <elendil@planet.nl>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: gregkh@suse.de, linux-kernel@vger.kernel.org, pavel@suse.cz,
akpm@linux-foundation.org, torvalds@linux-foundation.org,
linux-pm@lists.linux-foundation.org
Subject: Re: [Regression] USB wakeup problem on Toshiba Portege R500
Date: Thu, 8 Jan 2009 19:55:09 +0100 [thread overview]
Message-ID: <200901081955.12021.elendil@planet.nl> (raw)
In-Reply-To: <200901081803.49632.rjw@sisk.pl>
Rafael J. Wysocki wrote:
> On Thursday 08 January 2009, Oliver Neukum wrote:
>> Am Thursday 08 January 2009 17:36:12 schrieb Rafael J. Wysocki:
>> You are making a very persuasive argument for reverting it.
>> But what about laptops that only have a USB keyboard?
>
> Well, up to and including 2.6.28 they needed to echo 'enable' to the USB
> controllers' /sys/devices/.../power/wakeup files, so if the patch is
> reverted, they won't be worse off than they were day before
> yesterday. :-)
>
> Perhaps we can choose the default depending on whether or not any HID
> devices are attached to given controller?
Is "resume on keyboard activity" really all that needed? Both my laptops
and my desktop resume fine after pressing the power button.
Also consider the following cases:
- laptop has been suspended with external USB mouse connected
- mouse is moved (accidentally or because it is in the way of a coffee
cup)
- mouse cable is removed before putting the laptop in a bag for
transport
- laptop is in docking station with USB mouse/kbd connected to that
- again, mouse gets moved for some reason
- laptop is undocked while suspended
- or the reverse: laptop gets docked
IMO it is not desirable that the system gets resumed as a result of any of
those actions. I'm not complete sure that it would in all those cases,
but have they been considered?
And in general I've always been in favor of things only happening
automagically if I've explicitly asked for that, and not by default.
My 2 cents,
FJP
next prev parent reply other threads:[~2009-01-08 18:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200901080835.39639.rjw@sisk.pl>
2009-01-08 8:49 ` [Regression] USB wakeup problem on Toshiba Portege R500 Oliver Neukum
[not found] ` <200901080949.34339.oliver@neukum.org>
2009-01-08 16:36 ` Rafael J. Wysocki
[not found] ` <200901081736.12926.rjw@sisk.pl>
2009-01-08 16:48 ` Oliver Neukum
[not found] ` <200901081748.58962.oliver@neukum.org>
2009-01-08 17:03 ` Rafael J. Wysocki
[not found] ` <200901081803.49632.rjw@sisk.pl>
2009-01-08 18:55 ` Frans Pop [this message]
2009-01-08 19:54 ` Rafael J. Wysocki
2009-01-09 15:55 ` Alan Stern
2009-01-09 10:18 ` Pavel Machek
[not found] ` <20090109101840.GD3396@elf.ucw.cz>
2009-01-09 10:26 ` Oliver Neukum
[not found] ` <200901091126.57094.oliver@neukum.org>
2009-01-09 10:36 ` Pavel Machek
[not found] <Pine.LNX.4.44L0.0901122207400.18052-100000@netrider.rowland.org>
2009-01-13 11:13 ` Rafael J. Wysocki
[not found] <200901122353.59887.rjw@sisk.pl>
2009-01-13 3:10 ` Alan Stern
[not found] <Pine.LNX.4.44L0.0901121649470.13021-100000@netrider.rowland.org>
2009-01-12 22:53 ` Rafael J. Wysocki
[not found] <Pine.LNX.4.44L0.0901091055050.10951-100000@netrider.rowland.org>
2009-01-09 17:53 ` Rafael J. Wysocki
[not found] ` <200901091853.42700.rjw@sisk.pl>
2009-01-09 22:23 ` Pavel Machek
2009-01-12 21:53 ` Alan Stern
2009-01-08 7:35 Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200901081955.12021.elendil@planet.nl \
--to=elendil@planet.nl \
--cc=akpm@linux-foundation.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=pavel@suse.cz \
--cc=rjw@sisk.pl \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox