public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <nigel@nigel.suspend2.net>
To: LKML <linux-kernel@vger.kernel.org>
Cc: dmitry.torokhov@gmail.com
Subject: Failure to properly reinit i8042 post suspend-to-ram
Date: Fri, 22 Jun 2007 16:07:33 +1000	[thread overview]
Message-ID: <200706221607.33274.nigel@nigel.suspend2.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1887 bytes --]

Hi.

I have recently begun to try and use suspend to ram more, and have an 
intermittent problem. Actually, it's a couple of (possibly related) problems, 
but I'll start with the one that's easiest.

Sometimes, when I resume, the keyboard stops responding. I then need to hold 
down the power button for 4 seconds. At the next boot, things are still not 
right. The i8042 controller seems to be confused about it's mode, because I 
get the following differences in dmesg to a 'normal' boot:

--- good-boot-dmesg-no-timestamp.txt	2007-06-22 15:54:03.000000000 +1000
+++ problem-boot-dmesg-no-timestamp.txt	2007-06-22 15:54:18.000000000 +1000
@@ -203,14 +203,11 @@
 pnp: the driver 'i8042 aux' has been registered
 pnp: match found with the PnP device '00:01' and the driver 'i8042 aux'
 at 0x60,0x64 irq 1,12
-i8042.c: Detected active multiplexing controller, rev 1.1.
 serio: i8042 KBD port at 0x60,0x64 irq 1
-serio: i8042 AUX0 port at 0x60,0x64 irq 12
-serio: i8042 AUX1 port at 0x60,0x64 irq 12
-serio: i8042 AUX2 port at 0x60,0x64 irq 12
-serio: i8042 AUX3 port at 0x60,0x64 irq 12
+serio: i8042 AUX port at 0x60,0x64 irq 12
 mice: PS/2 mouse device common for all mice
 input: PC Speaker as /class/input/input0
+input: AT Translated Set 2 keyboard as /class/input/input1
 pnp: the driver 'rtc_cmos' has been registered
 pnp: match found with the PnP device '00:03' and the driver 'rtc_cmos'
 rtc_cmos: dev (254:0)

I've been able to log in remotely after suspending to ram, and see the "failed 
to resume active multiplexor" message in dmesg at that stage. Dmitry (or 
others), is this a known issue? I'm more than happy to probe further if not.

In case it's relevant, the other issue is that sometimes the hard drive stays 
on constantly and the system becomes unresponsive. The controller is an 
ALI15X3. I'm using the old drivers.

Nigel

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2007-06-22  6:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-22  6:07 Nigel Cunningham [this message]
2007-06-24 21:03 ` Failure to properly reinit i8042 post suspend-to-ram Rafael J. Wysocki
2007-06-24 23:18   ` Nigel Cunningham
2007-07-05 10:15 ` Pavel Machek
2007-07-05 11:04   ` Nigel Cunningham
2007-07-06 15:04     ` Stefan Seyfried
2007-07-06 23:01       ` Nigel Cunningham
2007-07-10  0:59       ` Nigel Cunningham
2007-07-10 12:04         ` Stefan Seyfried

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=200706221607.33274.nigel@nigel.suspend2.net \
    --to=nigel@nigel.suspend2.net \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@vger.kernel.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