Re: i8042 problem

From: Vojtech Pavlik
Date: Tue Aug 12 2003 - 15:48:06 EST


On Sun, Jul 27, 2003 at 12:47:26PM +0200, Andries Brouwer wrote:

> So, apart from other things you might try, it seems to me that
> changing the timeout in atkbd_sendbyte from the 10000 that is
> there to the 100000 that the comment implies, should help.
>
> Andries
>
>
> - int timeout = 10000; /* 100 msec */
> + int timeout = 100000; /* 100 msec */

Note that we do udelay(10) in the loop, so with this change you're
waiting for a whole second. The timeout might need to be made bigger,
but not that much.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
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/