Re: 2.6 kernel won't reboot on AMD system - 8042 problem?

James Lamanna
2004-08-10T15:40:35Z

Sascha Wilde wrote:
> On Mon, Aug 09, 2004 at 10:28:45AM +0200, David N. Welton wrote:
>

>
> Big question: how was the initialisation of the PS/2 ports managed in
> 2.4.x? Ther seems to be no similar code to i8042.c in it[0], and all I
> have found till now is a bunch ob obscure jump-rables in
> arch/i386/kernel/setup.c ...

Look at drivers/char/pc_keyb.c
That's where the 2.4.x initialization takes place it seems.
It's pretty generic, but it looks like some of the commands are similar
in initialize_kbd() - constants are in include/linux/pc_keyb.h

Pretty much all PC hardware has a i8042-like controller, so I think that
file is the generic PC keyboard startup for i8042-like devices.

Looks like 2.6.x abstracted this a little farther through the serio
layer, so at initialization, the system tries to assign a particular
driver to the serio ports it finds (there are drivers for AT, i8042 (and
variants), etc..)

--
James Lamanna