Re: PROBLEM: PS/2 keyboard does not work with 2.6.15

From: Walt H
Date: Sat Jan 14 2006 - 14:26:51 EST


Alan Stern wrote:

On Sat, 14 Jan 2006, Walt H wrote:

> I've an AMD based SMP setup w/ Chaintech 7KDD motherboard. It's an
> older board, and there are no more recent BIOS updates available
> for me than what I'm running. I've tried enabling/disabling legacy
> USB keyboard/mouse emulation in the BIOS with no change. I'm using
> a USB mouse connected via the OHCI controller in addition to the
> ps/2 keyboard. If I comment out the handoff code in pci-quirks.c
> the keyboard works, even after loading the USB modules. I'm running
> a ck based 2.6.15 kernel BTW.
>
> During bootup with handoff code enabled, I do see a message print
> when PS/2 gets init'd, and I think it is "i8042.c: Can't read CTR
> while initializing i8042", but it scrolls by too fast so I'm not
> positive.
>
> lspci and config attached. Anything else you need? Please CC
> replies to me, as I'm not subscribed. I tried to CC relevant
> people involved, sorry if I missed anyone. Thanks,


What happens if you comment out only the OHCI part of the hand-off
code, or only the EHCI part?

Check dmesg to see exactly what that i8042 message says. Are there
any lines reporting handoff problems in ohci-hcd or ehci-hcd?

Alan Stern




OK. No lines reporting handoff problems in any of the boots. The only boot in which I still have a keyboard is when I comment out the OHCI handoff. I saved dmesg's of all boots, and ran diffs against them. The uncommented handoffs and the EHCI commented handoff are essentially the same (where the OHCI handoff code still executes in both). The relevant (diff'd) sections are:

@@ -153,3 +153,2 @@
-i8042.c: Can't read CTR while initializing i8042.
-pnp: Device 00:09 does not supported disabling.
-pnp: Device 00:08 does not supported disabling.
+serio: i8042 AUX port at 0x60,0x64 irq 12
+serio: i8042 KBD port at 0x60,0x64 irq 1
@@ -219,0 +219 @@
+input: AT Translated Set 2 keyboard as /class/input/input0
@@ -234,0 +235 @@
+input: PS/2 Generic Mouse as /class/input/input1
@@ -268 +269 @@
-input: Logitech USB Mouse as /class/input/input0
+input: Logitech USB Mouse as /class/input/input2

Hope that helps,

-Walt


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/