Messages in this thread | | | Subject | Re: 2.6.3-bk7 i8042 does not work on a genuine i386 ibm ps/2 model 70. | From | (Eric W. Biederman) | Date | 03 Mar 2004 13:30:53 -0700 |
| |
Ok I made time and here is what I found out with respect to 2.4.21 By default 2.4.x does not reset the keyboard so the IBM PowerPC portable work around does not even run.
/* * In case we run on a non-x86 hardware we need to initialize both the * keyboard controller and the keyboard. On a x86, the BIOS will * already have initialized them. * * Some x86 BIOSes do not correctly initialize the keyboard, so the * "kbd-reset" command line options can be given to force a reset. * [Ranger] */ #ifdef __i386__ int kbd_startup_reset __initdata = 0; #else int kbd_startup_reset __initdata = 1; #endif
However I added he kbd-reset command line along with print statements to be certain it happened.
The bit XLAT did not get set. That register stayed at a value of 0x25. The PowerPC portable work around was activated. And my keyboard still worked.
So perhaps the fix then is to attempt to set that bit and if you can't set it assume it is always in the XLAT state?
To be very clear the problem I see on 2.6 is since it sees XLAT disabled it does XLAT in software in drivers/input/keyboard/atkbd.c
Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |