linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Failure to properly reinit i8042 post suspend-to-ram
@ 2007-06-22  6:07 Nigel Cunningham
  2007-06-24 21:03 ` Rafael J. Wysocki
  2007-07-05 10:15 ` Pavel Machek
  0 siblings, 2 replies; 9+ messages in thread
From: Nigel Cunningham @ 2007-06-22  6:07 UTC (permalink / raw)
  To: LKML; +Cc: dmitry.torokhov

[-- 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 --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Failure to properly reinit i8042 post suspend-to-ram
  2007-06-22  6:07 Failure to properly reinit i8042 post suspend-to-ram Nigel Cunningham
@ 2007-06-24 21:03 ` Rafael J. Wysocki
  2007-06-24 23:18   ` Nigel Cunningham
  2007-07-05 10:15 ` Pavel Machek
  1 sibling, 1 reply; 9+ messages in thread
From: Rafael J. Wysocki @ 2007-06-24 21:03 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: LKML, dmitry.torokhov

Hi,

On Friday, 22 June 2007 08:07, Nigel Cunningham wrote:
> 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:

Well, I'm afraid no one has any idea.

I think you can file a bug report with the kernel bugzilla.

Greetings,
Rafael


-- 
"Premature optimization is the root of all evil." - Donald Knuth

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Failure to properly reinit i8042 post suspend-to-ram
  2007-06-24 21:03 ` Rafael J. Wysocki
@ 2007-06-24 23:18   ` Nigel Cunningham
  0 siblings, 0 replies; 9+ messages in thread
From: Nigel Cunningham @ 2007-06-24 23:18 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: LKML, dmitry.torokhov

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

Hi.

On Monday 25 June 2007 07:03:20 Rafael J. Wysocki wrote:
> Hi,
> 
> On Friday, 22 June 2007 08:07, Nigel Cunningham wrote:
> > 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:
> 
> Well, I'm afraid no one has any idea.
> 
> I think you can file a bug report with the kernel bugzilla.

Yeah. I think I'll do some more debugging first, though - seek to find out exactly what is failing.

Regards,

Nigel

-- 
Nigel, Michelle and Alisdair Cunningham
5 Mitchell Street
Cobden 3266
Victoria, Australia

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Failure to properly reinit i8042 post suspend-to-ram
  2007-06-22  6:07 Failure to properly reinit i8042 post suspend-to-ram Nigel Cunningham
  2007-06-24 21:03 ` Rafael J. Wysocki
@ 2007-07-05 10:15 ` Pavel Machek
  2007-07-05 11:04   ` Nigel Cunningham
  1 sibling, 1 reply; 9+ messages in thread
From: Pavel Machek @ 2007-07-05 10:15 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: LKML, dmitry.torokhov

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:

If confusion persist after 4 seconds hard power down... then you h ve
hw/BIOS problem. Complain to whoever is manufacturing that beast.

							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Failure to properly reinit i8042 post suspend-to-ram
  2007-07-05 10:15 ` Pavel Machek
@ 2007-07-05 11:04   ` Nigel Cunningham
  2007-07-06 15:04     ` Stefan Seyfried
  0 siblings, 1 reply; 9+ messages in thread
From: Nigel Cunningham @ 2007-07-05 11:04 UTC (permalink / raw)
  To: Pavel Machek; +Cc: LKML, dmitry.torokhov

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

Hi.

On Thursday 05 July 2007 20:15:14 Pavel Machek wrote:
> 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:
> 
> If confusion persist after 4 seconds hard power down... then you h ve
> hw/BIOS problem. Complain to whoever is manufacturing that beast.

Adding i8042.reset=1 to the commandline fixed it.

Regards,

Nigel
-- 
See http://www.tuxonice.net for Howtos, FAQs, mailing
lists, wiki and bugzilla info.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Failure to properly reinit i8042 post suspend-to-ram
  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
  0 siblings, 2 replies; 9+ messages in thread
From: Stefan Seyfried @ 2007-07-06 15:04 UTC (permalink / raw)
  To: nigel; +Cc: Pavel Machek, LKML, dmitry.torokhov

On Thu, Jul 05, 2007 at 09:04:27PM +1000, Nigel Cunningham wrote:
> > 
> > If confusion persist after 4 seconds hard power down... then you h ve
> > hw/BIOS problem. Complain to whoever is manufacturing that beast.
> 
> Adding i8042.reset=1 to the commandline fixed it.

Wasn't there a quirk list where workarounds for i8042 on known bad machines
are stored? Maybe it would be a good idea to get your machine into it ;-)
-- 
Stefan Seyfried
QA / R&D Team Mobile Devices        |              "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg  | "Well, surrounding them's out." 

This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Failure to properly reinit i8042 post suspend-to-ram
  2007-07-06 15:04     ` Stefan Seyfried
@ 2007-07-06 23:01       ` Nigel Cunningham
  2007-07-10  0:59       ` Nigel Cunningham
  1 sibling, 0 replies; 9+ messages in thread
From: Nigel Cunningham @ 2007-07-06 23:01 UTC (permalink / raw)
  To: Stefan Seyfried; +Cc: nigel, Pavel Machek, LKML, dmitry.torokhov

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

Hi.

On Saturday 07 July 2007 01:04:51 Stefan Seyfried wrote:
> On Thu, Jul 05, 2007 at 09:04:27PM +1000, Nigel Cunningham wrote:
> > > 
> > > If confusion persist after 4 seconds hard power down... then you h ve
> > > hw/BIOS problem. Complain to whoever is manufacturing that beast.
> > 
> > Adding i8042.reset=1 to the commandline fixed it.
> 
> Wasn't there a quirk list where workarounds for i8042 on known bad machines
> are stored? Maybe it would be a good idea to get your machine into it ;-)

