public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>,
	Adrian Bunk <bunk@stusta.de>,
	linux-pm@lists.linux-foundation.org,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-pm@lists.osdl.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Tobias Diedrich <ranma+kernel@tdiedrich.de>
Subject: Re: Linux 2.6.21-rc6
Date: Sun, 15 Apr 2007 10:53:56 -0700	[thread overview]
Message-ID: <200704151053.56939.david-b@pacbell.net> (raw)
In-Reply-To: <200704151837.40756.rjw@sisk.pl>

On Sunday 15 April 2007 9:37 am, Rafael J. Wysocki wrote:
> 
> Which makes me think the following patch might help:
> 
>  drivers/input/serio/i8042.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> Index: linux-2.6.21-rc6/drivers/input/serio/i8042.c
> ===================================================================
> --- linux-2.6.21-rc6.orig/drivers/input/serio/i8042.c	2007-04-07 12:15:19.000000000 +0200
> +++ linux-2.6.21-rc6/drivers/input/serio/i8042.c	2007-04-15 18:30:01.000000000 +0200
> @@ -846,7 +846,8 @@ static long i8042_panic_blink(long count
>  static int i8042_suspend(struct platform_device *dev, pm_message_t state)
>  {
>  	if (dev->dev.power.power_state.event != state.event) {
> -		if (state.event == PM_EVENT_SUSPEND)
> +		if (state.event == PM_EVENT_SUSPEND
> +		    || state.event == PM_EVENT_PRETHAW)

Yeah, lack of PRETHAW support could be an issue.  As you may recall,
it was added because otherwise statically linked USB host controllers
came up under the mistaken belief that they were getting a real resume
event rather than a restart-after-power-off ... and there needed to be
a way to force a hard reset.  Seems like a similar issue here.

- Dave


>  			i8042_controller_reset();
>  
>  		dev->dev.power.power_state = state;
> 

  reply	other threads:[~2007-04-15 17:53 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.64.0704051944230.6730@woody.linux-foundation.org>
     [not found] ` <20070413212954.GA2545@melchior.yamamaya.is-a-geek.org>
2007-04-13 23:50   ` Linux 2.6.21-rc6 Adrian Bunk
2007-04-14  6:50     ` Tobias Diedrich
2007-04-14  8:16     ` Tobias Diedrich
2007-04-14  9:05       ` Rafael J. Wysocki
2007-04-14 10:32         ` Tobias Diedrich
2007-04-14 12:26       ` Adrian Bunk
2007-04-14 12:09     ` Tobias Diedrich
2007-04-14 12:24       ` Tobias Diedrich
2007-04-14 12:31         ` Tobias Diedrich
2007-04-14 13:00           ` Adrian Bunk
2007-04-14 18:28             ` Rafael J. Wysocki
2007-04-14 19:56               ` Tobias Diedrich
2007-04-14 20:23                 ` Rafael J. Wysocki
2007-04-14 20:25                   ` Adrian Bunk
2007-04-14 20:38                     ` Rafael J. Wysocki
2007-04-14 21:35                   ` Tobias Diedrich
2007-04-14 21:58                     ` Rafael J. Wysocki
2007-04-15  7:38                       ` Tobias Diedrich
2007-04-15  8:02                         ` Tobias Diedrich
2007-04-15 11:16                           ` Rafael J. Wysocki
2007-04-15 14:19                             ` Dmitry Torokhov
2007-04-15 15:52                               ` Rafael J. Wysocki
2007-04-15 18:50                                 ` Tobias Diedrich
2007-04-15 19:37                                   ` Rafael J. Wysocki
2007-04-15 15:14                             ` David Brownell
2007-04-15 16:37                               ` Rafael J. Wysocki
2007-04-15 17:53                                 ` David Brownell [this message]
2007-04-15 19:40                                 ` [linux-pm] " Tobias Diedrich
2007-04-15 19:54                                   ` Rafael J. Wysocki
2007-04-25 17:14                                     ` [linux-pm] " Tobias Diedrich
2007-04-25 19:36                                       ` Rafael J. Wysocki
2007-04-25 20:09                                         ` [linux-pm] " Tobias Diedrich
2007-04-14  0:38 ` [3/3] 2.6.21-rc6: known regressions Adrian Bunk
2007-04-14  1:57   ` Antonino A. Daplas
2007-04-15 16:26     ` Marcus Better
2007-04-15 23:08       ` Antonino A. Daplas
2007-04-16  6:23         ` Marcus Better
2007-04-16  6:45           ` Antonino A. Daplas
2007-04-17  8:17             ` Marcus Better
2007-04-17  9:27               ` Antonino A. Daplas
2007-04-17 11:54                 ` Marcus Better
2007-04-24 15:33               ` Pavel Machek
2007-04-14  7:40   ` Dave Jones
2007-04-15 17:15   ` Jeff Chua

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=200704151053.56939.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=bunk@stusta.de \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=linux-pm@lists.osdl.org \
    --cc=maximlevitsky@gmail.com \
    --cc=ranma+kernel@tdiedrich.de \
    --cc=rjw@sisk.pl \
    /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