From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Andrew Haninger <ahaning@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PS/2 Keyboard is dead after resume.
Date: Sat, 16 Jul 2005 01:35:38 -0500 [thread overview]
Message-ID: <200507160135.39220.dtor_core@ameritech.net> (raw)
In-Reply-To: <105c793f0507150443b1e8359@mail.gmail.com>
[Suspend2 was removed from CC as it appears to be subscribers-only list.]
On Friday 15 July 2005 06:43, Andrew Haninger wrote:
> On 7/15/05, Dmitry Torokhov <dtor_core@ameritech.net> wrote:
> > Could you try doing:
> >
> > echo 1 > /sys/modules/i8042/parameters/debug
> >
> > before suspending and the post your dmesg, please? Maybe we see something
> > there.
> Here you go:
>
> 12) *0, disabled.
Ok, so you start with IRQ 12 disabled.. You don't have a PS/2 mouse,
do you?
...
> serio: i8042 AUX port at 0x60,0x64 irq 12
> serio: i8042 KBD port at 0x60,0x64 irq 1
You did not select PNP support (but as far as keyboard controller settings
go we don't trust it anyway on i386).
...
> ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 12
> PCI: setting IRQ 12 as level-triggered
> ACPI: PCI Interrupt 0000:00:0f.0[A] -> Link [LNKA] -> GSI 12 (level,
> low) -> IRQ 12
> PCI: Via IRQ fixup for 0000:00:0f.0, from 255 to 12
> VP_IDE: chipset revision 6
...
> USB Universal Host Controller Interface driver v2.2
> ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKA] -> GSI 12 (level,
> low) -> IRQ 12
> uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
> uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
> uhci_hcd 0000:00:10.0: irq 12, io base 0x0000d000
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 2 ports detected
> ACPI: PCI Interrupt 0000:00:10.1[A] -> Link [LNKA] -> GSI 12 (level,
> low) -> IRQ 12
> uhci_hcd 0000:00:10.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> Controller (#2)
> uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
> uhci_hcd 0000:00:10.1: irq 12, io base 0x0000d400
And here you have a bunch of hardware gets assigned to IRQ 12...
Hmm, I tought ACPI would try not use 12 unless it is absolutely
necessary. What appens if you use "pci=routeirq" boot option?
> drivers/input/serio/i8042.c: 60 -> i8042 (command) [154857]
> drivers/input/serio/i8042.c: 65 -> i8042 (parameter) [154857]
> drivers/input/serio/i8042.c: 60 -> i8042 (command) [154857]
> drivers/input/serio/i8042.c: 65 -> i8042 (parameter) [154857]
> drivers/input/serio/i8042.c: 60 -> i8042 (command) [154857]
> drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [154857]
> drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [154857]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [154860]
> drivers/input/serio/i8042.c: ab <- i8042 (interrupt, KBD, 1) [154861]
> drivers/input/serio/i8042.c: 41 <- i8042 (interrupt, KBD, 1) [154862]
> drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [154862]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [154865]
> drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [154865]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [154867]
> drivers/input/serio/i8042.c: f3 -> i8042 (kbd-data) [154867]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [154870]
> drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [154870]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [154873]
> drivers/input/serio/i8042.c: f4 -> i8042 (kbd-data) [154873]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [154876]
> drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [154876]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [154879]
> drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [154879]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [154881]
Keyboard seems to be resumed just fine...
> 20%...40%...60%...80%...100%...done.
> drivers/input/serio/i8042.c: 60 -> i8042 (command) [155414]
> drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [155414]
> drivers/input/serio/i8042.c: d4 -> i8042 (command) [155414]
> drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [155414]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [155417]
> atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86,
> might be trying access hardware directly.
> drivers/input/serio/i8042.c: ab <- i8042 (interrupt, KBD, 1) [155418]
But when we try to talk to mouse port we ket response from the keyboard
and something gets confused.
You can try working around this with "i8042.noaux" kernel boot option,
but we should probably teach i8042 driver to not touch AUX port on resume
if it was disabled.
--
Dmitry
next prev parent reply other threads:[~2005-07-16 6:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-15 2:35 PS/2 Keyboard is dead after resume Andrew Haninger
2005-07-15 5:24 ` Dmitry Torokhov
2005-07-15 11:43 ` Andrew Haninger
2005-07-16 6:35 ` Dmitry Torokhov [this message]
2005-07-16 15:06 ` Andrew Haninger
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=200507160135.39220.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=ahaning@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