Never heard of it. I'll see what I can find.

Regards,

Nigel
-- 
Nigel Cunningham
Christian Reformed Church of Cobden
103 Curdie Street, Cobden 3266, Victoria, Australia
Ph. +61 3 5595 1185 / +61 417 100 574
Communal Worship: 11 am Sunday.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Failure to properly reinit i8042 post suspend-to-ram
  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
  1 sibling, 1 reply; 9+ messages in thread
From: Nigel Cunningham @ 2007-07-10  0:59 UTC (permalink / raw)
  To: Stefan Seyfried; +Cc: nigel, Pavel Machek, LKML, dmitry.torokhov

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

Hi.

On Saturday 07 July 2007 01:04:51 Stefan Seyfried wrote:
> On Thu, Jul 05, 2007 at 09:04:27PM +1000, Nigel Cunningham wrote:
> > > 
> > > If confusion persist after 4 seconds hard power down... then you h ve
> > > hw/BIOS problem. Complain to whoever is manufacturing that beast.
> > 
> > Adding i8042.reset=1 to the commandline fixed it.
> 
> Wasn't there a quirk list where workarounds for i8042 on known bad machines
> are stored? Maybe it would be a good idea to get your machine into it ;-)

Unless I'm missing something, it looks like there's no such thing in the i8042 
driver. That's okay. I can cope with adding i8042.reset=1 to my 
commandline :)

Nigel
-- 
Nigel Cunningham
Christian Reformed Church of Cobden
103 Curdie Street, Cobden 3266, Victoria, Australia
Ph. +61 3 5595 1185 / +61 417 100 574
Communal Worship: 11 am Sunday.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Failure to properly reinit i8042 post suspend-to-ram
  2007-07-10  0:59       ` Nigel Cunningham
@ 2007-07-10 12:04         ` Stefan Seyfried
  0 siblings, 0 replies; 9+ messages in thread
From: Stefan Seyfried @ 2007-07-10 12:04 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: nigel, Pavel Machek, LKML, dmitry.torokhov

Hi,

On Tue, Jul 10, 2007 at 10:59:57AM +1000, Nigel Cunningham wrote:
> On Saturday 07 July 2007 01:04:51 Stefan Seyfried wrote:
> > On Thu, Jul 05, 2007 at 09:04:27PM +1000, Nigel Cunningham wrote:
> > > 
> > > Adding i8042.reset=1 to the commandline fixed it.
> > 
> > Wasn't there a quirk list where workarounds for i8042 on known bad machines
> > are stored? Maybe it would be a good idea to get your machine into it ;-)
> 
> Unless I'm missing something, it looks like there's no such thing in the i8042 
> driver. That's okay. I can cope with adding i8042.reset=1 to my 
> commandline :)

In drivers/input/serio/i8042-x86ia64io.h there are tables for various quirks,
but apparently nothing for "reset=1".
If we find another machine that needs reset=1, then it might be time for a
table for this quirk.

Best regards,

    Stefan

-- 
Stefan Seyfried
QA / R&D Team Mobile Devices        |              "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg  | "Well, surrounding them's out." 

This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-07-10 15:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-22  6:07 Failure to properly reinit i8042 post suspend-to-ram Nigel Cunningham
2007-06-24 21:03 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).