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

Sascha Wilde
2004-08-13T21:29:20Z

On Thu, Aug 12, 2004 at 07:23:35PM +0200, David N. Welton wrote:
> David N. Welton wrote:
>
> >Sascha, if you want to test it out, try this in i8042_controller_init,
> >at about line 724 (near this: i8042_initial_ctr = i8042_ctr;)
> >
> > {
> > unsigned char pram;
> > pram = (~i8042_ctr) & 0xff ;
> > i8042_command(&pram, I8042_CMD_CTL_WCTR);
> > }
>
> In fact, it's enough to fix the problem on my machine! I can even plug
> the keyboard back in and it works.
>
> --- /home/davidw/linux-2.6.7/drivers/input/serio/i8042.c
> 2004-06-16 07:18
> :57.000000000 +0200
> +++ drivers/input/serio/i8042.c 2004-08-12 19:05:17.000000000 +0200
> @@ -710,6 +710,9 @@
> return -1;
> }
>
> +
> + i8042_ctr = (~i8042_ctr) & 0xff;
> +
> i8042_initial_ctr = i8042_ctr;
>
> Try that and see how it works for you

This works for me too. Thanks!

I hadn't had the time to read the rest of the thread in full detail,
but it seem, that we are geting closer to a solution.

cheers
sascha
--
Sascha Wilde
"Gimme about 10 seconds to think for a minute..."