Messages in this thread Patch in this message |  | | From | (Miquel van Smoorenburg) | Subject | Linux/AXP keyboard not responding (PATCH) | Date | 23 Jul 1996 12:56:46 +0200 |
| |
After a day (and a night ;)) of playing around, we finally have an Alpha running Linux again (2.0.8). A Jensen...
Anyway, when booted with a 1.3.90 kernel it complains about the keyboard (something like "initialize_kbd: reset kbd failed, not POR") but it works fine. A 2.0.8 kernel also complains but fails to initialize the keyboard completely.
I patched drivers/char/keyboard.c not to just give up after an error; I don't think this breaks anything, it just gives some more errors than usual when there really isn't a keyboard connected. At least now I can use the console keyboard again.
I don't know if this is a Jensen only thing, but the patch is here anyway for those interested:
--- linux/drivers/char/keyboard.c.ORIG Tue Jul 23 02:50:42 1996 +++ linux/drivers/char/keyboard.c Tue Jul 23 02:50:46 1996 @@ -1347,15 +1347,19 @@ if (kbd_wait_for_input() != KBD_ACK) { printk(KERN_WARNING "initialize_kbd: " "reset kbd failed, no ACK.\n"); +#if 0 /* XXX - MvS */ restore_flags(flags); return(-1); +#endif } if (kbd_wait_for_input() != KBD_POR) { printk(KERN_WARNING "initialize_kbd: " "reset kbd failed, not POR.\n"); +#if 0 /* XXX - MvS */ restore_flags(flags); return(-1); +#endif } /* @@ -1365,8 +1369,10 @@ if (kbd_wait_for_input() != KBD_ACK) { printk(KERN_WARNING "initialize_kbd: " "disable kbd failed, no ACK.\n"); +#if 0 /* XXX - MvS */ restore_flags(flags); return(-1); +#endif } /*
Mike. -- Miquel van | Cistron Internet Services -- Alphen aan den Rijn. Smoorenburg, | mailto:info@cistron.nl http://www.cistron.nl/ miquels@het.net | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)
|  |